summaryrefslogtreecommitdiff
path: root/xicc/xfit.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
commit094535c010320967639e8e86f974d878e80baa72 (patch)
treeefc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /xicc/xfit.h
parentc07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff)
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'xicc/xfit.h')
-rw-r--r--xicc/xfit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xicc/xfit.h b/xicc/xfit.h
index 519f071..14b4ecc 100644
--- a/xicc/xfit.h
+++ b/xicc/xfit.h
@@ -70,6 +70,7 @@ typedef struct {
/* Context for optimising input and output luts */
struct _xfit {
+ icc *picc; /* ICC profile used to set cone space matrix, NULL for Bradford. */
int verb; /* Verbose */
int flags; /* Behaviour flags */
int di, fdi; /* Dimensionaluty of input and output */
@@ -170,6 +171,7 @@ struct _xfit {
int gres[MXDI], /* clut resolutions being optimised for/returned */
double out_min[MXDO], /* Output value scaling/range minimum */
double out_max[MXDO], /* Output value scaling/range maximum */
+// co *bpo, /* If != NULL, black point override in same spaces as ipoints */
double smooth, /* clut rspl smoothing factor */
double oavgdev[MXDO], /* Average output value deviation */
double demph, /* dark emphasis factor for cLUT grid res. */
@@ -200,7 +202,8 @@ struct _xfit {
}; typedef struct _xfit xfit;
-xfit *new_xfit();
+/* The icc is to provide the cone space matrix. If NULL, Bradford will be used. */
+xfit *new_xfit(icc *picc);
#endif /* XFIT_H */