Re: [FFmpeg-devel] [PATCH v14 3/4] avcodec/libjxl: add Jpeg XL encoding via libjxl

2022-04-15 Thread Leo Izen
On 4/15/22 06:39, Anton Khirnov wrote: Quoting Leo Izen (2022-04-15 03:37:20) On 4/14/22 13:49, Anton Khirnov wrote: Quoting Leo Izen (2022-04-12 07:53:32) + +while (1) { +jret = JxlEncoderProcessOutput(ctx->encoder, &next_out, &available); +if (jret == JXL_ENC_ERROR) { +

Re: [FFmpeg-devel] [PATCH v14 3/4] avcodec/libjxl: add Jpeg XL encoding via libjxl

2022-04-15 Thread Anton Khirnov
Quoting Leo Izen (2022-04-15 03:37:20) > > On 4/14/22 13:49, Anton Khirnov wrote: > > Quoting Leo Izen (2022-04-12 07:53:32) > >> + > >> +while (1) { > >> +jret = JxlEncoderProcessOutput(ctx->encoder, &next_out, > >> &available); > >> +if (jret == JXL_ENC_ERROR) { > >> +

Re: [FFmpeg-devel] [PATCH v14 3/4] avcodec/libjxl: add Jpeg XL encoding via libjxl

2022-04-14 Thread Leo Izen
On 4/14/22 13:49, Anton Khirnov wrote: Quoting Leo Izen (2022-04-12 07:53:32) + +while (1) { +jret = JxlEncoderProcessOutput(ctx->encoder, &next_out, &available); +if (jret == JXL_ENC_ERROR) { +av_log(avctx, AV_LOG_ERROR, "Unspecified libjxl error occurred\n");

Re: [FFmpeg-devel] [PATCH v14 3/4] avcodec/libjxl: add Jpeg XL encoding via libjxl

2022-04-14 Thread Anton Khirnov
Quoting Leo Izen (2022-04-12 07:53:32) > + > +while (1) { > +jret = JxlEncoderProcessOutput(ctx->encoder, &next_out, &available); > +if (jret == JXL_ENC_ERROR) { > +av_log(avctx, AV_LOG_ERROR, "Unspecified libjxl error > occurred\n"); > +return AVERROR_E

[FFmpeg-devel] [PATCH v14 3/4] avcodec/libjxl: add Jpeg XL encoding via libjxl

2022-04-11 Thread Leo Izen
This commit adds encoding support to libavcodec for Jpeg XL images via the external library libjxl. --- configure | 3 +- libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libjxlenc.c | 382 + 4 files changed, 386 inse