view libvo/aspect.h @ 22890:3a738b9f35f1

r22845: Clarify -xineramascreen -2 behaviour r22900: documented -mpegopts :adelay r22901: removed unexplainable and escaped trailing spaces from -mpegopts :drop and :tsaf r22902: restored previous definition of -mpegopts :drop and :tsaf (r22900); they were there for a good reason
author voroshil
date Tue, 03 Apr 2007 15:59: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