diff options
author | Leo Izen <leo.izen@gmail.com> | 2023-07-10 18:05:53 -0400 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2023-08-27 01:36:08 -0400 |
commit | 0c0dd23fe1102313742092c4760596971755814e (patch) | |
tree | fdf98d1bdea33f0d7255bb86a099ef50e0f94e3c /libavcodec/parsers.c | |
parent | 7a69f7312e84f95c6ed08cee45ffee0db7e9a58e (diff) | |
download | ffmpeg-0c0dd23fe1102313742092c4760596971755814e.tar.gz |
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>
Diffstat (limited to 'libavcodec/parsers.c')
-rw-r--r-- | libavcodec/parsers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/parsers.c b/libavcodec/parsers.c index 285f81a901..a663b9e253 100644 --- a/libavcodec/parsers.c +++ b/libavcodec/parsers.c @@ -55,6 +55,7 @@ extern const AVCodecParser ff_hevc_parser; extern const AVCodecParser ff_hdr_parser; extern const AVCodecParser ff_ipu_parser; extern const AVCodecParser ff_jpeg2000_parser; +extern const AVCodecParser ff_jpegxl_parser; extern const AVCodecParser ff_misc4_parser; extern const AVCodecParser ff_mjpeg_parser; extern const AVCodecParser ff_mlp_parser; |