diff options
author | Steve Lhomme <robux4@gmail.com> | 2017-04-03 09:29:46 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-06 11:38:15 -0300 |
commit | 157e57a1810c6783779b046c1817a4f9737b2cb3 (patch) | |
tree | 8aa1bc2141c029a3381d894ada77ccee16fd29da /libavcodec/avcodec.h | |
parent | b378f5bd640177801681479ddb9fe80ececd9cf8 (diff) | |
download | ffmpeg-157e57a1810c6783779b046c1817a4f9737b2cb3.tar.gz |
lavc: Add Content Light Level side metadata found in HEVC
These data are necessary when transmitting HDR over HDMI.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f6bd90baff..bffc169881 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1584,6 +1584,13 @@ enum AVPacketSideDataType { * to the AVSphericalMapping structure. */ AV_PKT_DATA_SPHERICAL, + + /** + * Content light level (based on CTA-861.3). This metadata should be + * associated with a video stream and containts data in the form of the + * AVContentLightMetadata struct. + */ + AV_PKT_DATA_CONTENT_LIGHT_LEVEL, }; #define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED |