summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_sei.h
diff options
context:
space:
mode:
authorMohammad Izadi <izadi@google.com>2020-11-23 13:29:34 -0800
committerJames Almer <jamrial@gmail.com>2020-12-05 19:19:54 -0300
commitafbc6852b439005b546d8067f35cf65b1dddb8ac (patch)
treebe1ad56d27344c9546efc91a76cfde58fdb3ff4e /libavcodec/hevc_sei.h
parent530d1dbcef6b8de4e506e4248a313ba729dfdf4f (diff)
downloadffmpeg-afbc6852b439005b546d8067f35cf65b1dddb8ac.tar.gz
avcodec/hevc_sei: add support for HDR10+ metadata
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_sei.h')
-rw-r--r--libavcodec/hevc_sei.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/hevc_sei.h b/libavcodec/hevc_sei.h
index 5ee7a4796d..e9e2d46ed4 100644
--- a/libavcodec/hevc_sei.h
+++ b/libavcodec/hevc_sei.h
@@ -104,6 +104,10 @@ typedef struct HEVCSEIMasteringDisplay {
uint32_t min_luminance;
} HEVCSEIMasteringDisplay;
+typedef struct HEVCSEIDynamicHDRPlus {
+ AVBufferRef *info;
+} HEVCSEIDynamicHDRPlus;
+
typedef struct HEVCSEIContentLight {
int present;
uint16_t max_content_light_level;
@@ -143,6 +147,7 @@ typedef struct HEVCSEI {
HEVCSEIA53Caption a53_caption;
HEVCSEIUnregistered unregistered;
HEVCSEIMasteringDisplay mastering_display;
+ HEVCSEIDynamicHDRPlus dynamic_hdr_plus;
HEVCSEIContentLight content_light;
int active_seq_parameter_set_id;
HEVCSEIAlternativeTransfer alternative_transfer;