view libvo/aspect.h @ 3728:499ce786c30d

As nobody fixed this yet: "tv.c: In function stream_open_tv': tv.c:107: warning: return' with no value, in function returning non-void" According to libmpdemux/open.c 0 is an error so I guess it should return 0 if it fails :)
author pl
date Tue, 25 Dec 2001 11:45:04 +0000
parents 48f0ac1e9d13
children 72c87b2ec779
line wrap: on
line source

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

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