OSDN Git Service

HEVC: type delta_chroma_log2_weight_denom as int8_t to match the spec
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 23 Apr 2015 01:35:18 +0000 (09:35 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 29 Apr 2015 08:04:16 +0000 (16:04 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 612fc3824158278336e6eb36d9af8028b839a569)

va/va_dec_hevc.h
va/va_enc_hevc.h

index 27715b7..860f5ad 100644 (file)
@@ -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. */
index c5ec795..9264eab 100644 (file)
@@ -563,7 +563,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. */