Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2018-05-10 08:47:46 +0300
committerMark Thompson <sw@jkqxz.net>2018-05-10 22:55:42 +0300
commit2943dd35b7591b8e84ee8bf2e8dbc78627f36632 (patch)
tree7ef6c60f8c81652f77e29972b50bdd796492da22 /libavcodec/cbs_h265.h
parent345b6962b68b78bd435d1c931935e86008bf309a (diff)
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.h6
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;