fate: add a DPX parser test
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 1 Dec 2014 15:20:10 +0000 (16:20 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 18 Dec 2014 22:22:59 +0000 (23:22 +0100)
tests/fate/image.mak
tests/ref/fate/dpxparser [new file with mode: 0644]

index f91ee69..3864896 100644 (file)
@@ -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 (file)
index 0000000..025c87d
--- /dev/null
@@ -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