view libvo/aspect.h @ 22096:076ff9697bc7

r21959: Apply ancient double-click patch that nobody cares to comment on. r21989: fix typo r22008: Address age-old FIXMEs about tdfx_vid, tdfxfb and 3dfx vo drivers. r22014: Clarify -delay. r22016: Remove confusing line about forcing MP3 demuxing. r22060: describe -psprobe r22061: typo, new sentences on lines of their own r22113: insert line break for readability
author kraymer
date Sat, 03 Feb 2007 18:51:30 +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