view libvo/aspect.h @ 17359:2e4a4dfc5d49

1.1186: Merry Christmas and happy cola-chugging! 1.1185: Adds lavc's brd_scale and updates vb_strategy 1.1184: This cache-seek-min is definitly implemented. The not implemented one got removed... 1.1183: The <=132 frame rule is only valid at MacroBlock level not at frame one. Following it gives worse compression even with IP sequence.(B-Frames doesn't accumulate error) 1.1182: reverse the H264 hack 1.1181: fspp update
author kraymer
date Wed, 11 Jan 2006 22:09:55 +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