fate: add a pngparser test
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 11 Dec 2013 09:40:13 +0000 (10:40 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 17 Dec 2013 08:34:08 +0000 (09:34 +0100)
tests/fate/image.mak
tests/ref/fate/pngparser [new file with mode: 0644]

index f7cc325..61d85cd 100644 (file)
@@ -4,6 +4,9 @@ fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
 fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
 
+FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
+fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png
+
 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
 fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
 
diff --git a/tests/ref/fate/pngparser b/tests/ref/fate/pngparser
new file mode 100644 (file)
index 0000000..b481dcd
--- /dev/null
@@ -0,0 +1,5 @@
+#tb 0: 1/25
+0,          0,          0,        1,   271040, 0xffe62f5f
+0,          1,          1,        1,   271040, 0xcf502f5f
+0,          2,          2,        1,   271040, 0x72612f5f
+0,          3,          3,        1,   271040, 0x41cb2f5f