aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-04-01 15:12:37 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-04-06 12:13:50 -0400
commit00658253e237ab975ae2d384e02b5936781f103d (patch)
tree87c31f2443eb9400158dc41aa6746bf8821116f0
parent22e49e6edead9c83696f20127988f659b952ce65 (diff)
downloadffmpeg-00658253e237ab975ae2d384e02b5936781f103d.tar.gz
fate: Update DDS tests
-rw-r--r--tests/fate/image.mak2
-rw-r--r--tests/ref/fate/dds-alpha82
-rw-r--r--tests/ref/fate/dds-rgb15552
-rw-r--r--tests/ref/fate/dds-rgb5552
4 files changed, 7 insertions, 1 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f7b05ae6d6..aecda9b33d 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -37,7 +37,7 @@ endef
DDS_OPTS_pal = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
-DDS_FMT = argb argb-aexp dx10-bc1 dx10-bc1a dx10-bc2 dx10-bc3 dx10-bc4 dx10-bc5 dxt1 dxt1a dxt1-normalmap dxt2 dxt3 dxt4 dxt5 dxt5-aexp dxt5-normalmap dxt5-normalmap-ati dxt5-rbxg dxt5-rgxb dxt5-rxbg dxt5-rxgb dxt5-xgbr dxt5-xgxr dxt5-xrbg dxt5-ycocg dxt5-ycocg-scaled pal pal-ati rgb16 rgb24 rgba rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
+DDS_FMT = alpha8 argb argb-aexp dx10-bc1 dx10-bc1a dx10-bc2 dx10-bc3 dx10-bc4 dx10-bc5 dxt1 dxt1a dxt1-normalmap dxt2 dxt3 dxt4 dxt5 dxt5-aexp dxt5-normalmap dxt5-normalmap-ati dxt5-rbxg dxt5-rgxb dxt5-rxbg dxt5-rxgb dxt5-xgbr dxt5-xgxr dxt5-xrbg dxt5-ycocg dxt5-ycocg-scaled pal pal-ati rgb1555 rgb16 rgb24 rgb555 rgba rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
diff --git a/tests/ref/fate/dds-alpha8 b/tests/ref/fate/dds-alpha8
new file mode 100644
index 0000000000..fbda288092
--- /dev/null
+++ b/tests/ref/fate/dds-alpha8
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 14884, 0xf81c47f5
diff --git a/tests/ref/fate/dds-rgb1555 b/tests/ref/fate/dds-rgb1555
new file mode 100644
index 0000000000..a23d0e51f3
--- /dev/null
+++ b/tests/ref/fate/dds-rgb1555
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 29768, 0xbdc099db
diff --git a/tests/ref/fate/dds-rgb555 b/tests/ref/fate/dds-rgb555
new file mode 100644
index 0000000000..65ac1192cd
--- /dev/null
+++ b/tests/ref/fate/dds-rgb555
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 29768, 0x277d8628