Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Thilo Borgmann via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: Thilo Borgmann <thilo.borgmann@mail.de>
Subject: [FFmpeg-devel] [PATCH v13 0/8] [WIP] webp: add support for animated WebP decoding
Date: Fri, 21 Jun 2024 12:43:15 +0200
Message-ID: <20240621104323.92453-1-thilo.borgmann@mail.de> (raw)

Marked WIP because we'd want to introduce private bsf's first; review
welcome before that though

v13
Switched to new ProgressFrame API
Support for pixel format changes in animations
Propagate MIN_DELAY in case of invalid delay in animations
Added more tests for animations with pixel format changes

v12
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 via ffmpeg-devel (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                   | 353 +++++++
 libavcodec/codec_desc.c                       |   3 +-
 libavcodec/webp.c                             | 983 ++++++++++++++++--
 libavformat/Makefile                          |   1 +
 libavformat/allformats.c                      |   1 +
 libavformat/webpdec.c                         | 384 +++++++
 tests/fate/image.mak                          |   9 +
 tests/ref/fate/exif-image-webp                |   4 +-
 tests/ref/fate/webp-anim                      |  22 +
 tests/ref/fate/webp-chfmt1                    |  23 +
 tests/ref/fate/webp-chfmt2                    | 106 ++
 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, 1855 insertions(+), 81 deletions(-)
 create mode 100644 libavcodec/bsf/awebp2webp.c
 create mode 100644 libavformat/webpdec.c
 create mode 100644 tests/ref/fate/webp-anim
 create mode 100644 tests/ref/fate/webp-chfmt1
 create mode 100644 tests/ref/fate/webp-chfmt2

-- 
2.39.3 (Apple Git-146)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

             reply	other threads:[~2024-06-21 10:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-21 10:43 Thilo Borgmann via ffmpeg-devel [this message]
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 1/8] avcodec/webp: remove unused definitions Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 2/8] avcodec/webp: separate VP8 decoding Thilo Borgmann via ffmpeg-devel
2024-06-21 11:52   ` Anton Khirnov
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 3/8] avcodec/bsf: Add awebp2webp bitstream filter Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 4/8] libavcodec/webp: add support for animated WebP Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 5/8] avcodec/webp: make init_canvas_frame static Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 6/8] libavformat/webp: add WebP demuxer Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 7/8] fate: add test for animated WebP Thilo Borgmann via ffmpeg-devel
2024-06-21 10:43 ` [FFmpeg-devel] [PATCH v13 8/8] avcodec/webp: export XMP metadata Thilo Borgmann via ffmpeg-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240621104323.92453-1-thilo.borgmann@mail.de \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=thilo.borgmann@mail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git