[FFmpeg-devel] [PATCH v15 0/4] Jpeg XL Patch Set

Leo Izen leo.izen at gmail.com
Sun Apr 17 16:22:32 EEST 2022


Changes:
v15:
 - Make changes requested by Anton from v14
  -- Add failsafe for infinite encode loop in libjxlenc.c
 - Make changes requested by Andreas from v14
  -- Avoid linking error if the demuxer is disabled
  -- Avoid accessing GetBitContext members directly
  -- Thoroughly comment JXL_DEC_SUCCESS event in loop to avoid confusion
 - Some minor cosmetic changes
 - Rebase onto master
v14:
 - Make changes requested by Anton from v13
  -- make encoder return refcounted packet
  -- use av_realloc for realloc loop
  -- use -1 as default instead of -0.0
 - Remove unnecessary JXL_DEC_FRAME subscribe event from decoder
 - Update FFCodec declarations to use the new macros, rebase onto master

Leo Izen (4):
  avcodec/jpegxl: add Jpeg XL image codec
  avcodec/libjxl: add Jpeg XL decoding via libjxl
  avcodec/libjxl: add Jpeg XL encoding via libjxl
  avformat/image2: add Jpeg XL as image2 format

 MAINTAINERS                |   3 +
 configure                  |   6 +
 doc/general_contents.texi  |   7 +
 libavcodec/Makefile        |   2 +
 libavcodec/allcodecs.c     |   2 +
 libavcodec/codec_desc.c    |   9 +
 libavcodec/codec_id.h      |   1 +
 libavcodec/libjxl.c        |  70 +++++++
 libavcodec/libjxl.h        |  48 +++++
 libavcodec/libjxldec.c     | 280 ++++++++++++++++++++++++++
 libavcodec/libjxlenc.c     | 384 ++++++++++++++++++++++++++++++++++++
 libavformat/Makefile       |   1 +
 libavformat/allformats.c   |   1 +
 libavformat/img2.c         |   1 +
 libavformat/img2dec.c      |  20 ++
 libavformat/img2enc.c      |   6 +-
 libavformat/jpegxl_probe.c | 393 +++++++++++++++++++++++++++++++++++++
 libavformat/jpegxl_probe.h |  32 +++
 libavformat/mov.c          |   1 +
 19 files changed, 1264 insertions(+), 3 deletions(-)
 create mode 100644 libavcodec/libjxl.c
 create mode 100644 libavcodec/libjxl.h
 create mode 100644 libavcodec/libjxldec.c
 create mode 100644 libavcodec/libjxlenc.c
 create mode 100644 libavformat/jpegxl_probe.c
 create mode 100644 libavformat/jpegxl_probe.h

-- 
2.35.1



More information about the ffmpeg-devel mailing list