view libvo/aspect.h @ 6535:29f94210a67f

IF09 is alias for YVU9 (actually it has extra 4th plane containing MC change flags, but it doesn't matter for now) - IF09 is supported by win32 Indeo codecs and by some others too
author arpi
date Sun, 23 Jun 2002 19:30:35 +0000
parents 72c87b2ec779
children 3f0d00abc073
line wrap: on
line source

#ifndef __ASPECT_H
#define __ASPECT_H
/* Stuff for correct aspect scaling. */

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 );

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);

#endif