From bcc3476c984ad3e74757205aa8e6bcf8716aac08 Mon Sep 17 00:00:00 2001 From: Jeff Downs Date: Tue, 2 Oct 2007 14:25:47 +0000 Subject: [PATCH] Cosmetic preparations for h264/PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10645 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 10 ++++++---- libavcodec/mpegvideo.h | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 8dd6cdd..0fd28ad 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -84,8 +84,8 @@ typedef struct SPS{ int poc_cycle_length; ///< num_ref_frames_in_pic_order_cnt_cycle int ref_frame_count; ///< num_ref_frames int gaps_in_frame_num_allowed_flag; - int mb_width; ///< frame_width_in_mbs_minus1 + 1 - int mb_height; ///< frame_height_in_mbs_minus1 + 1 + int mb_width; ///< pic_width_in_mbs_minus1 + 1 + int mb_height; ///< pic_height_in_map_units_minus1 + 1 int frame_mbs_only_flag; int mb_aff; /// no wrap version of pic_num, + pic_num & max_pic_num; long -> long_pic_num) */ int long_ref; ///< 1->long term reference 0->short term reference int ref_poc[2][16]; ///< h264 POCs of the frames used as reference int ref_count[2]; ///< number of entries in ref_poc -- 2.7.4