summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 11:02:26 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 11:02:26 +0300
commitc172b5355f2a0fa008fd5187ce323fb9676871b3 (patch)
treeed2b3dbfdbaa3f30fe1dda413df1b8f0eac32aa3 /libvo/video_out.h
parent91b3d6a95568eec8a927e488c103e5ba1136e021 (diff)
downloadmpv-c172b5355f2a0fa008fd5187ce323fb9676871b3.tar.bz2
mpv-c172b5355f2a0fa008fd5187ce323fb9676871b3.tar.xz
libvo: Move aspect.c static variables to vo struct
This moves non-option variables. aspect.c still defines option globals.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 4e9f3abeae..174911c9d2 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -221,6 +221,20 @@ struct vo {
int dy;
int dwidth;
int dheight;
+
+ int panscan_x;
+ int panscan_y;
+ float panscan_amount;
+ float monitor_aspect;
+ struct aspect_data {
+ int orgw; // real width
+ int orgh; // real height
+ int prew; // prescaled width
+ int preh; // prescaled height
+ int scrw; // horizontal resolution
+ int scrh; // vertical resolution
+ float asp;
+ } aspdat;
};
struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11,