OLD | NEW |
1 #ifndef QCMS_H | 1 #ifndef QCMS_H |
2 #define QCMS_H | 2 #define QCMS_H |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 /* if we've already got an ICC_H header we can ignore the following */ | 8 /* if we've already got an ICC_H header we can ignore the following */ |
9 #ifndef ICC_H | 9 #ifndef ICC_H |
10 /* icc34 defines */ | 10 /* icc34 defines */ |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 QCMS_INTENT_RELATIVE_COLORIMETRIC = 1, | 92 QCMS_INTENT_RELATIVE_COLORIMETRIC = 1, |
93 QCMS_INTENT_SATURATION = 2, | 93 QCMS_INTENT_SATURATION = 2, |
94 QCMS_INTENT_ABSOLUTE_COLORIMETRIC = 3 | 94 QCMS_INTENT_ABSOLUTE_COLORIMETRIC = 3 |
95 } qcms_intent; | 95 } qcms_intent; |
96 | 96 |
97 //XXX: I don't really like the _DATA_ prefix | 97 //XXX: I don't really like the _DATA_ prefix |
98 typedef enum { | 98 typedef enum { |
99 QCMS_DATA_RGB_8, | 99 QCMS_DATA_RGB_8, |
100 QCMS_DATA_RGBA_8, | 100 QCMS_DATA_RGBA_8, |
101 QCMS_DATA_GRAY_8, | 101 QCMS_DATA_GRAY_8, |
102 » QCMS_DATA_GRAYA_8 | 102 » QCMS_DATA_GRAYA_8, |
| 103 » QCMS_DATA_BGRA_8 |
103 } qcms_data_type; | 104 } qcms_data_type; |
104 | 105 |
105 /* the names for the following two types are sort of ugly */ | 106 /* the names for the following two types are sort of ugly */ |
106 typedef struct | 107 typedef struct |
107 { | 108 { |
108 double x; | 109 double x; |
109 double y; | 110 double y; |
110 double Y; | 111 double Y; |
111 } qcms_CIE_xyY; | 112 } qcms_CIE_xyY; |
112 | 113 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 148 |
148 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_
t length); | 149 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_
t length); |
149 | 150 |
150 void qcms_enable_iccv4(); | 151 void qcms_enable_iccv4(); |
151 | 152 |
152 #ifdef __cplusplus | 153 #ifdef __cplusplus |
153 } | 154 } |
154 #endif | 155 #endif |
155 | 156 |
156 #endif | 157 #endif |
OLD | NEW |