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

Thilo Borgmann thilo.borgmann at mail.de
Thu Mar 28 16:08:50 EET 2024


VP8 decoder decoupled again
The whole animated sequence goes into one packet
The (currently public) bitstream filter splits animations up into non-conformant packets
Now with XMP metadata support (as string, like MOV)


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

-Thilo

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

Thilo Borgmann (6):
  avcodec/webp: remove unused definitions
  avcodec/webp: separate VP8 decoding
  avcodec/bsf: Add awebp2webp bitstream filter
  avcodec/webp: make init_canvas_frame static
  fate: add test for animated WebP
  avcodec/webp: export XMP metadata

 Changelog                                     |   2 +
 configure                                     |   1 +
 doc/demuxers.texi                             |  28 +
 libavcodec/bitstream_filters.c                |   1 +
 libavcodec/bsf/Makefile                       |   1 +
 libavcodec/bsf/awebp2webp.c                   | 350 ++++++++
 libavcodec/codec_desc.c                       |   3 +-
 libavcodec/version.h                          |   2 +-
 libavcodec/webp.c                             | 796 ++++++++++++++++--
 libavformat/Makefile                          |   1 +
 libavformat/allformats.c                      |   1 +
 libavformat/version.h                         |   2 +-
 libavformat/webpdec.c                         | 383 +++++++++
 tests/fate/image.mak                          |   3 +
 tests/ref/fate/exif-image-webp                |   4 +-
 tests/ref/fate/webp-anim                      |  22 +
 tests/ref/fate/webp-rgb-lena-lossless         |   2 +-
 tests/ref/fate/webp-rgb-lena-lossless-rgb24   |   2 +-
 tests/ref/fate/webp-rgb-lossless              |   2 +-
 .../fate/webp-rgb-lossless-palette-predictor  |   2 +-
 tests/ref/fate/webp-rgb-lossy-q80             |   2 +-
 tests/ref/fate/webp-rgba-lossless             |   2 +-
 tests/ref/fate/webp-rgba-lossy-q80            |   2 +-
 23 files changed, 1530 insertions(+), 84 deletions(-)
 create mode 100644 libavcodec/bsf/awebp2webp.c
 create mode 100644 libavformat/webpdec.c
 create mode 100644 tests/ref/fate/webp-anim

-- 
2.39.3 (Apple Git-146)



More information about the ffmpeg-devel mailing list