diff options
author | Harry Mallon <harry.mallon@codex.online> | 2020-07-31 11:09:54 +0100 |
---|---|---|
committer | Tomas Härdin <tjoppen@acc.umu.se> | 2020-08-06 12:52:34 +0200 |
commit | 7031a7beae5af7648c885e05435f179beb00d4d2 (patch) | |
tree | accfb71311fb7c20efb4e879f4ed3e33fa1a9a50 /libavformat/mxf.h | |
parent | cc6c56f5d900f86167f6592215e613a69341858a (diff) | |
download | ffmpeg-7031a7beae5af7648c885e05435f179beb00d4d2.tar.gz |
avformat/mxfdec: Read color metadata from MXF
Reads color_primaries, color_trc and color_space from mxf
headers. ULs are from https://registry.smpte-ra.org/ site.
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Diffstat (limited to 'libavformat/mxf.h')
-rw-r--r-- | libavformat/mxf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mxf.h b/libavformat/mxf.h index f2fff2781e..fc587f19f0 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -91,6 +91,9 @@ extern const MXFCodecUL ff_mxf_data_definition_uls[]; extern const MXFCodecUL ff_mxf_codec_uls[]; extern const MXFCodecUL ff_mxf_pixel_format_uls[]; extern const MXFCodecUL ff_mxf_codec_tag_uls[]; +extern const MXFCodecUL ff_mxf_color_primaries_uls[]; +extern const MXFCodecUL ff_mxf_color_trc_uls[]; +extern const MXFCodecUL ff_mxf_color_space_uls[]; int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum AVPixelFormat *pix_fmt); int ff_mxf_get_content_package_rate(AVRational time_base); |