2008-02-22 10:09:46 +01:00
|
|
|
#ifndef MPLAYER_ASPECT_H
|
|
|
|
#define MPLAYER_ASPECT_H
|
2001-10-03 16:41:53 +02:00
|
|
|
/* Stuff for correct aspect scaling. */
|
|
|
|
|
2002-06-05 21:35:54 +02:00
|
|
|
extern int vo_panscan_x;
|
|
|
|
extern int vo_panscan_y;
|
|
|
|
extern float vo_panscan_amount;
|
|
|
|
|
|
|
|
extern void panscan_init( void );
|
|
|
|
extern void panscan_calc( void );
|
|
|
|
|
2001-10-18 04:42:20 +02: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 22:04:17 +01:00
|
|
|
void aspect_fit(int *srcw, int *srch, int fitw, int fith);
|
2001-10-03 16:41:53 +02:00
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#endif /* MPLAYER_ASPECT_H */
|