view libvo/aspect.h @ 5547:92329b5f6ff3

Some minor changes to the avcodec code. (Michael, perhaps you could explain to me why avc_ctx->quality = 1 produces unwatachable output, and when using gop_size = 0 or 1 (intra) video will disappear after seeking)
author mswitch
date Wed, 10 Apr 2002 16:03:08 +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