1
mirror of https://github.com/mpv-player/mpv synced 2024-09-09 01:16:56 +02:00
mpv/libvo/aspect.h
atmos4 14fe0175c0 Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2250 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-18 02:42:20 +00:00

18 lines
311 B
C

#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