OSDN Git Service

Note flags which have been renamed in the H.264 standard
authorMark Thompson <sw@jkqxz.net>
Thu, 22 Jun 2017 22:20:34 +0000 (23:20 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 27 Sep 2017 04:48:16 +0000 (12:48 +0800)
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>
va/va.h

diff --git a/va/va.h b/va/va.h
index 6c71eb8..8eff94f 100644 (file)
--- 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 */