OLD | NEW |
1 /* vim: set ts=8 sw=8 noexpandtab: */ | 1 /* vim: set ts=8 sw=8 noexpandtab: */ |
2 // qcms | 2 // qcms |
3 // Copyright (C) 2009 Mozilla Foundation | 3 // Copyright (C) 2009 Mozilla Foundation |
4 // | 4 // |
5 // Permission is hereby granted, free of charge, to any person obtaining | 5 // Permission is hereby granted, free of charge, to any person obtaining |
6 // a copy of this software and associated documentation files (the "Software"), | 6 // a copy of this software and associated documentation files (the "Software"), |
7 // to deal in the Software without restriction, including without limitation | 7 // to deal in the Software without restriction, including without limitation |
8 // the rights to use, copy, modify, merge, publish, distribute, sublicense, | 8 // the rights to use, copy, modify, merge, publish, distribute, sublicense, |
9 // and/or sell copies of the Software, and to permit persons to whom the Softwar
e | 9 // and/or sell copies of the Software, and to permit persons to whom the Softwar
e |
10 // is furnished to do so, subject to the following conditions: | 10 // is furnished to do so, subject to the following conditions: |
(...skipping 27 matching lines...) Expand all Loading... |
38 typedef int qcms_bool; | 38 typedef int qcms_bool; |
39 | 39 |
40 /* ICC Section 6.1.5 Color Space Signatures (abridged) */ | 40 /* ICC Section 6.1.5 Color Space Signatures (abridged) */ |
41 typedef enum { | 41 typedef enum { |
42 XYZData /* ‘XYZ ’ */ = 0x58595A20, | 42 XYZData /* ‘XYZ ’ */ = 0x58595A20, |
43 labData /* ‘Lab ’ */ = 0x4C616220, | 43 labData /* ‘Lab ’ */ = 0x4C616220, |
44 luvData /* ‘Luv ’ */ = 0x4C757620, | 44 luvData /* ‘Luv ’ */ = 0x4C757620, |
45 YCbCrData /* ‘YCbr' */ = 0x59436272, | 45 YCbCrData /* ‘YCbr' */ = 0x59436272, |
46 YxyData /* ‘Yxy ’ */ = 0x59787920, | 46 YxyData /* ‘Yxy ’ */ = 0x59787920, |
47 rgbData /* ‘RGB ’ */ = 0x52474220, | 47 rgbData /* ‘RGB ’ */ = 0x52474220, |
48 icSigRgbData = rgbData, // XXX: temporary alias for blink | |
49 grayData /* ‘GRAY’ */ = 0x47524159, | 48 grayData /* ‘GRAY’ */ = 0x47524159, |
50 hsvData /* ‘HSV ’ */ = 0x48535620, | 49 hsvData /* ‘HSV ’ */ = 0x48535620, |
51 hlsData /* ‘HLS ’ */ = 0x484C5320, | 50 hlsData /* ‘HLS ’ */ = 0x484C5320, |
52 cmykData /* ‘CMYK’ */ = 0x434D594B, | 51 cmykData /* ‘CMYK’ */ = 0x434D594B, |
53 cmyData /* ‘CMY ’ */ = 0x434D5920, | 52 cmyData /* ‘CMY ’ */ = 0x434D5920, |
54 } qcms_color_space; | 53 } qcms_color_space; |
55 | 54 |
56 /* ICC Section 6.1.11 Rendering Intents */ | 55 /* ICC Section 6.1.11 Rendering Intents */ |
57 typedef enum { | 56 typedef enum { |
58 QCMS_INTENT_DEFAULT = 0, | 57 QCMS_INTENT_DEFAULT = 0, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 } | 150 } |
152 #endif | 151 #endif |
153 | 152 |
154 /* | 153 /* |
155 * In general, QCMS is not threadsafe. However, it should be safe to create | 154 * In general, QCMS is not threadsafe. However, it should be safe to create |
156 * profile and transformation objects on different threads, so long as you | 155 * profile and transformation objects on different threads, so long as you |
157 * don't use the same objects on different threads at the same time. | 156 * don't use the same objects on different threads at the same time. |
158 */ | 157 */ |
159 | 158 |
160 #endif | 159 #endif |
OLD | NEW |