From fa11460bbd06540d43ffe53d047f25639a0a6b83 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 22 Sep 2004 20:29:13 +0000 Subject: - 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 --- src/libmpeg2/mpeg2_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libmpeg2/mpeg2_internal.h') 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 */ -- cgit v1.2.3