[FFmpeg-devel] [PATCH v8 5/5] fate: add test for animated WebP

Thilo Borgmann thilo.borgmann at mail.de
Fri Dec 15 21:59:17 EET 2023


---
 tests/fate/image.mak     |  3 +++
 tests/ref/fate/webp-anim | 22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 tests/ref/fate/webp-anim

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 400199c28a..2e0d1e8e3f 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -567,6 +567,9 @@ fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp
 FATE_WEBP += fate-webp-rgba-lossy-q80
 fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp
 
+FATE_WEBP += fate-webp-anim
+fate-webp-anim: CMD = framecrc -i $(TARGET_SAMPLES)/webp/130227-100431-6817p.webp
+
 FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
 FATE_IMAGE_FRAMECRC += $(FATE_WEBP-yes)
 fate-webp: $(FATE_WEBP-yes)
diff --git a/tests/ref/fate/webp-anim b/tests/ref/fate/webp-anim
new file mode 100644
index 0000000000..fe7a53a235
--- /dev/null
+++ b/tests/ref/fate/webp-anim
@@ -0,0 +1,22 @@
+#tb 0: 2/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 100x70
+#sar 0: 0/1
+0,          0,          0,        1,    28000, 0x2023ba6e
+0,          1,          1,        1,    28000, 0x4292b778
+0,          2,          2,        1,    28000, 0x9772a187
+0,          3,          3,        1,    28000, 0x9599bb3b
+0,          4,          4,        1,    28000, 0xa1d6b949
+0,          5,          5,        1,    28000, 0x153bb9fc
+0,          6,          6,        1,    28000, 0x6ba8d83b
+0,          7,          7,        1,    28000, 0xed2a4316
+0,          8,          8,       12,    28000, 0xe7994c44
+0,         21,         21,        1,    28000, 0x15ec2f76
+0,         22,         22,        1,    28000, 0x96522a6b
+0,         23,         23,        1,    28000, 0xbbae1e30
+0,         24,         24,        1,    28000, 0xa2baab83
+0,         25,         25,        1,    28000, 0x09f1aba0
+0,         26,         26,        1,    28000, 0x09f1aba0
+0,         27,         27,        1,    28000, 0xe761bbc0
+0,         28,         28,      125,    28000, 0xe761bbc0
-- 
2.37.1 (Apple Git-137.1)



More information about the ffmpeg-devel mailing list