fate: add a bmpparser test
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 17 Mar 2014 14:30:05 +0000 (15:30 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 27 Mar 2014 23:08:24 +0000 (00:08 +0100)
tests/fate/image.mak
tests/ref/fate/bmpparser [new file with mode: 0644]

index 26cd6f0..05daf4b 100644 (file)
@@ -27,6 +27,9 @@ FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
 FATE_SAMPLES_AVCONV += $(FATE_BRENDERPIX-yes)
 fate-brenderpix: $(FATE_BRENDERPIX-yes)
 
+FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
+fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_concat.bmp -pix_fmt rgb24
+
 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
 fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
 
diff --git a/tests/ref/fate/bmpparser b/tests/ref/fate/bmpparser
new file mode 100644 (file)
index 0000000..e7022b1
--- /dev/null
@@ -0,0 +1,5 @@
+#tb 0: 1/25
+0,          0,          0,        1,   203280, 0x47c3e3a0
+0,          1,          1,        1,   203280, 0x6494c4db
+0,          2,          2,        1,   203280, 0x042fe3a0
+0,          3,          3,        1,   203280, 0xba9be3a0