diff options
author | James Almer <jamrial@gmail.com> | 2023-04-27 16:14:14 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-04-28 20:15:57 -0300 |
commit | df3fd3accd84b12720312fc0b8ec262b3f44486b (patch) | |
tree | 31173b1149e3ea8b98a20f9b82ffe6acc82a1f9c /libavcodec/hevc_ps.h | |
parent | 5564ba49a16f82e3ccb98cd008d824bcbc2ada13 (diff) |
avcodec/hevc_ps: use get_ue_golomb() for some PPS Screen Content Coding extension fields
Also remove the _minus8 part of the name to be in line with the rest of the
decoder, and fix the storage type for pps_palette_predictor_initializer,
to support hbd values.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r-- | libavcodec/hevc_ps.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h index 0c9c278662..8cd99bb161 100644 --- a/libavcodec/hevc_ps.h +++ b/libavcodec/hevc_ps.h @@ -358,9 +358,9 @@ typedef struct HEVCPPS { uint8_t pps_palette_predictor_initializers_present_flag; uint8_t pps_num_palette_predictor_initializers; uint8_t monochrome_palette_flag; - uint8_t luma_bit_depth_entry_minus8; - uint8_t chroma_bit_depth_entry_minus8; - uint8_t pps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE]; + uint8_t luma_bit_depth_entry; + uint8_t chroma_bit_depth_entry; + uint16_t pps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE]; // Inferred parameters unsigned int *column_width; ///< ColumnWidth |