diff options
author | James Almer <jamrial@gmail.com> | 2019-05-26 15:40:35 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-06-03 19:21:38 -0300 |
commit | ff2a638c83161b2b5d15acca494436922b389d51 (patch) | |
tree | 6184f28bde206c4bffd5f4743f4d5a55dd2be110 /libavcodec/cbs_h264.h | |
parent | 2880a32c668023bfee4745095c885450d547ae45 (diff) | |
download | ffmpeg-ff2a638c83161b2b5d15acca494436922b389d51.tar.gz |
avcodec/cbs_h264: add support for Alternative Transfer Characteristics SEI message
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h264.h')
-rw-r--r-- | libavcodec/cbs_h264.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/cbs_h264.h b/libavcodec/cbs_h264.h index cc46eeb3b0..a31be298ba 100644 --- a/libavcodec/cbs_h264.h +++ b/libavcodec/cbs_h264.h @@ -314,6 +314,10 @@ typedef struct H264RawSEIMasteringDisplayColourVolume { uint32_t min_display_mastering_luminance; } H264RawSEIMasteringDisplayColourVolume; +typedef struct H264RawSEIAlternativeTransferCharacteristics { + uint8_t preferred_transfer_characteristics; +} H264RawSEIAlternativeTransferCharacteristics; + typedef struct H264RawSEIPayload { uint32_t payload_type; uint32_t payload_size; @@ -327,6 +331,8 @@ typedef struct H264RawSEIPayload { H264RawSEIRecoveryPoint recovery_point; H264RawSEIDisplayOrientation display_orientation; H264RawSEIMasteringDisplayColourVolume mastering_display_colour_volume; + H264RawSEIAlternativeTransferCharacteristics + alternative_transfer_characteristics; struct { uint8_t *data; size_t data_length; |