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

Leo Izen leo.izen at gmail.com
Sat Apr 2 23:12:06 EEST 2022


This patchset adds the Jpeg XL Image format as well as a decoder and encoder
for it based on the external reference implementation library, libjxl.

Lynne said she plans to add a proper parser in the near future, to provide features
this (removed) one did not, e.g. finding frame boundaries and box concatenation.


Changes:
v12:
 - Remove the parser in order to avoid avpriv in the ABI
 - Add a lightweight version of it to avformat to help the prober
 - Remove the FATE test for the parser which no longer exists
v11:
 - Fix regression I introduced in v10 with skipping boxes
v10:
 - Make changes requested by Andreas Reinhardt from v9
v9:
 - v8 with a typo fix
v8:
 - v7, but with stylistic changes as requested by Lynne and others on IRC
v7:
 - Fully implement the parser and test it against the conformance samples

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     | 301 ++++++++++++++++++++++++++++
 libavcodec/libjxlenc.c     | 379 +++++++++++++++++++++++++++++++++++
 libavcodec/version.h       |   2 +-
 libavformat/Makefile       |   1 +
 libavformat/allformats.c   |   1 +
 libavformat/img2.c         |   1 +
 libavformat/img2dec.c      |  18 ++
 libavformat/img2enc.c      |   6 +-
 libavformat/jpegxl_probe.c | 393 +++++++++++++++++++++++++++++++++++++
 libavformat/jpegxl_probe.h |  32 +++
 libavformat/mov.c          |   1 +
 libavformat/version.h      |   4 +-
 21 files changed, 1281 insertions(+), 6 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