summaryrefslogtreecommitdiff
path: root/xicc/xcal.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:25:17 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:25:17 +0200
commitc2ca7be5a751879159f3cb591a64bb9568b79762 (patch)
tree04e38d4f4a2aad4d789bda0a65b7abb80a3439a2 /xicc/xcal.h
parent45c152c326d87478fbf41714b4b8e2f7b57a282b (diff)
parent3db384424bd7398ffbb7a355cab8f15f3add009f (diff)
Updated version 1.9.1+repack from 'upstream/1.9.1+repack'
with Debian dir 98a996367aa69ae41accf9c6d369f600bc94de80
Diffstat (limited to 'xicc/xcal.h')
-rw-r--r--xicc/xcal.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/xicc/xcal.h b/xicc/xcal.h
index f7c3fa9..c70b884 100644
--- a/xicc/xcal.h
+++ b/xicc/xcal.h
@@ -3,8 +3,11 @@
#define XCAL_H
/*
- * Argyll Color Correction System
* Calibration curve class.
+ */
+
+/*
+ * Argyll Color Correction System
*
* Author: Graeme W. Gill
* Date: 30/10/2005
@@ -20,6 +23,18 @@
* when computing ink limits.
*/
+#ifdef SALONEINSTLIB
+
+/* Sub-set of profile Creation Suplimental Information structure */
+struct _profxinf {
+ char *deviceMfgDesc; /* Manufacturer text description, NULL for none */
+ char *modelDesc; /* Model text description, NULL for none */
+ char *profDesc; /* Text profile description, NULL for default */
+ char *copyright; /* Copyrigh text, NULL for default */
+}; typedef struct _profxinf profxinf;
+
+#endif /* SALONEINSTLIB */
+
struct _xcal {
/* Public: */
@@ -29,9 +44,11 @@ struct _xcal {
/* Return nz if this fails (filename is for error messages) */
int (*read_cgats) (struct _xcal *p, cgats *cg, int table, char *filename);
+#ifndef SALONEINSTLIB
/* Read a calibration file from an ICC vcgt tag */
/* Return nz if this fails */
int (*read_icc) (struct _xcal *p, icc *c);
+#endif
/* Read a calibration file */
/* Return nz if this fails */
@@ -48,16 +65,20 @@ struct _xcal {
/* Translate values through the curves. */
void (*interp) (struct _xcal *p, double *out, double *in);
+#ifndef SALONEINSTLIB
/* Translate a value backwards through the curves. */
/* Return nz if the inversion fails */
int (*inv_interp) (struct _xcal *p, double *out, double *in);
+#endif
/* Translate a value through one of the curves */
double (*interp_ch) (struct _xcal *p, int ch, double in);
+#ifndef SALONEINSTLIB
/* Translate a value backwards through one of the curves */
/* Return -1.0 if the inversion fails */
double (*inv_interp_ch) (struct _xcal *p, int ch, double in);
+#endif
int noramdac; /* Set to nz if there was no VideoLUT access */
int tvenc; /* nz if this cal was created using (16-235)/255 Video encoding */