mbox series

[FFmpeg-devel,v2,0/2] JPEG XL Animation Support

Message ID 20230330224246.47109-1-leo.izen@gmail.com
Headers show
Series JPEG XL Animation Support | expand

Message

Leo Izen March 30, 2023, 10:42 p.m. UTC
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