view libvo/aspect.h @ 4911:6078b7894e20

Native Cinepak decoder: Added YV12 support (which is so very close to working), reworked YUY2 support for speed, cleaned up compiler warnings, replaced printf()'s with mp_msg()'s
author melanson
date Sat, 02 Mar 2002 06:40:26 +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