Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/jpegxl_parser: add JPEG XL parser

2023-06-22 Thread James Almer
On 6/21/2023 9:43 PM, Leo Izen wrote: +static int jpegxl_parse(AVCodecParserContext *s, AVCodecContext *avctx, +const uint8_t **poutbuf, int *poutbuf_size, +const uint8_t *buf, int buf_size) +{ +JXLParseContext *ctx = s->priv_data; +int ret;

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/jpegxl_parser: add JPEG XL parser

2023-06-21 Thread James Almer
On 6/21/2023 10:06 PM, Leo Izen wrote: On 6/21/23 20:59, James Almer wrote: On 6/21/2023 9:43 PM, Leo Izen wrote: diff --git a/libavcodec/jpegxl_parse.c b/libavcodec/jpegxl_parse.c new file mode 100644 index 00..be360acb08 --- /dev/null +++ b/libavcodec/jpegxl_parse.c @@ -0,0 +1,22 @@ +

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/jpegxl_parser: add JPEG XL parser

2023-06-21 Thread Leo Izen
On 6/21/23 20:59, James Almer wrote: On 6/21/2023 9:43 PM, Leo Izen wrote: diff --git a/libavcodec/jpegxl_parse.c b/libavcodec/jpegxl_parse.c new file mode 100644 index 00..be360acb08 --- /dev/null +++ b/libavcodec/jpegxl_parse.c @@ -0,0 +1,22 @@ +/* + * JPEG XL Header Parser + * Copyrig

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/jpegxl_parser: add JPEG XL parser

2023-06-21 Thread James Almer
On 6/21/2023 9:43 PM, Leo Izen wrote: diff --git a/libavcodec/jpegxl_parse.c b/libavcodec/jpegxl_parse.c new file mode 100644 index 00..be360acb08 --- /dev/null +++ b/libavcodec/jpegxl_parse.c @@ -0,0 +1,22 @@ +/* + * JPEG XL Header Parser + * Copyright (c) 2023 Leo Izen + * + * This file