[FFmpeg-devel] [PATCH v12 7/8] fate: add test for animated WebP
thilo.borgmann at mail.de
thilo.borgmann at mail.de
Wed Apr 17 22:20:03 EEST 2024
From: Thilo Borgmann via ffmpeg-devel <ffmpeg-devel at ffmpeg.org>
---
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 753936ec20..b6a4cd2ba3 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -566,6 +566,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..f0d3f1a88f
--- /dev/null
+++ b/tests/ref/fate/webp-anim
@@ -0,0 +1,22 @@
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 100x70
+#sar 0: 0/1
+0, 0, 0, 80, 28000, 0x2023ba6e
+0, 80, 80, 80, 28000, 0x4292b778
+0, 160, 160, 80, 28000, 0x1c972ef1
+0, 240, 240, 80, 28000, 0xa98d8d04
+0, 320, 320, 80, 28000, 0xd323b6af
+0, 400, 400, 80, 28000, 0x508aba99
+0, 480, 480, 80, 28000, 0x5c672dda
+0, 560, 560, 80, 28000, 0xc8961ebb
+0, 640, 640, 1000, 28000, 0x82460e1b
+0, 1640, 1640, 80, 28000, 0x3debbfc9
+0, 1720, 1720, 80, 28000, 0x427ab31f
+0, 1800, 1800, 80, 28000, 0x6bbdec2e
+0, 1880, 1880, 80, 28000, 0x5690b56b
+0, 1960, 1960, 80, 28000, 0xb62963f3
+0, 2040, 2040, 80, 28000, 0x68dd37b2
+0, 2120, 2120, 80, 28000, 0x465c47d2
+0, 2200, 2200, 10000, 28000, 0xa92033df
--
2.43.0
More information about the ffmpeg-devel
mailing list