aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-20 23:47:14 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-22 13:35:44 +0100
commita16854892c3af945d3ab0015699a0c9884f0a89a (patch)
tree66cc646a355469519c037ce75dbfb40fc7f19e9b
parentd08d8b61aa9f07d3ea993fe5392f7408c958d221 (diff)
downloadffmpeg-a16854892c3af945d3ab0015699a0c9884f0a89a.tar.gz
dds: Add a rgba fate test
-rw-r--r--tests/fate/image.mak2
-rw-r--r--tests/ref/fate/dds-rgba2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 272e023f4d..b7cc30e33d 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 rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
+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
$(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-rgba b/tests/ref/fate/dds-rgba
new file mode 100644
index 0000000000..803b40a70a
--- /dev/null
+++ b/tests/ref/fate/dds-rgba
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 25600, 0xa2a47b2f