summaryrefslogtreecommitdiff
path: root/xicc/xfit.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:24:15 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:24:15 +0200
commita30ba67504ffd12c4db499adbb5ce47a7d1f6036 (patch)
tree9ae1a7e3849dda6bbb5c578232f6f2fa5b2e7e7e /xicc/xfit.h
parent89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff)
parent094535c010320967639e8e86f974d878e80baa72 (diff)
New release 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 */