about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlcms2_private.h
blob: d9c5e931f57e3157c21710229f3376f29cc9ab08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error Meh....
#endif

//GO(_cms15Fixed16toDouble, 
//GO(_cms8Fixed8toDouble, 
//GO(cmsAdaptToIlluminant, 
//GO(_cmsAdjustEndianess16, 
//GO(_cmsAdjustEndianess32, 
//GO(_cmsAdjustEndianess64, 
//GO(cmsAllocNamedColorList, 
//GO(cmsAllocProfileSequenceDescription, 
//GO(cmsAppendNamedColor, 
//GO(cmsBFDdeltaE, 
//GO(cmsBuildGamma, 
//GO(cmsBuildParametricToneCurve, 
//GO(cmsBuildSegmentedToneCurve, 
//GO(cmsBuildTabulatedToneCurve16, 
//GO(cmsBuildTabulatedToneCurveFloat, 
//GO(_cmsCalloc, 
//GO(cmsChangeBuffersFormat, 
GO(cmsChannelsOf, uFu)
//GO(cmsCIE2000DeltaE, 
//GO(cmsCIE94DeltaE, 
//GO(cmsCIECAM02Done, 
//GO(cmsCIECAM02Forward, 
//GO(cmsCIECAM02Init, 
//GO(cmsCIECAM02Reverse, 
//GO(cmsCloseIOhandler, 
GO(cmsCloseProfile, iFp)
//GO(cmsCMCdeltaE, 
//GO(_cmsComputeInterpParams, 
//GO(cmsCreateBCHSWabstractProfile, 
//GO(cmsCreateBCHSWabstractProfileTHR, 
//GO(cmsCreateContext, 
//GO(cmsCreateExtendedTransform, 
//GO(cmsCreateGrayProfile, 
//GO(cmsCreateGrayProfileTHR, 
//GO(cmsCreateInkLimitingDeviceLink, 
//GO(cmsCreateInkLimitingDeviceLinkTHR, 
//GO(cmsCreateLab2Profile, 
//GO(cmsCreateLab2ProfileTHR, 
//GO(cmsCreateLab4Profile, 
//GO(cmsCreateLab4ProfileTHR, 
//GO(cmsCreateLinearizationDeviceLink, 
//GO(cmsCreateLinearizationDeviceLinkTHR, 
//GO(cmsCreateMultiprofileTransform, 
//GO(cmsCreateMultiprofileTransformTHR, 
//GO(_cmsCreateMutex, 
//GO(cmsCreateNULLProfile, 
//GO(cmsCreateNULLProfileTHR, 
//GO(cmsCreateProfilePlaceholder, 
//GO(cmsCreateProofingTransform, 
//GO(cmsCreateProofingTransformTHR, 
//GO(cmsCreateRGBProfile, 
//GO(cmsCreateRGBProfileTHR, 
GO(cmsCreate_sRGBProfile, pFp)
//GO(cmsCreate_sRGBProfileTHR, 
GO(cmsCreateTransform, pFppupuuu)
//GO(cmsCreateTransformTHR, 
//GO(cmsCreateXYZProfile, 
//GO(cmsCreateXYZProfileTHR, 
//GO(cmsD50_xyY, 
//GO(cmsD50_XYZ, 
//GO(_cmsDecodeDateTimeNumber, 
//GO(_cmsDefaultICCintents, 
//GO(cmsDeleteContext, 
GO(cmsDeleteTransform, vFp)
//GO(cmsDeltaE, 
//GO(cmsDesaturateLab, 
//GO(_cmsDestroyMutex, 
//GO(cmsDetectBlackPoint, 
//GO(cmsDetectDestinationBlackPoint, 
//GO(cmsDetectTAC, 
//GO(cmsDictAddEntry, 
//GO(cmsDictAlloc, 
//GO(cmsDictDup, 
//GO(cmsDictFree, 
//GO(cmsDictGetEntryList, 
//GO(cmsDictNextEntry, 
GO(cmsDoTransform, vFpppu)
//GO(cmsDoTransformLineStride, 
GO(cmsDoTransformStride, vFpppii)
//GO(_cmsDoubleTo15Fixed16, 
//GO(_cmsDoubleTo8Fixed8, 
//GO(cmsDupContext, 
//GO(_cmsDupMem, 
//GO(cmsDupNamedColorList, 
//GO(cmsDupProfileSequenceDescription, 
//GO(cmsDupToneCurve, 
//GO(_cmsEncodeDateTimeNumber, 
//GO(cmsEstimateGamma, 
//GO(cmsEvalToneCurve16, 
//GO(cmsEvalToneCurveFloat, 
//GO(cmsfilelength, 
//GO(_cmsFloat2Half, 
//GO(cmsFloat2LabEncoded, 
//GO(cmsFloat2LabEncodedV2, 
//GO(cmsFloat2XYZEncoded, 
//GO(cmsFormatterForColorspaceOfProfile, 
//GO(cmsFormatterForPCSOfProfile, 
//GO(_cmsFree, 
//GO(_cmsFreeInterpParams, 
//GO(cmsFreeNamedColorList, 
//GO(cmsFreeProfileSequenceDescription, 
//GO(cmsFreeToneCurve, 
//GO(cmsFreeToneCurveTriple, 
//GO(cmsGBDAlloc, 
//GO(cmsGBDFree, 
//GO(cmsGDBAddPoint, 
//GO(cmsGDBCheckPoint, 
//GO(cmsGDBCompute, 
//GO(cmsGetAlarmCodes, 
//GO(cmsGetAlarmCodesTHR, 
GO(cmsGetColorSpace, iFp)
//GO(cmsGetContextUserData, 
//GO(cmsGetDeviceClass, 
//GO(cmsGetEncodedCMMversion, 
//GO(cmsGetEncodedICCversion, 
//GO(_cmsGetFormatter, 
//GO(cmsGetHeaderAttributes, 
//GO(cmsGetHeaderCreationDateTime, 
//GO(cmsGetHeaderCreator, 
//GO(cmsGetHeaderFlags, 
//GO(cmsGetHeaderManufacturer, 
//GO(cmsGetHeaderModel, 
//GO(cmsGetHeaderProfileID, 
//GO(cmsGetHeaderRenderingIntent, 
//GO(cmsGetNamedColorList, 
//GO(cmsGetPCS, 
//GO(cmsGetPipelineContextID, 
//GO(cmsGetPostScriptColorResource, 
//GO(cmsGetPostScriptCRD, 
//GO(cmsGetPostScriptCSA, 
//GO(cmsGetProfileContextID, 
//GO(cmsGetProfileInfo, 
//GO(cmsGetProfileInfoASCII, 
//GO(cmsGetProfileIOhandler, 
//GO(cmsGetProfileVersion, 
//GO(cmsGetSupportedIntents, 
//GO(cmsGetSupportedIntentsTHR, 
//GO(cmsGetTagCount, 
//GO(cmsGetTagSignature, 
//GO(cmsGetToneCurveEstimatedTable, 
//GO(cmsGetToneCurveEstimatedTableEntries, 
//GO(cmsGetToneCurveParametricType, 
//GO(cmsGetToneCurveParams, 
//GO(cmsGetTransformContextID, 
//GO(_cmsGetTransformFlags, 
//GO(_cmsGetTransformFormatters16, 
//GO(_cmsGetTransformFormattersFloat, 
//GO(cmsGetTransformInputFormat, 
//GO(cmsGetTransformOutputFormat, 
//GO(_cmsGetTransformUserData, 
//GO(_cmsHalf2Float, 
//GO(_cmsICCcolorSpace, 
//GO(_cmsIOPrintf, 
//GO(cmsIsCLUT, 
//GO(cmsIsIntentSupported, 
//GO(cmsIsMatrixShaper, 
//GO(cmsIsTag, 
//GO(cmsIsToneCurveDescending, 
//GO(cmsIsToneCurveLinear, 
//GO(cmsIsToneCurveMonotonic, 
//GO(cmsIsToneCurveMultisegment, 
//GO(cmsIT8Alloc, 
//GO(cmsIT8DefineDblFormat, 
//GO(cmsIT8EnumDataFormat, 
//GO(cmsIT8EnumProperties, 
//GO(cmsIT8EnumPropertyMulti, 
//GO(cmsIT8FindDataFormat, 
//GO(cmsIT8Free, 
//GO(cmsIT8GetData, 
//GO(cmsIT8GetDataDbl, 
//GO(cmsIT8GetDataRowCol, 
//GO(cmsIT8GetDataRowColDbl, 
//GO(cmsIT8GetPatchByName, 
//GO(cmsIT8GetPatchName, 
//GO(cmsIT8GetProperty, 
//GO(cmsIT8GetPropertyDbl, 
//GO(cmsIT8GetPropertyMulti, 
//GO(cmsIT8GetSheetType, 
//GO(cmsIT8LoadFromFile, 
//GO(cmsIT8LoadFromMem, 
//GO(cmsIT8SaveToFile, 
//GO(cmsIT8SaveToMem, 
//GO(cmsIT8SetComment, 
//GO(cmsIT8SetData, 
//GO(cmsIT8SetDataDbl, 
//GO(cmsIT8SetDataFormat, 
//GO(cmsIT8SetDataRowCol, 
//GO(cmsIT8SetDataRowColDbl, 
//GO(cmsIT8SetIndexColumn, 
//GO(cmsIT8SetPropertyDbl, 
//GO(cmsIT8SetPropertyHex, 
//GO(cmsIT8SetPropertyMulti, 
//GO(cmsIT8SetPropertyStr, 
//GO(cmsIT8SetPropertyUncooked, 
//GO(cmsIT8SetSheetType, 
//GO(cmsIT8SetTable, 
//GO(cmsIT8SetTableByLabel, 
//GO(cmsIT8TableCount, 
//GO(cmsJoinToneCurve, 
//GO(cmsLab2LCh, 
//GO(cmsLab2XYZ, 
//GO(cmsLabEncoded2Float, 
//GO(cmsLabEncoded2FloatV2, 
//GO(cmsLCh2Lab, 
//GO(_cmsLCMScolorSpace, 
//GO(cmsLinkTag, 
//GO(_cmsLockMutex, 
//GO(_cmsMalloc, 
//GO(_cmsMallocZero, 
//GO(_cmsMAT3eval, 
//GO(_cmsMAT3identity, 
//GO(_cmsMAT3inverse, 
//GO(_cmsMAT3isIdentity, 
//GO(_cmsMAT3per, 
//GO(_cmsMAT3solve, 
//GO(cmsMD5add, 
//GO(cmsMD5alloc, 
//GO(cmsMD5computeID, 
//GO(cmsMD5finish, 
//GO(cmsMLUalloc, 
//GO(cmsMLUdup, 
//GO(cmsMLUfree, 
//GO(cmsMLUgetASCII, 
//GO(cmsMLUgetTranslation, 
//GO(cmsMLUgetWide, 
//GO(cmsMLUsetASCII, 
//GO(cmsMLUsetWide, 
//GO(cmsMLUtranslationsCodes, 
//GO(cmsMLUtranslationsCount, 
//GO(cmsNamedColorCount, 
//GO(cmsNamedColorIndex, 
//GO(cmsNamedColorInfo, 
//GO(cmsOpenIOhandlerFromFile, 
//GO(cmsOpenIOhandlerFromMem, 
//GO(cmsOpenIOhandlerFromNULL, 
//GO(cmsOpenIOhandlerFromStream, 
GO(cmsOpenProfileFromFile, pFpp)
//GO(cmsOpenProfileFromFileTHR, 
//GO(cmsOpenProfileFromIOhandler2THR, 
//GO(cmsOpenProfileFromIOhandlerTHR, 
GO(cmsOpenProfileFromMem, pFpu)
//GO(cmsOpenProfileFromMemTHR, 
//GO(cmsOpenProfileFromStream, 
//GO(cmsOpenProfileFromStreamTHR, 
//GO(_cmsOptimizePipeline, 
//GO(cmsPipelineAlloc, 
//GO(cmsPipelineCat, 
//GO(cmsPipelineCheckAndRetreiveStages, 
//GO(cmsPipelineDup, 
//GO(cmsPipelineEval16, 
//GO(cmsPipelineEvalFloat, 
//GO(cmsPipelineEvalReverseFloat, 
//GO(cmsPipelineFree, 
//GO(cmsPipelineGetPtrToFirstStage, 
//GO(cmsPipelineGetPtrToLastStage, 
//GO(cmsPipelineInputChannels, 
//GO(cmsPipelineInsertStage, 
//GO(cmsPipelineOutputChannels, 
//GO(_cmsPipelineSetOptimizationParameters, 
//GO(cmsPipelineSetSaveAs8bitsFlag, 
//GO(cmsPipelineStageCount, 
//GO(cmsPipelineUnlinkStage, 
//GO(cmsPlugin, 
//GO(cmsPluginTHR, 
//GO(_cmsQuantizeVal, 
//GO(_cmsRead15Fixed16Number, 
//GO(_cmsReadAlignment, 
//GO(_cmsReadDevicelinkLUT, 
//GO(_cmsReadFloat32Number, 
//GO(_cmsReadInputLUT, 
//GO(_cmsReadOutputLUT, 
//GO(cmsReadRawTag, 
//GO(cmsReadTag, 
//GO(_cmsReadTypeBase, 
//GO(_cmsReadUInt16Array, 
//GO(_cmsReadUInt16Number, 
//GO(_cmsReadUInt32Number, 
//GO(_cmsReadUInt64Number, 
//GO(_cmsReadUInt8Number, 
//GO(_cmsReadXYZNumber, 
//GO(_cmsRealloc, 
//GO(_cmsReasonableGridpointsByColorspace, 
//GO(cmsReverseToneCurve, 
//GO(cmsReverseToneCurveEx, 
//GO(cmsSaveProfileToFile, 
//GO(cmsSaveProfileToIOhandler, 
//GO(cmsSaveProfileToMem, 
//GO(cmsSaveProfileToStream, 
//GO(cmsSetAdaptationState, 
//GO(cmsSetAdaptationStateTHR, 
//GO(cmsSetAlarmCodes, 
//GO(cmsSetAlarmCodesTHR, 
//GO(cmsSetColorSpace, 
//GO(cmsSetDeviceClass, 
//GO(cmsSetEncodedICCversion, 
//GO(cmsSetHeaderAttributes, 
//GO(cmsSetHeaderFlags, 
//GO(cmsSetHeaderManufacturer, 
//GO(cmsSetHeaderModel, 
//GO(cmsSetHeaderProfileID, 
//GO(cmsSetHeaderRenderingIntent, 
//GO(cmsSetLogErrorHandler, 
//GO(cmsSetLogErrorHandlerTHR, 
//GO(cmsSetPCS, 
//GO(cmsSetProfileVersion, 
//GO(_cmsSetTransformUserData, 
//GO(cmsSignalError, 
//GO(cmsSliceSpace16, 
//GO(cmsSliceSpaceFloat, 
//GO(cmsSmoothToneCurve, 
//GO(cmsStageAllocCLut16bit, 
//GO(cmsStageAllocCLut16bitGranular, 
//GO(cmsStageAllocCLutFloat, 
//GO(cmsStageAllocCLutFloatGranular, 
//GO(cmsStageAllocIdentity, 
//GO(_cmsStageAllocIdentityCLut, 
//GO(_cmsStageAllocIdentityCurves, 
//GO(_cmsStageAllocLab2XYZ, 
//GO(_cmsStageAllocLabV2ToV4, 
//GO(_cmsStageAllocLabV4ToV2, 
//GO(cmsStageAllocMatrix, 
//GO(_cmsStageAllocNamedColor, 
//GO(_cmsStageAllocPlaceholder, 
//GO(cmsStageAllocToneCurves, 
//GO(_cmsStageAllocXYZ2Lab, 
//GO(cmsStageData, 
//GO(cmsStageDup, 
//GO(cmsStageFree, 
//GO(cmsStageInputChannels, 
//GO(cmsStageNext, 
//GO(cmsStageOutputChannels, 
//GO(cmsStageSampleCLut16bit, 
//GO(cmsStageSampleCLutFloat, 
//GO(cmsStageType, 
//GO(cmsstrcasecmp, 
//GO(cmsTagLinkedTo, 
//GO(cmsTempFromWhitePoint, 
//GO(cmsTransform2DeviceLink, 
//GO(_cmsUnlockMutex, 
//GO(cmsUnregisterPlugins, 
//GO(cmsUnregisterPluginsTHR, 
//GO(_cmsVEC3cross, 
//GO(_cmsVEC3distance, 
//GO(_cmsVEC3dot, 
//GO(_cmsVEC3init, 
//GO(_cmsVEC3length, 
//GO(_cmsVEC3minus, 
//GO(cmsWhitePointFromTemp, 
//GO(_cmsWrite15Fixed16Number, 
//GO(_cmsWriteAlignment, 
//GO(_cmsWriteFloat32Number, 
//GO(cmsWriteRawTag, 
//GO(cmsWriteTag, 
//GO(_cmsWriteTypeBase, 
//GO(_cmsWriteUInt16Array, 
//GO(_cmsWriteUInt16Number, 
//GO(_cmsWriteUInt32Number, 
//GO(_cmsWriteUInt64Number, 
//GO(_cmsWriteUInt8Number, 
//GO(_cmsWriteXYZNumber, 
//GO(cmsxyY2XYZ, 
//GO(cmsXYZ2Lab, 
//GO(cmsXYZ2xyY, 
//GO(cmsXYZEncoded2Float,