diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-01-27 23:09:32 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-01-27 23:10:32 +0100 |
commit | 250f2f0f758a5f3ea0f3174843dbf55fc73b1370 (patch) | |
tree | 4e05028c7b620e676a63953622e22883e1a81ad5 /fiv-io.c | |
parent | c6d89361a5e2a46818d67ce4a21856ddecc129a4 (diff) | |
download | fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.gz fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.xz fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.zip |
WIP: Thread-safe colour management
Diffstat (limited to 'fiv-io.c')
-rw-r--r-- | fiv-io.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |