diff h264.h @ 8735:5d7ebbb7e91b libavcodec

Add fields to H264Context and SPS for upcoming VA API support. Patch by Gwenole Beauchesne gbeauchesne A splitted-desktop dotcom
author cehoyos
date Tue, 03 Feb 2009 20:49:02 +0000
parents e9d9d946f213
children 477d1abdd22b
line wrap: on
line diff
--- a/h264.h	Tue Feb 03 17:56:24 2009 +0000
+++ b/h264.h	Tue Feb 03 20:49:02 2009 +0000
@@ -176,6 +176,9 @@
     int time_offset_length;
     int cpb_removal_delay_length;      ///< cpb_removal_delay_length_minus1 + 1
     int dpb_output_delay_length;       ///< dpb_output_delay_length_minus1 + 1
+    int bit_depth_luma;                ///< bit_depth_luma_minus8 + 8
+    int bit_depth_chroma;              ///< bit_depth_chroma_minus8 + 8
+    int residual_color_transform_flag; ///< residual_colour_transform_flag
 }SPS;
 
 /**
@@ -493,6 +496,9 @@
     SEI_PicStructType sei_pic_struct;
 
     int is_complex;
+
+    int luma_weight_flag[2];   ///< 7.4.3.2 luma_weight_lX_flag
+    int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag
 }H264Context;
 
 #endif /* AVCODEC_H264_H */