diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2020-02-21 08:07:25 -0800 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-03-23 19:52:27 +0000 |
commit | 9aba3df9895f58759f74d6b47f9434c2730d87f4 (patch) | |
tree | 993c4cef6a69d30451232363787d2510561c80ff /lib/colord/cd-icc-utils.h | |
parent | 6d64e4cc8b6846bed6a242ff90403c0310208fdc (diff) | |
download | colord-9aba3df9895f58759f74d6b47f9434c2730d87f4.tar.gz |
libcolord: Add cd_icc_utils_get_adaptation_matrix
Window systems such as gnome-shell can use this to calculate a color transform
matrix (CTM) to plug into typical desktop display hardware.
Diffstat (limited to 'lib/colord/cd-icc-utils.h')
-rw-r--r-- | lib/colord/cd-icc-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/colord/cd-icc-utils.h b/lib/colord/cd-icc-utils.h index e46c0a6..49af3f6 100644 --- a/lib/colord/cd-icc-utils.h +++ b/lib/colord/cd-icc-utils.h @@ -29,6 +29,7 @@ #include <glib-object.h> #include "cd-icc.h" +#include "cd-math.h" G_BEGIN_DECLS @@ -37,6 +38,11 @@ gboolean cd_icc_utils_get_coverage (CdIcc *icc, gdouble *coverage, GError **error); +gboolean cd_icc_utils_get_adaptation_matrix (CdIcc *icc, + CdIcc *icc_reference, + CdMat3x3 *out, + GError **error); + G_END_DECLS #endif /* __CD_ICC_UTILS_H__ */ |