aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_sei.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-26 20:12:58 -0300
committerJames Almer <jamrial@gmail.com>2024-06-28 13:16:57 -0300
commite0b574c483db05c5e2e7be22e9f1206f3423c38b (patch)
tree9302399f1875b0c51fd83c579e74e12c23e44089 /libavcodec/cbs_sei.h
parent826f55d5b3dd3895caf5aeb4da5458cd2f80e192 (diff)
downloadffmpeg-e0b574c483db05c5e2e7be22e9f1206f3423c38b.tar.gz
avcodec/cbs_h266: move decoded_picture_hash to CBS SEI
It's defined in H.274 as a common SEI message type and not in H.266 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_sei.h')
-rw-r--r--libavcodec/cbs_sei.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/cbs_sei.h b/libavcodec/cbs_sei.h
index cc7d6f797d..15ef3415ab 100644
--- a/libavcodec/cbs_sei.h
+++ b/libavcodec/cbs_sei.h
@@ -63,6 +63,16 @@ typedef struct SEIRawFramePackingArrangement {
uint8_t fp_upsampled_aspect_ratio_flag;
} SEIRawFramePackingArrangement;
+typedef struct SEIRawDecodedPictureHash {
+ uint8_t dph_sei_hash_type;
+ uint8_t dph_sei_single_component_flag;
+ uint8_t dph_sei_picture_md5[3][16];
+ uint16_t dph_sei_picture_crc[3];
+ uint32_t dph_sei_picture_checksum[3];
+
+ uint8_t dph_sei_reserved_zero_7bits;
+} SEIRawDecodedPictureHash;
+
typedef struct SEIRawMasteringDisplayColourVolume {
uint16_t display_primaries_x[3];
uint16_t display_primaries_y[3];