avcodec/jpegxl_parser: add JPEG XL parser
Add a full parser to libavcodec for AV_CODEC_ID_JPEGXL. It finds the
end of the stream in order to packetize the codec, and it looks at
the headers to set preliminary information like dimensions and pixel
format.
Note that much of this code is duplicated from avformat/jpegxl_probe.c,
but that code will be removed and call this instead in the next commit.
Signed-off-by:
Leo Izen <leo.izen@gmail.com>
Showing
libavcodec/jpegxl.h
0 → 100644
libavcodec/jpegxl_parse.c
0 → 100644
This diff is collapsed.
libavcodec/jpegxl_parse.h
0 → 100644
libavcodec/jpegxl_parser.c
0 → 100644
This diff is collapsed.
Please register or sign in to comment