| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 qcms_bool qcms_profile_white_transform(qcms_profile *profile, float XYZ[3]); | 125 qcms_bool qcms_profile_white_transform(qcms_profile *profile, float XYZ[3]); |
| 126 | 126 |
| 127 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2); | 127 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2); |
| 128 const char* qcms_profile_get_description(qcms_profile *profile); | 128 const char* qcms_profile_get_description(qcms_profile *profile); |
| 129 | 129 |
| 130 void qcms_profile_precache_output_transform(qcms_profile *profile); | 130 void qcms_profile_precache_output_transform(qcms_profile *profile); |
| 131 | 131 |
| 132 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile); | 132 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile); |
| 133 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho
rt *data); | 133 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho
rt *data); |
| 134 | 134 |
| 135 float qcms_profile_ntsc_relative_gamut_size(qcms_profile *profile); |
| 136 |
| 135 qcms_transform* qcms_transform_create( | 137 qcms_transform* qcms_transform_create( |
| 136 qcms_profile *in, qcms_data_type in_type, | 138 qcms_profile *in, qcms_data_type in_type, |
| 137 qcms_profile *out, qcms_data_type out_type, | 139 qcms_profile *out, qcms_data_type out_type, |
| 138 qcms_intent intent); | 140 qcms_intent intent); |
| 139 | 141 |
| 140 size_t qcms_transform_get_input_trc_rgba( | 142 size_t qcms_transform_get_input_trc_rgba( |
| 141 qcms_transform *transform, qcms_profile *in, qcms_trc_type type,
unsigned short *data); | 143 qcms_transform *transform, qcms_profile *in, qcms_trc_type type,
unsigned short *data); |
| 142 size_t qcms_transform_get_output_trc_rgba( | 144 size_t qcms_transform_get_output_trc_rgba( |
| 143 qcms_transform *transform, qcms_profile *out, qcms_trc_type type
, unsigned short *data); | 145 qcms_transform *transform, qcms_profile *out, qcms_trc_type type
, unsigned short *data); |
| 144 | 146 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 160 } | 162 } |
| 161 #endif | 163 #endif |
| 162 | 164 |
| 163 /* | 165 /* |
| 164 * In general, QCMS is not threadsafe. However, it should be safe to create | 166 * In general, QCMS is not threadsafe. However, it should be safe to create |
| 165 * profile and transformation objects on different threads, so long as you | 167 * profile and transformation objects on different threads, so long as you |
| 166 * don't use the same objects on different threads at the same time. | 168 * don't use the same objects on different threads at the same time. |
| 167 */ | 169 */ |
| 168 | 170 |
| 169 #endif | 171 #endif |
| OLD | NEW |