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.h | |
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.h')
-rw-r--r-- | fiv-io.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 ----------------------------------------------------------------- |