[FFmpeg-devel] [PATCH v5 7/7] fate: add test for animated WebP
Thilo Borgmann
thilo.borgmann at mail.de
Mon Nov 20 21:22:11 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..1baef9f7fb
--- /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, 0xa98d8d04
+0, 4, 4, 1, 28000, 0xd323b6af
+0, 5, 5, 1, 28000, 0x508aba99
+0, 6, 6, 1, 28000, 0x5c672dda
+0, 7, 7, 1, 28000, 0xcc992d59
+0, 8, 8, 12, 28000, 0x82460e1b
+0, 21, 21, 1, 28000, 0x3debbfc9
+0, 22, 22, 1, 28000, 0x427ab31f
+0, 23, 23, 1, 28000, 0x6bbdec2e
+0, 24, 24, 1, 28000, 0x5690b56b
+0, 25, 25, 1, 28000, 0xb62963f3
+0, 26, 26, 1, 28000, 0x68dd37b2
+0, 27, 27, 1, 28000, 0x465c47d2
+0, 28, 28, 125, 28000, 0x465c47d2
--
2.39.2 (Apple Git-143)
More information about the ffmpeg-devel
mailing list