[FFmpeg-cvslog] fate: add a pngparser test
Vittorio Giovara
git at videolan.org
Tue Dec 17 19:04:36 CET 2013
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Dec 11 10:40:13 2013 +0100| [cfb4ee30977732674d30c20e93a761c33c743972] | committer: Vittorio Giovara
fate: add a pngparser test
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cfb4ee30977732674d30c20e93a761c33c743972
---
tests/fate/image.mak | 3 +++
tests/ref/fate/pngparser | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f7cc325..61d85cd 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 0000000..b481dcd
--- /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
More information about the ffmpeg-cvslog
mailing list