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

thilo.borgmann at mail.de thilo.borgmann at mail.de
Mon Feb 5 21:41:42 EET 2024


From: Thilo Borgmann <thilo.borgmann at mail.de>

---
 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.39.3 (Apple Git-145)



More information about the ffmpeg-devel mailing list