Added aspect ratio related fields to VAEncSequenceParameterBufferH264
authorJonathan Bian <jonathan.bian@intel.com>
Sat, 3 Mar 2012 00:29:41 +0000 (16:29 -0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:19:09 +0000 (16:19 +0800)
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
va/va_enc_h264.h

index 974e7dc..ae14cb5 100644 (file)
@@ -231,6 +231,8 @@ typedef struct _VAEncSequenceParameterBufferH264 {
     union {
         struct {
             /** \brief Same as the H.264 bitstream syntax element. */
+            unsigned int aspect_ratio_info_present_flag         : 1;
+            /** \brief Same as the H.264 bitstream syntax element. */
             unsigned int timing_info_present_flag               : 1;
             /** \brief Same as the H.264 bitstream syntax element. */
             unsigned int bitstream_restriction_flag             : 1;
@@ -242,6 +244,12 @@ typedef struct _VAEncSequenceParameterBufferH264 {
         unsigned int value;
     } vui_fields;
     /** \brief Same as the H.264 bitstream syntax element. */
+    unsigned char   aspect_ratio_idc;
+    /** \brief Same as the H.264 bitstream syntax element. */
+    unsigned int    sar_width;
+    /** \brief Same as the H.264 bitstream syntax element. */
+    unsigned int    sar_height;
+    /** \brief Same as the H.264 bitstream syntax element. */
     unsigned int    num_units_in_tick;
     /** \brief Same as the H.264 bitstream syntax element. */
     unsigned int    time_scale;