[libav-devel] [PATCH 2/2] fate: add PIX test

Vittorio Giovara vittorio.giovara at gmail.com
Mon Mar 17 05:08:25 CET 2014


---
This doesn't test the palette conversion, but I don't think two tests are worthwhile.
Vittorio

 tests/fate/image.mak | 3 +++
 tests/ref/fate/pix   | 2 ++
 2 files changed, 5 insertions(+)
 create mode 100644 tests/ref/fate/pix

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 1357cbd..e9edf83 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 DEMDEC, IMAGE2, PIX) += fate-pix
+fate-pix: CMD = framecrc -i $(TARGET_SAMPLES)/pix/maximafront.pix
+
 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
 fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png -pix_fmt rgba
 
diff --git a/tests/ref/fate/pix b/tests/ref/fate/pix
new file mode 100644
index 0000000..c243a4c
--- /dev/null
+++ b/tests/ref/fate/pix
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,    32768, 0xfd855dda
-- 
1.8.3.4 (Apple Git-47)



More information about the libav-devel mailing list