[FFmpeg-devel] [PATCH v1 0/4] webp: add support for animated WebP decoding

Thilo Borgmann thilo.borgmann at mail.de
Thu Jun 8 17:20:25 EEST 2023


Follow-up to [1], the decoder only.

In [1] we found a hanging sample. In frame-threading, this led to an
infinite wait, damaged frames otherwise. So warn acordingly and do
best-effort in single-thread mode.

Also split into more patches to make reviewing easier.

[1] http://ffmpeg.org/pipermail/ffmpeg-devel/2023-April/308965.html

Josef Zlomek (1):
  libavcodec/webp: add support for animated WebP decoding

Thilo Borgmann (3):
  avcodec/webp: move definitions into header
  avcodec/webp_parser: parse each frame into one packet
  avcodec/webp: make init_canvas_frame static

 Changelog                |   1 +
 libavcodec/codec_desc.c  |   3 +-
 libavcodec/version.h     |   2 +-
 libavcodec/webp.c        | 724 +++++++++++++++++++++++++++++++++++----
 libavcodec/webp.h        |  55 +++
 libavcodec/webp_parser.c | 132 ++++---
 6 files changed, 800 insertions(+), 117 deletions(-)
 create mode 100644 libavcodec/webp.h

-- 
2.37.1 (Apple Git-137.1)



More information about the ffmpeg-devel mailing list