diff mpegvideo.h @ 2537:14fef0f3f532 libavcodec

H.264: decode arbitrary frame orders and allow B-frames as references.
author lorenm
date Fri, 04 Mar 2005 12:47:38 +0000
parents 18b8b2dcc037
children 511e3afc43e1
line wrap: on
line diff
--- a/mpegvideo.h	Thu Mar 03 12:12:44 2005 +0000
+++ b/mpegvideo.h	Fri Mar 04 12:47:38 2005 +0000
@@ -173,6 +173,8 @@
     int frame_num;              ///< h264 frame_num
     int pic_id;                 ///< h264 pic_num or long_term_pic_idx
     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
 
     int mb_var_sum;             ///< sum of MB variance for current frame 
     int mc_mb_var_sum;          ///< motion compensated MB variance for current frame