[SCM] libav/experimental: fate: add a bmpparser test

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:02:29 UTC 2014


The following commit has been merged in the experimental branch:
commit e8e560f2a20e59789cafef174b382054ad9721ea
Author: Vittorio Giovara <vittorio.giovara at gmail.com>
Date:   Mon Mar 17 15:30:05 2014 +0100

    fate: add a bmpparser test

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 26cd6f0..05daf4b 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -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
index 0000000..e7022b1
--- /dev/null
+++ b/tests/ref/fate/bmpparser
@@ -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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list