Message ID | 20231120192211.77775-8-thilo.borgmann@mail.de |
---|---|
State | New |
Headers | show |
Series | webp: add support for animated WebP decoding | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
On Mon, Nov 20, 2023 at 11:22:11AM -0800, Thilo Borgmann via ffmpeg-devel wrote: > --- > tests/fate/image.mak | 3 +++ > tests/ref/fate/webp-anim | 22 ++++++++++++++++++++++ > 2 files changed, 25 insertions(+) > create mode 100644 tests/ref/fate/webp-anim Assertion !frame->private_ref failed at libavcodec/decode.c:1598 Aborted (core dumped) threads=1 tests/Makefile:307: recipe for target 'fate-webp-anim' failed also make sure you build with --assert-level=2 so all asserts are tested thx [...]
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