diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-04 19:49:35 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-04 19:49:35 +0300 |
commit | 0e1b7765be878491565cf5e471f22b15e106164c (patch) | |
tree | 422e500c289335182a2a64934dcabf10b95e32dc /libvo/aspect.h | |
parent | a9618c1c6fe9424dfaeb1677348e0382d7252554 (diff) | |
parent | dcfd043ea8d0c46929aad78596314d837c290d39 (diff) | |
download | mpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.bz2 mpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.xz |
Merge svn changes up to r29644
Diffstat (limited to 'libvo/aspect.h')
-rw-r--r-- | libvo/aspect.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/aspect.h b/libvo/aspect.h index 89839e2c94..07f928a9ff 100644 --- a/libvo/aspect.h +++ b/libvo/aspect.h @@ -23,6 +23,7 @@ struct vo; void panscan_init(struct vo *vo); void panscan_calc(struct vo *vo); +void panscan_calc_windowed(struct vo *vo); void aspect_save_orig(struct vo *vo, int orgw, int orgh); @@ -30,6 +31,7 @@ void aspect_save_prescale(struct vo *vo, int prew, int preh); void aspect_save_screenres(struct vo *vo, int scrw, int scrh); +#define A_WINZOOM 2 ///< zoom to fill window size #define A_ZOOM 1 #define A_NOZOOM 0 @@ -45,6 +47,7 @@ void aspect_fit(struct vo *vo, int *srcw, int *srch, int fitw, int fith); #define panscan_init() panscan_init(global_vo) #define panscan_calc() panscan_calc(global_vo) +#define panscan_calc_windowed() panscan_calc_windowed(global_vo) #define aspect_save_orig(...) aspect_save_orig(global_vo, __VA_ARGS__) #define aspect_save_prescale(...) aspect_save_prescale(global_vo, __VA_ARGS__) #define aspect_save_screenres(...) aspect_save_screenres(global_vo, __VA_ARGS__) |