aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-01-27 23:09:32 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-01-27 23:10:32 +0100
commit250f2f0f758a5f3ea0f3174843dbf55fc73b1370 (patch)
tree4e05028c7b620e676a63953622e22883e1a81ad5 /fiv-io.h
parentc6d89361a5e2a46818d67ce4a21856ddecc129a4 (diff)
downloadfiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.gz
fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.xz
fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.zip
WIP: Thread-safe colour management
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fiv-io.h b/fiv-io.h
index bc88509..94a15e1 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -28,8 +28,6 @@ typedef struct _FivIoImage FivIoImage;
// --- Colour management -------------------------------------------------------
-void fiv_io_cmm_init(void);
-
// TODO(p): Make it also possible to use Skia's skcms.
// TODO(p): Profiles might want to keep references to their CMM contexts.
typedef void *FivIoProfile;
@@ -39,7 +37,7 @@ void fiv_io_profile_free(FivIoProfile *self);
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define FIV_TYPE_IO_CMM (fiv_io_cmm_get_type())
-G_DECLARE_FINAL_TYPE(FivIoCmm, fiv_io_cmm, FIV, CMM, GObject)
+G_DECLARE_FINAL_TYPE(FivIoCmm, fiv_io_cmm, FIV, IO_CMM, GObject)
FivIoCmm *fiv_io_cmm_get_default();
@@ -70,8 +68,8 @@ void fiv_io_cmm_page(FivIoCmm *self, FivIoImage *page, FivIoProfile *target,
void fiv_io_cmm_any(FivIoCmm *self,
FivIoImage *image, FivIoProfile *source, FivIoProfile *target);
-FivIoImage *fiv_io_cmm_finalize(
- FivIoCmm *self, FivIoImage *image, FivIoProfile *target);
+FivIoImage *fiv_io_cmm_finish(FivIoCmm *self,
+ FivIoImage *image, FivIoProfile *target);
// --- Loading -----------------------------------------------------------------