From cfb4ee30977732674d30c20e93a761c33c743972 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 11 Dec 2013 10:40:13 +0100 Subject: fate: add a pngparser test --- tests/fate/image.mak | 3 +++ tests/ref/fate/pngparser | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 tests/ref/fate/pngparser (limited to 'tests') diff --git a/tests/fate/image.mak b/tests/fate/image.mak index f7cc32594c..61d85cda41 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -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 index 0000000000..b481dcd392 --- /dev/null +++ b/tests/ref/fate/pngparser @@ -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 -- cgit v1.2.3