From: Jonathan Bian <[email protected]>

Signed-off-by: Jonathan Bian <[email protected]>
---
 va/va_enc_h264.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/va/va_enc_h264.h b/va/va_enc_h264.h
index 974e7dc..ae14cb5 100644
--- a/va/va_enc_h264.h
+++ b/va/va_enc_h264.h
@@ -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;
-- 
1.7.4.1

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to