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) {
+
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) {
> >> +
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");
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
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