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:
authorHarry Mallon <harry.mallon@codex.online>2020-09-09 17:56:37 +0300
committerTomas Härdin <tjoppen@acc.umu.se>2020-09-17 22:40:25 +0300
commit90e2a4d61bd18b19f91c90e4a071248d4334e735 (patch)
treeb56791b5adc9c0f0bbc0e663f017beed942e2f75 /libavformat/mxf.h
parent7c66d24460a2b6b5984191dd31a5a4761cd62ab3 (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.h11
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;