• Leo Izen's avatar
    avcodec/jpegxl_parser: add JPEG XL parser · 0c0dd23f
    Leo Izen authored
    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: 's avatarLeo Izen <leo.izen@gmail.com>
    0c0dd23f
jpegxl_parse.h 2.28 KB