aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-02-17 23:13:14 +0000
committerMark Thompson <sw@jkqxz.net>2017-02-21 23:19:08 +0000
commit156bc0193bd47d3f4b3adaa93be0e206e12686ab (patch)
tree1a5654ece55ad1c6868a20f73674295133848650 /tests
parent5d3953a5dcfd5f71391b7f34908517eb6f7e5146 (diff)
downloadffmpeg-156bc0193bd47d3f4b3adaa93be0e206e12686ab.tar.gz
fate: Add webp alpha test
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak11
-rw-r--r--tests/ref/fate/webp-yuv420p (renamed from tests/ref/fate/webp)0
-rw-r--r--tests/ref/fate/webp-yuva420p2
3 files changed, 11 insertions, 2 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 83fa71a199..7d970312d4 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -223,8 +223,15 @@ FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
FATE_SAMPLES_AVCONV += $(FATE_TIFF-yes)
fate-tiff: $(FATE_TIFF-yes)
-FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, WEBP) += fate-webp
-fate-webp: CMD = framecrc -i $(TARGET_SAMPLES)/webp/image_small.webp
+FATE_WEBP += fate-webp-yuv420p
+fate-webp-yuv420p: CMD = framecrc -i $(TARGET_SAMPLES)/webp/image_small.webp
+
+FATE_WEBP += fate-webp-yuva420p
+fate-webp-yuva420p: CMD = framecrc -i $(TARGET_SAMPLES)/webp/1_webp_a.webp
+
+FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
+FATE_SAMPLES_AVCONV += $(FATE_WEBP-yes)
+fate-webp: $(FATE_WEBP-yes)
FATE_XBM += fate-xbm10
fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
diff --git a/tests/ref/fate/webp b/tests/ref/fate/webp-yuv420p
index ced2ead363..ced2ead363 100644
--- a/tests/ref/fate/webp
+++ b/tests/ref/fate/webp-yuv420p
diff --git a/tests/ref/fate/webp-yuva420p b/tests/ref/fate/webp-yuva420p
new file mode 100644
index 0000000000..3350edf2d7
--- /dev/null
+++ b/tests/ref/fate/webp-yuva420p
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 301200, 0x12b071a0