2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_ASPECT_H
|
|
|
|
#define MPLAYER_ASPECT_H
|
2001-10-03 14:41:53 +00:00
|
|
|
/* Stuff for correct aspect scaling. */
|
|
|
|
|
2002-06-05 19:35:54 +00:00
|
|
|
extern int vo_panscan_x;
|
|
|
|
extern int vo_panscan_y;
|
|
|
|
extern float vo_panscan_amount;
|
|
|
|
|
2008-12-03 23:01:03 +00:00
|
|
|
void panscan_init(void);
|
|
|
|
void panscan_calc(void);
|
2002-06-05 19:35:54 +00:00
|
|
|
|
2001-10-18 02:42:20 +00:00
|
|
|
void aspect_save_orig(int orgw, int orgh);
|
|
|
|
|
|
|
|
void aspect_save_prescale(int prew, int preh);
|
|
|
|
|
|
|
|
void aspect_save_screenres(int scrw, int scrh);
|
|
|
|
|
|
|
|
#define A_ZOOM 1
|
|
|
|
#define A_NOZOOM 0
|
|
|
|
|
|
|
|
void aspect(int *srcw, int *srch, int zoom);
|
2008-02-07 21:04:17 +00:00
|
|
|
void aspect_fit(int *srcw, int *srch, int fitw, int fith);
|
2001-10-03 14:41:53 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_ASPECT_H */
|