[FFmpeg-devel] [PATCH v2 0/3] JXL Parser and FATE tests

Leo Izen leo.izen at gmail.com
Thu Jun 22 03:43:10 EEST 2023


This test relies on FATE samples that haven't been uploaded yet. To test, unzip
the following zipfile[1] in the FATE_SAMPLES directory, placing the test images in jxl/.

[1]: https://buzo.us/y.zip

sha256sum: 43a2eeb0dfdf471b47a9fdfb1653974fa156ceceb776891cc137569a8ebf0e75
signature: https://buzo.us/R.asc

Leo Izen (3):
  avcodec/jpegxl_parser: add JPEG XL parser
  avformat/jpegxl: remove jpegxl_probe, instead call
    avcodec/jpegxl_parse
  fate/jpegxl_anim: add demuxer fate test for jpegxl_anim

 libavcodec/Makefile                           |   2 +
 libavcodec/jpegxl.h                           | 104 +++++++++
 .../jpegxl_parse.c                            |  21 +-
 .../jpegxl_parse.h                            | 203 +++++++++++++-----
 libavcodec/jpegxl_parser.c                    | 165 ++++++++++++++
 libavcodec/parsers.c                          |   1 +
 libavcodec/version.h                          |   2 +-
 libavformat/Makefile                          |   4 +-
 libavformat/img2dec.c                         |   4 +-
 libavformat/jpegxl_anim_dec.c                 | 111 ++--------
 libavformat/jpegxl_parse.c                    |  22 ++
 tests/Makefile                                |   1 +
 tests/fate/jxl.mak                            |  16 ++
 tests/ref/fate/jxl-anim-demux-belgium         |   6 +
 tests/ref/fate/jxl-anim-demux-icos4d          |   6 +
 tests/ref/fate/jxl-anim-demux-lenna256        |   6 +
 tests/ref/fate/jxl-anim-demux-newton          |   6 +
 17 files changed, 505 insertions(+), 175 deletions(-)
 create mode 100644 libavcodec/jpegxl.h
 rename libavformat/jpegxl_probe.h => libavcodec/jpegxl_parse.c (55%)
 rename libavformat/jpegxl_probe.c => libavcodec/jpegxl_parse.h (68%)
 create mode 100644 libavcodec/jpegxl_parser.c
 create mode 100644 libavformat/jpegxl_parse.c
 create mode 100644 tests/fate/jxl.mak
 create mode 100644 tests/ref/fate/jxl-anim-demux-belgium
 create mode 100644 tests/ref/fate/jxl-anim-demux-icos4d
 create mode 100644 tests/ref/fate/jxl-anim-demux-lenna256
 create mode 100644 tests/ref/fate/jxl-anim-demux-newton

-- 
2.41.0



More information about the ffmpeg-devel mailing list