Lines Matching defs:jret
188 JxlDecoderStatus jret;
191 jret = JxlDecoderGetICCProfileSize(ctx->decoder, &ctx->jxl_pixfmt, JXL_COLOR_PROFILE_TARGET_DATA, &icc_len);
192 if (jret == JXL_DEC_SUCCESS && icc_len > 0) {
197 jret = JxlDecoderGetColorAsICCProfile(ctx->decoder, &ctx->jxl_pixfmt, JXL_COLOR_PROFILE_TARGET_DATA,
199 if (jret != JXL_DEC_SUCCESS) {
228 JxlDecoderStatus jret;
234 jret = JxlDecoderGetColorAsEncodedProfile(ctx->decoder, NULL, JXL_COLOR_PROFILE_TARGET_ORIGINAL, &jxl_color);
235 if (jret == JXL_DEC_SUCCESS) {
237 jret = JxlDecoderSetPreferredColorProfile(ctx->decoder, &jxl_color);
238 if (jret == JXL_DEC_SUCCESS)
239 jret = JxlDecoderGetColorAsEncodedProfile(ctx->decoder, &ctx->jxl_pixfmt, JXL_COLOR_PROFILE_TARGET_DATA, &jxl_color);
242 if (jret != JXL_DEC_SUCCESS)
299 jret = JxlDecoderSetPreferredColorProfile(ctx->decoder, &jxl_color);
300 if (jret != JXL_DEC_SUCCESS) {
326 JxlDecoderStatus jret;
332 jret = JxlDecoderSetInput(ctx->decoder, buf, remaining);
334 if (jret == JXL_DEC_ERROR) {
340 jret = JxlDecoderProcessInput(ctx->decoder);
349 switch(jret) {
427 av_log(avctx, AV_LOG_ERROR, "Bad libjxl event: %d\n", jret);