view libvo/aspect.h @ 3533:6e6a74d2d1ea

Applied the patch from Alban Bedel <albeu@free.fr>. Changed the header parser to handle the ASF header in multiple network chunk.
author bertrand
date Sun, 16 Dec 2001 21:23:36 +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