diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2018-05-10 13:47:46 +0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-05-10 20:55:42 +0100 |
commit | 2943dd35b7591b8e84ee8bf2e8dbc78627f36632 (patch) | |
tree | 7ef6c60f8c81652f77e29972b50bdd796492da22 /libavcodec/cbs_h265.h | |
parent | 345b6962b68b78bd435d1c931935e86008bf309a (diff) | |
download | ffmpeg-2943dd35b7591b8e84ee8bf2e8dbc78627f36632.tar.gz |
cbs_h265: read/write content light level information SEI message
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/cbs_h265.h')
-rw-r--r-- | libavcodec/cbs_h265.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/cbs_h265.h b/libavcodec/cbs_h265.h index 983357e383..cca1d7590b 100644 --- a/libavcodec/cbs_h265.h +++ b/libavcodec/cbs_h265.h @@ -533,11 +533,17 @@ typedef struct H265RawSEIMasteringDisplayColourVolume { uint32_t min_display_mastering_luminance; } H265RawSEIMasteringDisplayColourVolume; +typedef struct H265RawSEIContentLightLevelInfo { + uint16_t max_content_light_level; + uint16_t max_pic_average_light_level; +} H265RawSEIContentLightLevelInfo; + typedef struct H265RawSEIPayload { uint32_t payload_type; uint32_t payload_size; union { H265RawSEIMasteringDisplayColourVolume mastering_display; + H265RawSEIContentLightLevelInfo content_light_level; struct { uint8_t *data; size_t data_length; |