summaryrefslogtreecommitdiff
path: root/src/libmpeg2/mpeg2_internal.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-09-22 20:29:13 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-09-22 20:29:13 +0000
commitfa11460bbd06540d43ffe53d047f25639a0a6b83 (patch)
tree15c95a55bb4fbb9ea3a586f2bc171a33f787033a /src/libmpeg2/mpeg2_internal.h
parente115a32802f4284912a2833c04c06d65270cfdef (diff)
downloadxine-lib-fa11460bbd06540d43ffe53d047f25639a0a6b83.tar.gz
xine-lib-fa11460bbd06540d43ffe53d047f25639a0a6b83.tar.bz2
- added cropping capability (thanks James Stembridge)
- some vo drivers support cropping natively. (only xv and xvmc have been tested) - add software crop fallback to video_out.c - skip yuv2rgb processing at xshm for not yet cropped frames (these frames are never shown) - libmpeg2 and ffmpeg now may use crop support - bump vo api. (changes to xvmc/xxmc will follow) CVS patchset: 6991 CVS date: 2004/09/22 20:29:13
Diffstat (limited to 'src/libmpeg2/mpeg2_internal.h')
-rw-r--r--src/libmpeg2/mpeg2_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmpeg2/mpeg2_internal.h b/src/libmpeg2/mpeg2_internal.h
index 28bd60645..6ec414789 100644
--- a/src/libmpeg2/mpeg2_internal.h
+++ b/src/libmpeg2/mpeg2_internal.h
@@ -112,6 +112,9 @@ typedef struct picture_s {
/* The width and height of the picture snapped to macroblock units */
int coded_picture_width;
int coded_picture_height;
+
+ /* The width and height as it appears on header sequence */
+ unsigned int display_width, display_height;
/* picture header stuff */