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

Thilo Borgmann thilo.borgmann at mail.de
Thu Jul 6 14:27:26 EEST 2023


Now includes the demuxer again. Absence of the demuxer caused wrong
framerate detection. We are promised a review of the demuxer code as
well so it shall not rotten again with the remaining patches. Also adds
loop control suggested in v1.

This makes it feasable again to move some definitions into a shared
header which was nak'd in v1.

Patch 4/5 is still there for making changes in lavc/webp reviewable but
shall be stashed when pushing.

The remaining rendering issue is still worked on though we are not yet
sure how to fix it because of missing reference. The good news is that this
patchset already does a better rendering than libwebp v1.3.1 on the
problematic file. Haven't lost hope that this can yet be improved,
though.

Josef Zlomek (2):
  libavcodec/webp: add support for animated WebP decoding
  libavformat/webp: add WebP demuxer

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                                   |   2 +
 doc/demuxers.texi                           |  28 +
 libavcodec/codec_desc.c                     |   3 +-
 libavcodec/version.h                        |   2 +-
 libavcodec/webp.c                           | 724 +++++++++++++++++--
 libavcodec/webp.h                           |  55 ++
 libavcodec/webp_parser.c                    | 132 ++--
 libavformat/Makefile                        |   1 +
 libavformat/allformats.c                    |   1 +
 libavformat/version.h                       |   2 +-
 libavformat/webpdec.c                       | 733 ++++++++++++++++++++
 tests/ref/fate/webp-rgb-lena-lossless       |   2 +-
 tests/ref/fate/webp-rgb-lena-lossless-rgb24 |   2 +-
 tests/ref/fate/webp-rgb-lossless            |   2 +-
 tests/ref/fate/webp-rgb-lossy-q80           |   2 +-
 tests/ref/fate/webp-rgba-lossless           |   2 +-
 tests/ref/fate/webp-rgba-lossy-q80          |   2 +-
 17 files changed, 1571 insertions(+), 124 deletions(-)
 create mode 100644 libavcodec/webp.h
 create mode 100644 libavformat/webpdec.c

-- 
2.37.1 (Apple Git-137.1)



More information about the ffmpeg-devel mailing list