hardware/intel/libva
Révision | 2d8818a45c9358f399ef234ea618f57c933a623a (tree) |
---|---|
l'heure | 2009-09-01 07:21:48 |
Auteur | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Austin Yuan |
Add new H.264 fields for XvBA backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -925,7 +925,8 @@ typedef struct _VAPictureParameterBufferH264 | ||
925 | 925 | union { |
926 | 926 | struct { |
927 | 927 | unsigned char chroma_format_idc : 2; |
928 | - unsigned char residual_colour_transform_flag : 1; | |
928 | + unsigned char residual_colour_transform_flag : 1; | |
929 | + unsigned int gaps_in_frame_num_value_allowed_flag : 1; | |
929 | 930 | unsigned char frame_mbs_only_flag : 1; |
930 | 931 | unsigned char mb_adaptive_frame_field_flag : 1; |
931 | 932 | unsigned char direct_8x8_inference_flag : 1; |
@@ -939,7 +940,9 @@ typedef struct _VAPictureParameterBufferH264 | ||
939 | 940 | } seq_fields; |
940 | 941 | unsigned char num_slice_groups_minus1; |
941 | 942 | unsigned char slice_group_map_type; |
943 | + unsigned short slice_group_change_rate_minus1; | |
942 | 944 | signed char pic_init_qp_minus26; |
945 | + signed char pic_init_qs_minus26; | |
943 | 946 | signed char chroma_qp_index_offset; |
944 | 947 | signed char second_chroma_qp_index_offset; |
945 | 948 | union { |
@@ -953,6 +956,7 @@ typedef struct _VAPictureParameterBufferH264 | ||
953 | 956 | unsigned int pic_order_present_flag : 1; |
954 | 957 | unsigned int deblocking_filter_control_present_flag : 1; |
955 | 958 | unsigned int redundant_pic_cnt_present_flag : 1; |
959 | + unsigned int reference_pic_flag : 1; /* nal_ref_idc != 0 */ | |
956 | 960 | } bits; |
957 | 961 | unsigned char value; |
958 | 962 | } pic_fields; |