Re: [FFmpeg-devel] [PATCH v14 4/4] avformat/image2: add Jpeg XL as image2 format

2022-04-15 Thread Andreas Rheinhardt
Leo Izen: > > On 4/15/22 07:34, Andreas Rheinhardt wrote: >> Leo Izen: >>> +static int jpegxl_probe(const AVProbeData *p) >>> +{ >>> +    const uint8_t *b = p->buf; >>> + >>> +    /* ISOBMFF-based container */ >>> +    /* 0x4a584c20 == "JXL " */ >>> +    if (AV_RL64(b) == FF_JPEGXL_CONTAINER_SIGNA

Re: [FFmpeg-devel] [PATCH v14 4/4] avformat/image2: add Jpeg XL as image2 format

2022-04-15 Thread Leo Izen
On 4/15/22 07:34, Andreas Rheinhardt wrote: Leo Izen: +static int jpegxl_probe(const AVProbeData *p) +{ +const uint8_t *b = p->buf; + +/* ISOBMFF-based container */ +/* 0x4a584c20 == "JXL " */ +if (AV_RL64(b) == FF_JPEGXL_CONTAINER_SIGNATURE_LE) +return AVPROBE_SCORE_EX

Re: [FFmpeg-devel] [PATCH v14 4/4] avformat/image2: add Jpeg XL as image2 format

2022-04-15 Thread Andreas Rheinhardt
Leo Izen: > This commit adds support to libavformat for muxing > and demuxing Jpeg XL images as image2 streams. > --- > MAINTAINERS| 1 + > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/img2.c | 1 + > libavformat/img2dec.c

[FFmpeg-devel] [PATCH v14 4/4] avformat/image2: add Jpeg XL as image2 format

2022-04-11 Thread Leo Izen
This commit adds support to libavformat for muxing and demuxing Jpeg XL images as image2 streams. --- MAINTAINERS| 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/img2.c | 1 + libavformat/img2dec.c | 18 ++ libavformat/img