mbox series

[FFmpeg-devel,v11,0/5] Jpeg XL Patch Set

Message ID 20220401002006.44582-1-leo.izen@gmail.com
Headers show
Series Jpeg XL Patch Set | expand

Message

Leo Izen April 1, 2022, 12:20 a.m. UTC
This patchset adds the Jpeg XL Image format and a parser for this format,
as well as a decoder and encoder for it based on the external reference
implementation library, libjxl.

Changes:
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 (5):
  avcodec/jpegxl: add Jpeg XL image codec and parser
  avcodec/libjxl: add Jpeg XL decoding via libjxl
  avcodec/libjxl: add Jpeg XL encoding via libjxl
  avformat/image2: add Jpeg XL as image2 format
  fate/jpegxl: add Jpeg XL demux and parse FATE test

 MAINTAINERS                         |   3 +
 configure                           |   6 +
 doc/general_contents.texi           |   7 +
 libavcodec/Makefile                 |   3 +
 libavcodec/allcodecs.c              |   2 +
 libavcodec/codec_desc.c             |   9 +
 libavcodec/codec_id.h               |   1 +
 libavcodec/jpegxl.h                 |  43 ++
 libavcodec/jpegxl_parser.c          | 951 ++++++++++++++++++++++++++++
 libavcodec/libjxl.c                 |  70 ++
 libavcodec/libjxl.h                 |  48 ++
 libavcodec/libjxldec.c              | 301 +++++++++
 libavcodec/libjxlenc.c              | 379 +++++++++++
 libavcodec/parsers.c                |   1 +
 libavcodec/version.h                |   2 +-
 libavformat/allformats.c            |   1 +
 libavformat/img2.c                  |   1 +
 libavformat/img2dec.c               |  21 +
 libavformat/img2enc.c               |   6 +-
 libavformat/mov.c                   |   1 +
 libavformat/version.h               |   4 +-
 tests/fate/image.mak                |  10 +
 tests/ref/fate/jxl-parse-codestream |   6 +
 tests/ref/fate/jxl-parse-container  |   6 +
 24 files changed, 1876 insertions(+), 6 deletions(-)
 create mode 100644 libavcodec/jpegxl.h
 create mode 100644 libavcodec/jpegxl_parser.c
 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 tests/ref/fate/jxl-parse-codestream
 create mode 100644 tests/ref/fate/jxl-parse-container