aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarry Mallon <harry.mallon@codex.online>2020-12-07 10:32:09 +0000
committerPaul B Mahol <onemda@gmail.com>2020-12-17 13:02:49 +0100
commit4bdfbd688fff4450b0e94abb1befe16902a6660b (patch)
treeb3f95490db41f13a764d9b41763ba0f7e7b1dfd2 /tests
parentef59a40c2a0df694cf6f23870f94b6e32deabfe1 (diff)
downloadffmpeg-4bdfbd688fff4450b0e94abb1befe16902a6660b.tar.gz
fate: Add dpx-probe test
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak4
-rw-r--r--tests/ref/fate/dpx-probe9
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index c453f0f79c..0352e1c05e 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -97,6 +97,10 @@ fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
+FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx-probe
+fate-dpx-probe: SRC = $(TARGET_SAMPLES)/dpx/cyan.dpx
+fate-dpx-probe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames -show_entries frame=color_transfer,color_range,color_space,color_primaries,sample_aspect_ratio -print_format default -bitexact -v 0 -i "$(SRC)"
+
FATE_EXR += fate-exr-slice-raw
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt gbrapf32le
diff --git a/tests/ref/fate/dpx-probe b/tests/ref/fate/dpx-probe
new file mode 100644
index 0000000000..c5d049d038
--- /dev/null
+++ b/tests/ref/fate/dpx-probe
@@ -0,0 +1,9 @@
+[FRAME]
+sample_aspect_ratio=1:1
+color_range=unknown
+color_space=unknown
+color_primaries=unknown
+color_transfer=unknown
+TAG:Creator=Apple Compressor
+TAG:Input Device=
+[/FRAME]