summaryrefslogtreecommitdiff
path: root/spectro/insttypes.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-03 20:38:41 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-03 20:38:41 +0100
commitba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch)
tree27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /spectro/insttypes.h
parent69aec3b712232e93600ecd741269fed1f90b412a (diff)
parent3abb40d43649adb3807180692d8579c405524675 (diff)
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/insttypes.h')
-rwxr-xr-x[-rw-r--r--]spectro/insttypes.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/spectro/insttypes.h b/spectro/insttypes.h
index 8306bc8..104b25d 100644..100755
--- a/spectro/insttypes.h
+++ b/spectro/insttypes.h
@@ -65,21 +65,23 @@ typedef enum {
instFakeDisp = 9998, /* Fake display & instrument device id */
+#ifdef ENABLE_VTPGLUT
/* 3D cLUT box */
- // 20000
+ devRadiance = 20000, /* Lumagen Radiance v3dlut & vtpg */
+ devPrisma, /* Q, Inc Prisma v3dlut */
/* Video test patern generator box */
// 30000
+#endif
+
- /* Printers */
- devEpsonR1800 = 40000 /* Epson R1800 printer */
} devType;
/* Aliases for backwards compatibility */
#define instUnknown devUnknown
typedef devType instType;
-typedef devType cLUTType;
+typedef devType vcLUTType;
typedef devType vtpgType;
typedef devType printerType;
@@ -90,7 +92,7 @@ enum _icom_type;
/* Given a device type, return the corrsponding */
/* category */
-//extern _icom_type inst_category(instType itype);
+//extern _icom_type dev_category(instType itype);
/* Given its instrument type, return the matching */
/* short instrument name (static string), */
@@ -127,6 +129,24 @@ int nep); /* Number of end points (0 for prelim match) */
extern int inst_illuminant(xspect *sp, instType itype);
+/* ------------------------------------------------------ */
+/* Gretag/X-Rite specific reflective measurement standard */
+
+typedef enum {
+ xcalstd_none = -2, /* Not set */
+ xcalstd_native = -1, /* No conversion */
+ xcalstd_xrdi = 0, /* Historical X-Rite */
+ xcalstd_gmdi = 1, /* Historical Gretag-Macbeth */
+ xcalstd_xrga = 2, /* Current X-Rite */
+} xcalstd;
+
+/* Return a string for the xcalstd enum */
+char *xcalstd2str(xcalstd std);
+
+/* Parse a string to xcalstd, */
+/* return xcalstd_none if not recognized */
+xcalstd str2xcalstd(char *str);
+
#ifdef __cplusplus
}
#endif