diff options
author | Jan Ekström <jeebjp@gmail.com> | 2023-01-09 22:49:49 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2023-01-13 20:53:02 +0200 |
commit | f4bebc0c34b6aeac011adfdc6fdbbfc939ac5a64 (patch) | |
tree | a77469891586bd2b567a4048d300a1bc231143a4 /libavcodec/cbs_sei.h | |
parent | d3538dd293125e0a8d135ffe229c8b441345d833 (diff) | |
download | ffmpeg-f4bebc0c34b6aeac011adfdc6fdbbfc939ac5a64.tar.gz |
avcodec/cbs_{h2645,sei}: add support for Ambient Viewing Environment SEI
Defined by H.274, this SEI message is utilized by iPhones to save
the nominal ambient viewing environment for the display of recorded
HDR content.
Diffstat (limited to 'libavcodec/cbs_sei.h')
-rw-r--r-- | libavcodec/cbs_sei.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/cbs_sei.h b/libavcodec/cbs_sei.h index c7a7a95be0..1c327a4689 100644 --- a/libavcodec/cbs_sei.h +++ b/libavcodec/cbs_sei.h @@ -65,6 +65,12 @@ typedef struct SEIRawAlternativeTransferCharacteristics { uint8_t preferred_transfer_characteristics; } SEIRawAlternativeTransferCharacteristics; +typedef struct SEIRawAmbientViewingEnvironment { + uint32_t ambient_illuminance; + uint16_t ambient_light_x; + uint16_t ambient_light_y; +} SEIRawAmbientViewingEnvironment; + typedef struct SEIRawMessage { uint32_t payload_type; uint32_t payload_size; |