Module: libav
Branch: master
Commit: 9718c31ef60c6aced1fcfab788edb7ca8b6719ee

Author:    Vittorio Giovara <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Thu Mar 20 03:12:18 2014 +0100

fate: add Alias PIX tests

---

 tests/fate/image.mak         |   10 ++++++++++
 tests/ref/fate/aliaspix-bgr  |    2 ++
 tests/ref/fate/aliaspix-gray |    2 ++
 3 files changed, 14 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 1357cbd..d035978 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -1,3 +1,13 @@
+FATE_ALIASPIX += fate-aliaspix-bgr
+fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix 
-pix_fmt bgr24
+
+FATE_ALIASPIX += fate-aliaspix-gray
+fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix 
-pix_fmt gray
+
+FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
+FATE_SAMPLES_AVCONV += $(FATE_ALIASPIX-yes)
+fate-aliaspix: $(FATE_ALIASPIX-yes)
+
 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/aliaspix-bgr b/tests/ref/fate/aliaspix-bgr
new file mode 100644
index 0000000..235a5ac
--- /dev/null
+++ b/tests/ref/fate/aliaspix-bgr
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,    36000, 0x9ff1ba55
diff --git a/tests/ref/fate/aliaspix-gray b/tests/ref/fate/aliaspix-gray
new file mode 100644
index 0000000..74cf6a2
--- /dev/null
+++ b/tests/ref/fate/aliaspix-gray
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,    12000, 0x29f8832c

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to