diff options
author | Harry Mallon <harry.mallon@codex.online> | 2020-09-09 15:56:37 +0100 |
---|---|---|
committer | Tomas Härdin <tjoppen@acc.umu.se> | 2020-09-17 21:40:25 +0200 |
commit | 90e2a4d61bd18b19f91c90e4a071248d4334e735 (patch) | |
tree | b56791b5adc9c0f0bbc0e663f017beed942e2f75 /libavformat/mxf.h | |
parent | 7c66d24460a2b6b5984191dd31a5a4761cd62ab3 (diff) |
avformat/mxfdec: Read Mastering Display Colour Volume from MXF
Described in Annex B SMPTE ST 2067-21:2020
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Diffstat (limited to 'libavformat/mxf.h')
-rw-r--r-- | libavformat/mxf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/mxf.h b/libavformat/mxf.h index fc587f19f0..7fa10bcca1 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -78,6 +78,17 @@ typedef enum { RawVWrap } MXFWrappingIndicatorType; +typedef struct MXFLocalTagPair { + int local_tag; + UID uid; +} MXFLocalTagPair; + +extern const uint8_t ff_mxf_mastering_display_prefix[13]; +extern const MXFLocalTagPair ff_mxf_mastering_display_local_tags[4]; + +#define FF_MXF_MASTERING_CHROMA_DEN 50000 +#define FF_MXF_MASTERING_LUMA_DEN 10000 + typedef struct MXFCodecUL { UID uid; unsigned matching_len; |