summaryrefslogtreecommitdiff
path: root/va/va_dec_hevc.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2017-09-11 16:46:10 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:49:34 +0800
commit98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e (patch)
tree3783f80d10b5effa5108553b747f85eedd6ba46c /va/va_dec_hevc.h
parent0fd48763d9f5f0ad73b208fe90516344683fb872 (diff)
downloadlibva-98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e.tar.gz
Add reserved bytes to most structures
The reserved bytest must be set to 0, then we can add new fields to those structures in future without worrying about the API compatibility too much. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va/va_dec_hevc.h')
-rw-r--r--va/va_dec_hevc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/va/va_dec_hevc.h b/va/va_dec_hevc.h
index 3c10121..0bbe616 100644
--- a/va/va_dec_hevc.h
+++ b/va/va_dec_hevc.h
@@ -190,6 +190,8 @@ typedef struct _VAPictureParameterBufferHEVC
*/
uint32_t st_rps_bits;
+ /** \brief Reserved bytes for future use, must be zero */
+ uint32_t va_reserved[VA_PADDING_MEDIUM];
} VAPictureParameterBufferHEVC;
/**
@@ -321,6 +323,8 @@ typedef struct _VASliceParameterBufferHEVC
uint8_t five_minus_max_num_merge_cand;
/**@}*/
+ /** \brief Reserved bytes for future use, must be zero */
+ uint32_t va_reserved[VA_PADDING_LOW];
} VASliceParameterBufferHEVC;
@@ -379,6 +383,9 @@ typedef struct _VAIQMatrixBufferHEVC
* with sizeID = 3 and matrixID in the range of 0 to 1, inclusive.
*/
uint8_t ScalingListDC32x32[2];
+
+ /** \brief Reserved bytes for future use, must be zero */
+ uint32_t va_reserved[VA_PADDING_LOW];
} VAIQMatrixBufferHEVC;