comparison mpegvideo.h @ 7462:5cbf11f56c02 libavcodec

Picture.ref_count/ref_poc have to be stored per field (actually also per slice but thats a seperate bug) Fixes at least: CABREF3_Sand_D.264 camp_mot_fld0_full.26l CVFI2_Sony_H.jsv CVNLFI2_Sony_H.jsv
author michael
date Sat, 02 Aug 2008 23:13:27 +0000
parents 167bd4bec8d1
children c4a4495715dd
comparison
equal deleted inserted replaced
7461:5bcf597a321c 7462:5cbf11f56c02
116 int poc; ///< h264 frame POC 116 int poc; ///< h264 frame POC
117 int frame_num; ///< h264 frame_num (raw frame_num from slice header) 117 int frame_num; ///< h264 frame_num (raw frame_num from slice header)
118 int pic_id; /**< h264 pic_num (short -> no wrap version of pic_num, 118 int pic_id; /**< h264 pic_num (short -> no wrap version of pic_num,
119 pic_num & max_pic_num; long -> long_pic_num) */ 119 pic_num & max_pic_num; long -> long_pic_num) */
120 int long_ref; ///< 1->long term reference 0->short term reference 120 int long_ref; ///< 1->long term reference 0->short term reference
121 int ref_poc[2][16]; ///< h264 POCs of the frames used as reference 121 int ref_poc[2][2][16]; ///< h264 POCs of the frames used as reference (FIXME need per slice)
122 int ref_count[2]; ///< number of entries in ref_poc 122 int ref_count[2][2]; ///< number of entries in ref_poc (FIXME need per slice)
123 123
124 int mb_var_sum; ///< sum of MB variance for current frame 124 int mb_var_sum; ///< sum of MB variance for current frame
125 int mc_mb_var_sum; ///< motion compensated MB variance for current frame 125 int mc_mb_var_sum; ///< motion compensated MB variance for current frame
126 uint16_t *mb_var; ///< Table for MB variances 126 uint16_t *mb_var; ///< Table for MB variances
127 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances 127 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances