diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-02-03 20:49:02 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-02-03 20:49:02 +0000 |
commit | cb99c652eb271098ccffbe416f38f589032e3d82 (patch) | |
tree | b8f1f78267ff93e330a6a973b9fb3e500e4c2194 /libavcodec/h264.h | |
parent | 25a03ba358fe9c9805146b34863e928212e09961 (diff) | |
download | ffmpeg-cb99c652eb271098ccffbe416f38f589032e3d82.tar.gz |
Add fields to H264Context and SPS for upcoming VA API support.
Patch by Gwenole Beauchesne gbeauchesne A splitted-desktop dotcom
Originally committed as revision 16976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 21fe4d6e90..8bbf84f2c2 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -176,6 +176,9 @@ typedef struct SPS{ 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 @@ typedef struct H264Context{ 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 */ |