[Libva] [libva PATCH] HEVC: type delta_chroma_log2_weight_denom as int8_t to match the spec
Xiang, Haihao
haihao.xiang at intel.com
Wed Apr 22 18:35:18 PDT 2015
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
va/va_dec_hevc.h | 2 +-
va/va_enc_hevc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/va/va_dec_hevc.h b/va/va_dec_hevc.h
index 27715b7..860f5ad 100644
--- a/va/va_dec_hevc.h
+++ b/va/va_dec_hevc.h
@@ -337,7 +337,7 @@ typedef struct _VASliceParameterBufferHEVC
/** HEVC syntax element. */
uint8_t luma_log2_weight_denom;
/** HEVC syntax element. */
- uint8_t delta_chroma_log2_weight_denom;
+ int8_t delta_chroma_log2_weight_denom;
/** HEVC syntax element. */
int8_t delta_luma_weight_l0[15];
/** HEVC syntax element. */
diff --git a/va/va_enc_hevc.h b/va/va_enc_hevc.h
index e91c4f6..247f5fc 100644
--- a/va/va_enc_hevc.h
+++ b/va/va_enc_hevc.h
@@ -564,7 +564,7 @@ typedef struct _VAEncSliceParameterBufferHEVC {
/** \brief Same as the HEVC bitstream syntax element. */
uint8_t luma_log2_weight_denom;
/** \brief Same as the HEVC bitstream syntax element. */
- uint8_t delta_chroma_log2_weight_denom;
+ int8_t delta_chroma_log2_weight_denom;
/** \brief Same as the HEVC bitstream syntax element. */
int8_t delta_luma_weight_l0[15];
/** \brief Same as the HEVC bitstream syntax element. */
--
1.9.1
More information about the Libva
mailing list