From 250f2f0f758a5f3ea0f3174843dbf55fc73b1370 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 27 Jan 2024 23:09:32 +0100 Subject: WIP: Thread-safe colour management --- fiv-io.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fiv-io.c') diff --git a/fiv-io.c b/fiv-io.c index be15a18..eefc741 100644 --- a/fiv-io.c +++ b/fiv-io.c @@ -2055,7 +2055,7 @@ open_libraw( out: libraw_close(iprc); - return fiv_io_cmm_finalize(ctx->cmm, result, ctx->screen_profile); + return fiv_io_cmm_finish(ctx->cmm, result, ctx->screen_profile); } #endif // HAVE_LIBRAW --------------------------------------------------------- @@ -2232,7 +2232,7 @@ load_librsvg_render_internal(FivIoRenderClosureLibrsvg *self, double scale, fiv_io_image_unref(image); return NULL; } - return fiv_io_cmm_finalize(cmm, image, target); + return fiv_io_cmm_finish(cmm, image, target); } static FivIoImage * @@ -2606,7 +2606,7 @@ open_libheif( g_free(ids); fail_read: heif_context_free(ctx); - return fiv_io_cmm_finalize(ioctx->cmm, result, ioctx->screen_profile); + return fiv_io_cmm_finish(ioctx->cmm, result, ioctx->screen_profile); } #endif // HAVE_LIBHEIF -------------------------------------------------------- @@ -2837,7 +2837,7 @@ fail: TIFFSetWarningHandlerExt(whe); TIFFSetErrorHandler(eh); TIFFSetWarningHandler(wh); - return fiv_io_cmm_finalize(ctx->cmm, result, ctx->screen_profile); + return fiv_io_cmm_finish(ctx->cmm, result, ctx->screen_profile); } #endif // HAVE_LIBTIFF -------------------------------------------------------- @@ -2935,7 +2935,7 @@ open_gdkpixbuf( fiv_io_cmm_argb32_premultiply_page( ctx->cmm, image, ctx->screen_profile); else - image = fiv_io_cmm_finalize(ctx->cmm, image, ctx->screen_profile); + image = fiv_io_cmm_finish(ctx->cmm, image, ctx->screen_profile); return image; } -- cgit v1.2.3-70-g09d2