aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-20 03:12:18 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-26 23:25:02 +0100
commit9718c31ef60c6aced1fcfab788edb7ca8b6719ee (patch)
treed28baf5dca3439e05db3490f9215106b9e5fabcf
parente50f5d3cf9ef9a16982a5cb4d8b1916cd963aa5b (diff)
downloadffmpeg-9718c31ef60c6aced1fcfab788edb7ca8b6719ee.tar.gz
fate: add Alias PIX tests
-rw-r--r--tests/fate/image.mak10
-rw-r--r--tests/ref/fate/aliaspix-bgr2
-rw-r--r--tests/ref/fate/aliaspix-gray2
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 1357cbd5a0..d035978a8e 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 0000000000..235a5acf69
--- /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 0000000000..74cf6a20bc
--- /dev/null
+++ b/tests/ref/fate/aliaspix-gray
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 12000, 0x29f8832c