diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-18 02:42:20 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-18 02:42:20 +0000 |
commit | 14fe0175c05de7e246e7674740209f19ebe4f5e1 (patch) | |
tree | cef2ab06a3c3435184c798b0b54b5c2ba89d8f22 /libvo/aspect.h | |
parent | 50f2513fc8d4017a4b4a8a97dcfda2a545979f52 (diff) | |
download | mpv-14fe0175c05de7e246e7674740209f19ebe4f5e1.tar.bz2 mpv-14fe0175c05de7e246e7674740209f19ebe4f5e1.tar.xz |
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
Diffstat (limited to 'libvo/aspect.h')
-rw-r--r-- | libvo/aspect.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libvo/aspect.h b/libvo/aspect.h index d16f196afd..eac6d1cdd0 100644 --- a/libvo/aspect.h +++ b/libvo/aspect.h @@ -2,7 +2,16 @@ #define __ASPECT_H /* Stuff for correct aspect scaling. */ -void aspect(int *srcw, int *srch, int fitinw, int fitinh); +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 |