aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarry Mallon <harry.mallon@codex.online>2020-07-31 11:09:54 +0100
committerTomas Härdin <tjoppen@acc.umu.se>2020-08-06 12:52:34 +0200
commit7031a7beae5af7648c885e05435f179beb00d4d2 (patch)
treeaccfb71311fb7c20efb4e879f4ed3e33fa1a9a50 /tests
parentcc6c56f5d900f86167f6592215e613a69341858a (diff)
downloadffmpeg-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 'tests')
-rw-r--r--tests/ref/fate/mxf-d10-user-comments2
-rw-r--r--tests/ref/fate/mxf-opatom-user-comments2
-rw-r--r--tests/ref/fate/mxf-probe-d102
-rw-r--r--tests/ref/fate/mxf-probe-dnxhd4
-rw-r--r--tests/ref/fate/mxf-probe-dv252
-rw-r--r--tests/ref/fate/mxf-reel_name2
-rw-r--r--tests/ref/fate/mxf-user-comments2
7 files changed, 8 insertions, 8 deletions
diff --git a/tests/ref/fate/mxf-d10-user-comments b/tests/ref/fate/mxf-d10-user-comments
index e78765020c..de4f26c6f8 100644
--- a/tests/ref/fate/mxf-d10-user-comments
+++ b/tests/ref/fate/mxf-d10-user-comments
@@ -1 +1 @@
-b659c1204f8d04e2a5607af083590dca
+68f0fa62b6a676894afbbe4c34ebf70b
diff --git a/tests/ref/fate/mxf-opatom-user-comments b/tests/ref/fate/mxf-opatom-user-comments
index 1834b9e074..90e3fb229a 100644
--- a/tests/ref/fate/mxf-opatom-user-comments
+++ b/tests/ref/fate/mxf-opatom-user-comments
@@ -1 +1 @@
-892cf02e44bf7d61b6d6f01e41db9375
+f6760a9e710ba478bc3949f3e5c9b34a
diff --git a/tests/ref/fate/mxf-probe-d10 b/tests/ref/fate/mxf-probe-d10
index b59fe4b597..17f47639f3 100644
--- a/tests/ref/fate/mxf-probe-d10
+++ b/tests/ref/fate/mxf-probe-d10
@@ -18,7 +18,7 @@ pix_fmt=yuv422p
level=5
color_range=tv
color_space=unknown
-color_transfer=unknown
+color_transfer=bt470m
color_primaries=unknown
chroma_location=topleft
field_order=tt
diff --git a/tests/ref/fate/mxf-probe-dnxhd b/tests/ref/fate/mxf-probe-dnxhd
index 5d385e8a06..012d3ea1d9 100644
--- a/tests/ref/fate/mxf-probe-dnxhd
+++ b/tests/ref/fate/mxf-probe-dnxhd
@@ -126,8 +126,8 @@ pix_fmt=yuv422p
level=-99
color_range=unknown
color_space=bt709
-color_transfer=unknown
-color_primaries=unknown
+color_transfer=bt709
+color_primaries=bt709
chroma_location=unspecified
field_order=progressive
timecode=N/A
diff --git a/tests/ref/fate/mxf-probe-dv25 b/tests/ref/fate/mxf-probe-dv25
index d0fb308c19..810f145f41 100644
--- a/tests/ref/fate/mxf-probe-dv25
+++ b/tests/ref/fate/mxf-probe-dv25
@@ -18,7 +18,7 @@ pix_fmt=yuv420p
level=-99
color_range=unknown
color_space=unknown
-color_transfer=unknown
+color_transfer=bt470m
color_primaries=unknown
chroma_location=topleft
field_order=bb
diff --git a/tests/ref/fate/mxf-reel_name b/tests/ref/fate/mxf-reel_name
index cfe62dfdb7..16022b1789 100644
--- a/tests/ref/fate/mxf-reel_name
+++ b/tests/ref/fate/mxf-reel_name
@@ -1 +1 @@
-a788589c14f343dcc6d75aaaec0f0266
+73a891041b2fc836a893ffb49fff4fff
diff --git a/tests/ref/fate/mxf-user-comments b/tests/ref/fate/mxf-user-comments
index e91b23baa5..ddf51d939c 100644
--- a/tests/ref/fate/mxf-user-comments
+++ b/tests/ref/fate/mxf-user-comments
@@ -1 +1 @@
-c6469c0ae2aaee602eacbc009080ae8e
+1255faf854223a74d707553121e5eca3