summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-12-01 16:20:10 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-12-18 23:22:59 +0100
commita381e0cec87bcb28ebc05fe840bb937a495de736 (patch)
tree6b088d3b14f438361395a1a9d9555eea6b701da8 /tests
parent87bd298abeb901fe16383a0d267502cc7fc03878 (diff)
fate: add a DPX parser test
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak3
-rw-r--r--tests/ref/fate/dpxparser5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f91ee6996f..3864896fc7 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -33,6 +33,9 @@ fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_c
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
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/libav_4x_concat.dpx
+
FATE_EXR += fate-exr-slice-raw
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
diff --git a/tests/ref/fate/dpxparser b/tests/ref/fate/dpxparser
new file mode 100644
index 0000000000..025c87d30d
--- /dev/null
+++ b/tests/ref/fate/dpxparser
@@ -0,0 +1,5 @@
+#tb 0: 1/25
+0, 0, 0, 1, 203280, 0xa7d03ff5
+0, 1, 1, 1, 203280, 0xb908d8d4
+0, 2, 2, 1, 203280, 0xf7900408
+0, 3, 3, 1, 203280, 0xb74ed6a8