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

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

Issue 1703553002: [qcms] Provide an API to compute xyY gamut area relative to NTSC 1953 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed whitespace and variable rename Created 4 years, 10 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/qcms.gyp ('k') | third_party/qcms/src/qcms_util.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/qcms/qcms.gyp ('k') | third_party/qcms/src/qcms_util.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698