Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v2 0/2] JPEG XL Animation Support
@ 2023-03-30 22:42 Leo Izen
  2023-03-30 22:42 ` [FFmpeg-devel] [PATCH v2 1/2] avcodec/libjxldec: add animated decode support Leo Izen
  2023-03-30 22:42 ` [FFmpeg-devel] [PATCH v2 2/2] avformat/jpegxl_anim_dec: add animated JPEG XL demuxer Leo Izen
  0 siblings, 2 replies; 3+ messages in thread
From: Leo Izen @ 2023-03-30 22:42 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Leo Izen

This patch adds support for animated JPEG XL files in both the libjxl
decoder wrapper and a separate demuxer to properly set the timebase for it.

Changes from v1:
- Made some tweaks based on review suggestions from Anton Khirnov
 -- moved packet request inside main loop
 -- added guard against avctx->pkt_timebase being unset
 -- removed size_t remaining from persistent context, changing pkt->data instead.
 -- populate AVFrame->duration field.
- Rebased against master

Leo Izen (2):
  avcodec/libjxldec: add animated decode support
  avformat/jpegxl_anim_dec: add animated JPEG XL demuxer

 MAINTAINERS                   |   1 +
 libavcodec/libjxldec.c        | 109 ++++++++++----
 libavcodec/version.h          |   2 +-
 libavformat/Makefile          |   1 +
 libavformat/allformats.c      |   1 +
 libavformat/img2dec.c         |   2 +-
 libavformat/jpegxl_anim_dec.c | 266 ++++++++++++++++++++++++++++++++++
 libavformat/jpegxl_probe.c    |  19 +--
 libavformat/jpegxl_probe.h    |   7 +-
 libavformat/version.h         |   4 +-
 10 files changed, 370 insertions(+), 42 deletions(-)
 create mode 100644 libavformat/jpegxl_anim_dec.c

-- 
2.40.0

_______________________________________________
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".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-30 22:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 22:42 [FFmpeg-devel] [PATCH v2 0/2] JPEG XL Animation Support Leo Izen
2023-03-30 22:42 ` [FFmpeg-devel] [PATCH v2 1/2] avcodec/libjxldec: add animated decode support Leo Izen
2023-03-30 22:42 ` [FFmpeg-devel] [PATCH v2 2/2] avformat/jpegxl_anim_dec: add animated JPEG XL demuxer Leo Izen

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