Module: libav
Branch: master
Commit: e8e560f2a20e59789cafef174b382054ad9721ea

Author:    Vittorio Giovara <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Mon Mar 17 15:30:05 2014 +0100

fate: add a bmpparser test

---

 tests/fate/image.mak     |    3 +++
 tests/ref/fate/bmpparser |    5 +++++
 2 files changed, 8 insertions(+)

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-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to