[FFmpeg-cvslog] fate: Add webp alpha test

Mark Thompson git at videolan.org
Mon Oct 2 21:57:51 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Fri Feb 17 23:13:14 2017 +0000| [156bc0193bd47d3f4b3adaa93be0e206e12686ab] | committer: Mark Thompson

fate: Add webp alpha test

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=156bc0193bd47d3f4b3adaa93be0e206e12686ab
---

 tests/fate/image.mak                  | 11 +++++++++--
 tests/ref/fate/{webp => webp-yuv420p} |  0
 tests/ref/fate/webp-yuva420p          |  2 ++
 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
similarity index 100%
rename from tests/ref/fate/webp
rename to 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



More information about the ffmpeg-cvslog mailing list