fate: add Alias PIX tests
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 20 Mar 2014 02:12:18 +0000 (03:12 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 26 Mar 2014 22:25:02 +0000 (23:25 +0100)
tests/fate/image.mak
tests/ref/fate/aliaspix-bgr [new file with mode: 0644]
tests/ref/fate/aliaspix-gray [new file with mode: 0644]

index 1357cbd..d035978 100644 (file)
@@ -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
 
 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 (file)
index 0000000..235a5ac
--- /dev/null
@@ -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 (file)
index 0000000..74cf6a2
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,    12000, 0x29f8832c