Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: third_party/qcms/src/qcms.h

Issue 1155033003: [qcms] Add matrix transform flag and matrix extraction api (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Zero the transform flag at creation-time. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/qcms/README.chromium ('k') | third_party/qcms/src/qcmsint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2); 151 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2);
152 const char* qcms_profile_get_description(qcms_profile *profile); 152 const char* qcms_profile_get_description(qcms_profile *profile);
153 153
154 void qcms_profile_precache_output_transform(qcms_profile *profile); 154 void qcms_profile_precache_output_transform(qcms_profile *profile);
155 155
156 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile); 156 size_t qcms_profile_get_vcgt_channel_length(qcms_profile *profile);
157 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho rt *data); 157 qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho rt *data);
158 158
159 qcms_transform* qcms_transform_create( 159 qcms_transform* qcms_transform_create(
160 qcms_profile *in, qcms_data_type in_type, 160 qcms_profile *in, qcms_data_type in_type,
161 » » qcms_profile* out, qcms_data_type out_type, 161 » » qcms_profile *out, qcms_data_type out_type,
162 qcms_intent intent); 162 qcms_intent intent);
163 163
164 qcms_bool qcms_transform_is_matrix(qcms_transform *transform);
165 float qcms_transform_get_matrix(qcms_transform *transform, unsigned i, unsigned j);
166
164 qcms_bool qcms_transform_create_LUT_zyx_bgra( 167 qcms_bool qcms_transform_create_LUT_zyx_bgra(
165 » » qcms_profile *in, qcms_profile* out, qcms_intent intent, 168 » » qcms_profile *in, qcms_profile *out, qcms_intent intent,
166 int samples, unsigned char* lut); 169 int samples, unsigned char* lut);
167 170
168 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_ t length); 171 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_ t length);
169 void qcms_transform_data_type(qcms_transform *transform, void *src, void *dest, size_t length, qcms_output_type type); 172 void qcms_transform_data_type(qcms_transform *transform, void *src, void *dest, size_t length, qcms_output_type type);
170 173
171 void qcms_transform_release(qcms_transform *); 174 void qcms_transform_release(qcms_transform *);
172 175
173 void qcms_enable_iccv4(); 176 void qcms_enable_iccv4();
174 177
175 #ifdef __cplusplus 178 #ifdef __cplusplus
176 } 179 }
177 #endif 180 #endif
178 181
179 #endif 182 #endif
OLDNEW
« no previous file with comments | « third_party/qcms/README.chromium ('k') | third_party/qcms/src/qcmsint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698