summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-22 23:20:34 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:48:16 +0800
commitbbedeee6009ad5bb907e1b8b97affe3553f6f292 (patch)
treeed25e222de7ea7597dbc77644fb4ae63d450a0c9
parentef9937d435e6cca985a94a5e2c4effb4c4502601 (diff)
downloadlibva-bbedeee6009ad5bb907e1b8b97affe3553f6f292.tar.gz
Note flags which have been renamed in the H.264 standard
residual_colour_transform_flag and pic_order_present_flag have different names in newer versions of the H.264 standard, so add a comment with the new name to reduce confusion. Signed-off-by: Mark Thompson <sw@jkqxz.net>
-rw-r--r--va/va.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/va/va.h b/va/va.h
index 6c71eb8..8eff94f 100644
--- a/va/va.h
+++ b/va/va.h
@@ -2042,7 +2042,7 @@ typedef struct _VAPictureParameterBufferH264
union {
struct {
unsigned int chroma_format_idc : 2;
- unsigned int residual_colour_transform_flag : 1;
+ unsigned int residual_colour_transform_flag : 1; /* Renamed to separate_colour_plane_flag in newer standard versions. */
unsigned int gaps_in_frame_num_value_allowed_flag : 1;
unsigned int frame_mbs_only_flag : 1;
unsigned int mb_adaptive_frame_field_flag : 1;
@@ -2071,7 +2071,7 @@ typedef struct _VAPictureParameterBufferH264
unsigned int transform_8x8_mode_flag : 1;
unsigned int field_pic_flag : 1;
unsigned int constrained_intra_pred_flag : 1;
- unsigned int pic_order_present_flag : 1;
+ unsigned int pic_order_present_flag : 1; /* Renamed to bottom_field_pic_order_in_frame_present_flag in newer standard versions. */
unsigned int deblocking_filter_control_present_flag : 1;
unsigned int redundant_pic_cnt_present_flag : 1;
unsigned int reference_pic_flag : 1; /* nal_ref_idc != 0 */