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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 #ifdef _WIN32 | 107 #ifdef _WIN32 |
108 qcms_profile* qcms_profile_from_unicode_path(const wchar_t *path); | 108 qcms_profile* qcms_profile_from_unicode_path(const wchar_t *path); |
109 #endif | 109 #endif |
110 qcms_profile* qcms_profile_sRGB(void); | 110 qcms_profile* qcms_profile_sRGB(void); |
111 void qcms_profile_release(qcms_profile *profile); | 111 void qcms_profile_release(qcms_profile *profile); |
112 | 112 |
113 qcms_bool qcms_profile_is_bogus(qcms_profile *profile); | 113 qcms_bool qcms_profile_is_bogus(qcms_profile *profile); |
114 qcms_intent qcms_profile_get_rendering_intent(qcms_profile *profile); | 114 qcms_intent qcms_profile_get_rendering_intent(qcms_profile *profile); |
115 qcms_color_space qcms_profile_get_color_space(qcms_profile *profile); | 115 qcms_color_space qcms_profile_get_color_space(qcms_profile *profile); |
116 unsigned qcms_profile_get_version(qcms_profile *profile); | 116 unsigned qcms_profile_get_version(qcms_profile *profile); |
| 117 qcms_bool qcms_profile_white_transform(qcms_profile *profile, float XYZ[3]); |
117 | 118 |
118 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2); | 119 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2); |
119 const char* qcms_profile_get_description(qcms_profile *profile); | 120 const char* qcms_profile_get_description(qcms_profile *profile); |
120 | 121 |
121 void qcms_profile_precache_output_transform(qcms_profile *profile); | 122 void qcms_profile_precache_output_transform(qcms_profile *profile); |
122 | 123 |
123 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile); | 124 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile); |
124 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho
rt *data); | 125 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho
rt *data); |
125 | 126 |
126 qcms_transform* qcms_transform_create( | 127 qcms_transform* qcms_transform_create( |
(...skipping 24 matching lines...) Expand all Loading... |
151 } | 152 } |
152 #endif | 153 #endif |
153 | 154 |
154 /* | 155 /* |
155 * In general, QCMS is not threadsafe. However, it should be safe to create | 156 * 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 | 157 * 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. | 158 * don't use the same objects on different threads at the same time. |
158 */ | 159 */ |
159 | 160 |
160 #endif | 161 #endif |
OLD | NEW |