w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

lcms2.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------
2 //
3 // Little Color Management System
4 // Copyright (c) 1998-2020 Marti Maria Saguer
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining
7 // a copy of this software and associated documentation files (the "Software"),
8 // to deal in the Software without restriction, including without limitation
9 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 // and/or sell copies of the Software, and to permit persons to whom the Software
11 // is furnished to do so, subject to the following conditions:
12 //
13 // The above copyright notice and this permission notice shall be included in
14 // all copies or substantial portions of the Software.
15 //
16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
18 // THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 //
24 //---------------------------------------------------------------------------------
25 //
26 // Version 2.11
27 //
28 
29 #ifndef _lcms2_H
30 
31 // ********** Configuration toggles ****************************************
32 
33 // Uncomment this one if you are using big endian machines
34 // #define CMS_USE_BIG_ENDIAN 1
35 
36 // Uncomment this one if your compiler/machine does NOT support the
37 // "long long" type.
38 // #define CMS_DONT_USE_INT64 1
39 
40 // Uncomment this if your compiler doesn't work with fast floor function
41 // #define CMS_DONT_USE_FAST_FLOOR 1
42 
43 // Uncomment this line if you want lcms to use the black point tag in profile,
44 // if commented, lcms will compute the black point by its own.
45 // It is safer to leave it commented out
46 // #define CMS_USE_PROFILE_BLACK_POINT_TAG 1
47 
48 // Uncomment this line if you are compiling as C++ and want a C++ API
49 // #define CMS_USE_CPP_API
50 
51 // Uncomment this line if you need strict CGATS syntax. Makes CGATS files to
52 // require "KEYWORD" on undefined identifiers, keep it commented out unless needed
53 // #define CMS_STRICT_CGATS 1
54 
55 // Uncomment to get rid of the tables for "half" float support
56 // #define CMS_NO_HALF_SUPPORT 1
57 
58 // Uncomment to get rid of pthreads/windows dependency
59 // #define CMS_NO_PTHREADS 1
60 
61 // Uncomment this for special windows mutex initialization (see lcms2_internal.h)
62 // #define CMS_RELY_ON_WINDOWS_STATIC_MUTEX_INIT
63 
64 // Uncomment this to remove the "register" storage class
65 // #define CMS_NO_REGISTER_KEYWORD 1
66 
67 // ********** End of configuration toggles ******************************
68 
69 // Needed for streams
70 #include <stdio.h>
71 
72 // Needed for portability (C99 per 7.1.2)
73 #include <limits.h>
74 #include <time.h>
75 #include <stddef.h>
76 
77 #ifndef CMS_USE_CPP_API
78 # ifdef __cplusplus
79 extern "C" {
80 # endif
81 #endif
82 
83 // Version/release
84 #define LCMS_VERSION 2100
85 
86 // I will give the chance of redefining basic types for compilers that are not fully C99 compliant
87 #ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
88 
89 // Base types
90 typedef unsigned char cmsUInt8Number; // That is guaranteed by the C99 spec
91 typedef signed char cmsInt8Number; // That is guaranteed by the C99 spec
92 
93 #if CHAR_BIT != 8
94 # error "Unable to find 8 bit type, unsupported compiler"
95 #endif
96 
97 // IEEE float storage numbers
98 typedef float cmsFloat32Number;
99 typedef double cmsFloat64Number;
100 
101 // 16-bit base types
102 #if (USHRT_MAX == 65535U)
103  typedef unsigned short cmsUInt16Number;
104 #elif (UINT_MAX == 65535U)
105  typedef unsigned int cmsUInt16Number;
106 #else
107 # error "Unable to find 16 bits unsigned type, unsupported compiler"
108 #endif
109 
110 #if (SHRT_MAX == 32767)
111  typedef short cmsInt16Number;
112 #elif (INT_MAX == 32767)
113  typedef int cmsInt16Number;
114 #else
115 # error "Unable to find 16 bits signed type, unsupported compiler"
116 #endif
117 
118 // 32-bit base type
119 #if (UINT_MAX == 4294967295U)
120  typedef unsigned int cmsUInt32Number;
121 #elif (ULONG_MAX == 4294967295U)
122  typedef unsigned long cmsUInt32Number;
123 #else
124 # error "Unable to find 32 bit unsigned type, unsupported compiler"
125 #endif
126 
127 #if (INT_MAX == +2147483647)
128  typedef int cmsInt32Number;
129 #elif (LONG_MAX == +2147483647)
130  typedef long cmsInt32Number;
131 #else
132 # error "Unable to find 32 bit signed type, unsupported compiler"
133 #endif
134 
135 // 64-bit base types
136 #ifndef CMS_DONT_USE_INT64
137 # if (ULONG_MAX == 18446744073709551615U)
138  typedef unsigned long cmsUInt64Number;
139 # elif (ULLONG_MAX == 18446744073709551615U)
140  typedef unsigned long long cmsUInt64Number;
141 # else
142 # define CMS_DONT_USE_INT64 1
143 # endif
144 # if (LONG_MAX == +9223372036854775807)
145  typedef long cmsInt64Number;
146 # elif (LLONG_MAX == +9223372036854775807)
147  typedef long long cmsInt64Number;
148 # else
149 # define CMS_DONT_USE_INT64 1
150 # endif
151 #endif
152 #endif
153 
154 // Handle "register" keyword
155 #if defined(CMS_NO_REGISTER_KEYWORD) && !defined(CMS_DLL) && !defined(CMS_DLL_BUILD)
156 # define CMSREGISTER
157 #else
158 # define CMSREGISTER register
159 #endif
160 
161 // In the case 64 bit numbers are not supported by the compiler
162 #ifdef CMS_DONT_USE_INT64
164  typedef cmsInt32Number cmsInt64Number[2];
165 #endif
166 
167 // Derivative types
170 typedef cmsInt32Number cmsS15Fixed16Number;
172 
173 // Boolean type, which will be using the native integer
174 typedef int cmsBool;
175 
176 // Try to detect windows
177 #if defined (_WIN32) || defined(_WIN64) || defined(WIN32) || defined(_WIN32_)
178 # define CMS_IS_WINDOWS_ 1
179 #endif
180 
181 #ifdef _MSC_VER
182 # define CMS_IS_WINDOWS_ 1
183 #endif
184 
185 #ifdef __BORLANDC__
186 # define CMS_IS_WINDOWS_ 1
187 #endif
188 
189 // Try to detect big endian platforms. This list can be endless, so primarily rely on the configure script
190 // on Unix-like systems, and allow it to be set on the compiler command line using
191 // -DCMS_USE_BIG_ENDIAN or something similar
192 #ifdef CMS_USE_BIG_ENDIAN // set at compiler command line takes overall precedence
193 
194 # if CMS_USE_BIG_ENDIAN == 0
195 # undef CMS_USE_BIG_ENDIAN
196 # endif
197 
198 #else // CMS_USE_BIG_ENDIAN
199 
200 # ifdef WORDS_BIGENDIAN // set by configure (or explicitly on compiler command line)
201 # define CMS_USE_BIG_ENDIAN 1
202 # else // WORDS_BIGENDIAN
203 // Fall back to platform/compiler specific tests
204 # if defined(__sgi__) || defined(__sgi) || defined(sparc)
205 # define CMS_USE_BIG_ENDIAN 1
206 # endif
207 
208 # if defined(__s390__) || defined(__s390x__)
209 # define CMS_USE_BIG_ENDIAN 1
210 # endif
211 
212 # ifdef macintosh
213 # ifdef __BIG_ENDIAN__
214 # define CMS_USE_BIG_ENDIAN 1
215 # endif
216 # ifdef __LITTLE_ENDIAN__
217 # undef CMS_USE_BIG_ENDIAN
218 # endif
219 # endif
220 # endif // WORDS_BIGENDIAN
221 
222 # if defined(_HOST_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
223 # define CMS_USE_BIG_ENDIAN 1
224 # endif
225 
226 #endif // CMS_USE_BIG_ENDIAN
227 
228 
229 // Calling convention -- this is hardly platform and compiler dependent
230 #ifdef CMS_IS_WINDOWS_
231 # if defined(CMS_DLL) || defined(CMS_DLL_BUILD)
232 # ifdef __BORLANDC__
233 # define CMSEXPORT __stdcall _export
234 # define CMSAPI
235 # else
236 # define CMSEXPORT __stdcall
237 # ifdef CMS_DLL_BUILD
238 # define CMSAPI __declspec(dllexport)
239 # else
240 # define CMSAPI __declspec(dllimport)
241 # endif
242 # endif
243 # else
244 # define CMSEXPORT
245 # define CMSAPI
246 # endif
247 #else // not Windows
248 # ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
249 # define CMSEXPORT
250 # define CMSAPI __attribute__((visibility("default")))
251 # else
252 # define CMSEXPORT
253 # define CMSAPI
254 # endif
255 #endif // CMS_IS_WINDOWS_
256 
257 #ifdef HasTHREADS
258 # if HasTHREADS == 1
259 # undef CMS_NO_PTHREADS
260 # else
261 # define CMS_NO_PTHREADS 1
262 # endif
263 #endif
264 
265 // Some common definitions
266 #define cmsMAX_PATH 256
267 
268 #ifndef FALSE
269 # define FALSE 0
270 #endif
271 #ifndef TRUE
272 # define TRUE 1
273 #endif
274 
275 // D50 XYZ normalized to Y=1.0
276 #define cmsD50X 0.9642
277 #define cmsD50Y 1.0
278 #define cmsD50Z 0.8249
279 
280 // V4 perceptual black
281 #define cmsPERCEPTUAL_BLACK_X 0.00336
282 #define cmsPERCEPTUAL_BLACK_Y 0.0034731
283 #define cmsPERCEPTUAL_BLACK_Z 0.00287
284 
285 // Definitions in ICC spec
286 #define cmsMagicNumber 0x61637370 // 'acsp'
287 #define lcmsSignature 0x6c636d73 // 'lcms'
288 
289 
290 // Base ICC type definitions
291 typedef enum {
292  cmsSigChromaticityType = 0x6368726D, // 'chrm'
293  cmsSigColorantOrderType = 0x636C726F, // 'clro'
294  cmsSigColorantTableType = 0x636C7274, // 'clrt'
295  cmsSigCrdInfoType = 0x63726469, // 'crdi'
296  cmsSigCurveType = 0x63757276, // 'curv'
297  cmsSigDataType = 0x64617461, // 'data'
298  cmsSigDictType = 0x64696374, // 'dict'
299  cmsSigDateTimeType = 0x6474696D, // 'dtim'
300  cmsSigDeviceSettingsType = 0x64657673, // 'devs'
301  cmsSigLut16Type = 0x6d667432, // 'mft2'
302  cmsSigLut8Type = 0x6d667431, // 'mft1'
303  cmsSigLutAtoBType = 0x6d414220, // 'mAB '
304  cmsSigLutBtoAType = 0x6d424120, // 'mBA '
305  cmsSigMeasurementType = 0x6D656173, // 'meas'
306  cmsSigMultiLocalizedUnicodeType = 0x6D6C7563, // 'mluc'
307  cmsSigMultiProcessElementType = 0x6D706574, // 'mpet'
308  cmsSigNamedColorType = 0x6E636f6C, // 'ncol' -- DEPRECATED!
309  cmsSigNamedColor2Type = 0x6E636C32, // 'ncl2'
310  cmsSigParametricCurveType = 0x70617261, // 'para'
311  cmsSigProfileSequenceDescType = 0x70736571, // 'pseq'
312  cmsSigProfileSequenceIdType = 0x70736964, // 'psid'
313  cmsSigResponseCurveSet16Type = 0x72637332, // 'rcs2'
314  cmsSigS15Fixed16ArrayType = 0x73663332, // 'sf32'
315  cmsSigScreeningType = 0x7363726E, // 'scrn'
316  cmsSigSignatureType = 0x73696720, // 'sig '
317  cmsSigTextType = 0x74657874, // 'text'
318  cmsSigTextDescriptionType = 0x64657363, // 'desc'
319  cmsSigU16Fixed16ArrayType = 0x75663332, // 'uf32'
320  cmsSigUcrBgType = 0x62666420, // 'bfd '
321  cmsSigUInt16ArrayType = 0x75693136, // 'ui16'
322  cmsSigUInt32ArrayType = 0x75693332, // 'ui32'
323  cmsSigUInt64ArrayType = 0x75693634, // 'ui64'
324  cmsSigUInt8ArrayType = 0x75693038, // 'ui08'
325  cmsSigVcgtType = 0x76636774, // 'vcgt'
326  cmsSigViewingConditionsType = 0x76696577, // 'view'
327  cmsSigXYZType = 0x58595A20 // 'XYZ '
328 
329 
331 
332 // Base ICC tag definitions
333 typedef enum {
334  cmsSigAToB0Tag = 0x41324230, // 'A2B0'
335  cmsSigAToB1Tag = 0x41324231, // 'A2B1'
336  cmsSigAToB2Tag = 0x41324232, // 'A2B2'
337  cmsSigBlueColorantTag = 0x6258595A, // 'bXYZ'
338  cmsSigBlueMatrixColumnTag = 0x6258595A, // 'bXYZ'
339  cmsSigBlueTRCTag = 0x62545243, // 'bTRC'
340  cmsSigBToA0Tag = 0x42324130, // 'B2A0'
341  cmsSigBToA1Tag = 0x42324131, // 'B2A1'
342  cmsSigBToA2Tag = 0x42324132, // 'B2A2'
343  cmsSigCalibrationDateTimeTag = 0x63616C74, // 'calt'
344  cmsSigCharTargetTag = 0x74617267, // 'targ'
345  cmsSigChromaticAdaptationTag = 0x63686164, // 'chad'
346  cmsSigChromaticityTag = 0x6368726D, // 'chrm'
347  cmsSigColorantOrderTag = 0x636C726F, // 'clro'
348  cmsSigColorantTableTag = 0x636C7274, // 'clrt'
349  cmsSigColorantTableOutTag = 0x636C6F74, // 'clot'
351  cmsSigCopyrightTag = 0x63707274, // 'cprt'
352  cmsSigCrdInfoTag = 0x63726469, // 'crdi'
353  cmsSigDataTag = 0x64617461, // 'data'
354  cmsSigDateTimeTag = 0x6474696D, // 'dtim'
355  cmsSigDeviceMfgDescTag = 0x646D6E64, // 'dmnd'
356  cmsSigDeviceModelDescTag = 0x646D6464, // 'dmdd'
357  cmsSigDeviceSettingsTag = 0x64657673, // 'devs'
358  cmsSigDToB0Tag = 0x44324230, // 'D2B0'
359  cmsSigDToB1Tag = 0x44324231, // 'D2B1'
360  cmsSigDToB2Tag = 0x44324232, // 'D2B2'
361  cmsSigDToB3Tag = 0x44324233, // 'D2B3'
362  cmsSigBToD0Tag = 0x42324430, // 'B2D0'
363  cmsSigBToD1Tag = 0x42324431, // 'B2D1'
364  cmsSigBToD2Tag = 0x42324432, // 'B2D2'
365  cmsSigBToD3Tag = 0x42324433, // 'B2D3'
366  cmsSigGamutTag = 0x67616D74, // 'gamt'
367  cmsSigGrayTRCTag = 0x6b545243, // 'kTRC'
368  cmsSigGreenColorantTag = 0x6758595A, // 'gXYZ'
369  cmsSigGreenMatrixColumnTag = 0x6758595A, // 'gXYZ'
370  cmsSigGreenTRCTag = 0x67545243, // 'gTRC'
371  cmsSigLuminanceTag = 0x6C756d69, // 'lumi'
372  cmsSigMeasurementTag = 0x6D656173, // 'meas'
373  cmsSigMediaBlackPointTag = 0x626B7074, // 'bkpt'
374  cmsSigMediaWhitePointTag = 0x77747074, // 'wtpt'
375  cmsSigNamedColorTag = 0x6E636f6C, // 'ncol' // Deprecated by the ICC
376  cmsSigNamedColor2Tag = 0x6E636C32, // 'ncl2'
377  cmsSigOutputResponseTag = 0x72657370, // 'resp'
379  cmsSigPreview0Tag = 0x70726530, // 'pre0'
380  cmsSigPreview1Tag = 0x70726531, // 'pre1'
381  cmsSigPreview2Tag = 0x70726532, // 'pre2'
382  cmsSigProfileDescriptionTag = 0x64657363, // 'desc'
383  cmsSigProfileDescriptionMLTag = 0x6473636d, // 'dscm'
384  cmsSigProfileSequenceDescTag = 0x70736571, // 'pseq'
385  cmsSigProfileSequenceIdTag = 0x70736964, // 'psid'
386  cmsSigPs2CRD0Tag = 0x70736430, // 'psd0'
387  cmsSigPs2CRD1Tag = 0x70736431, // 'psd1'
388  cmsSigPs2CRD2Tag = 0x70736432, // 'psd2'
389  cmsSigPs2CRD3Tag = 0x70736433, // 'psd3'
390  cmsSigPs2CSATag = 0x70733273, // 'ps2s'
391  cmsSigPs2RenderingIntentTag = 0x70733269, // 'ps2i'
392  cmsSigRedColorantTag = 0x7258595A, // 'rXYZ'
393  cmsSigRedMatrixColumnTag = 0x7258595A, // 'rXYZ'
394  cmsSigRedTRCTag = 0x72545243, // 'rTRC'
396  cmsSigScreeningDescTag = 0x73637264, // 'scrd'
397  cmsSigScreeningTag = 0x7363726E, // 'scrn'
398  cmsSigTechnologyTag = 0x74656368, // 'tech'
399  cmsSigUcrBgTag = 0x62666420, // 'bfd '
400  cmsSigViewingCondDescTag = 0x76756564, // 'vued'
401  cmsSigViewingConditionsTag = 0x76696577, // 'view'
402  cmsSigVcgtTag = 0x76636774, // 'vcgt'
403  cmsSigMetaTag = 0x6D657461, // 'meta'
404  cmsSigArgyllArtsTag = 0x61727473 // 'arts'
405 
407 
408 
409 // ICC Technology tag
410 typedef enum {
411  cmsSigDigitalCamera = 0x6463616D, // 'dcam'
412  cmsSigFilmScanner = 0x6673636E, // 'fscn'
413  cmsSigReflectiveScanner = 0x7273636E, // 'rscn'
414  cmsSigInkJetPrinter = 0x696A6574, // 'ijet'
415  cmsSigThermalWaxPrinter = 0x74776178, // 'twax'
416  cmsSigElectrophotographicPrinter = 0x6570686F, // 'epho'
417  cmsSigElectrostaticPrinter = 0x65737461, // 'esta'
418  cmsSigDyeSublimationPrinter = 0x64737562, // 'dsub'
419  cmsSigPhotographicPaperPrinter = 0x7270686F, // 'rpho'
420  cmsSigFilmWriter = 0x6670726E, // 'fprn'
421  cmsSigVideoMonitor = 0x7669646D, // 'vidm'
422  cmsSigVideoCamera = 0x76696463, // 'vidc'
423  cmsSigProjectionTelevision = 0x706A7476, // 'pjtv'
424  cmsSigCRTDisplay = 0x43525420, // 'CRT '
425  cmsSigPMDisplay = 0x504D4420, // 'PMD '
426  cmsSigAMDisplay = 0x414D4420, // 'AMD '
427  cmsSigPhotoCD = 0x4B504344, // 'KPCD'
428  cmsSigPhotoImageSetter = 0x696D6773, // 'imgs'
429  cmsSigGravure = 0x67726176, // 'grav'
430  cmsSigOffsetLithography = 0x6F666673, // 'offs'
431  cmsSigSilkscreen = 0x73696C6B, // 'silk'
432  cmsSigFlexography = 0x666C6578, // 'flex'
433  cmsSigMotionPictureFilmScanner = 0x6D706673, // 'mpfs'
434  cmsSigMotionPictureFilmRecorder = 0x6D706672, // 'mpfr'
435  cmsSigDigitalMotionPictureCamera = 0x646D7063, // 'dmpc'
436  cmsSigDigitalCinemaProjector = 0x64636A70 // 'dcpj'
437 
439 
440 
441 // ICC Color spaces
442 typedef enum {
443  cmsSigXYZData = 0x58595A20, // 'XYZ '
444  cmsSigLabData = 0x4C616220, // 'Lab '
445  cmsSigLuvData = 0x4C757620, // 'Luv '
446  cmsSigYCbCrData = 0x59436272, // 'YCbr'
447  cmsSigYxyData = 0x59787920, // 'Yxy '
448  cmsSigRgbData = 0x52474220, // 'RGB '
449  cmsSigGrayData = 0x47524159, // 'GRAY'
450  cmsSigHsvData = 0x48535620, // 'HSV '
451  cmsSigHlsData = 0x484C5320, // 'HLS '
452  cmsSigCmykData = 0x434D594B, // 'CMYK'
453  cmsSigCmyData = 0x434D5920, // 'CMY '
454  cmsSigMCH1Data = 0x4D434831, // 'MCH1'
455  cmsSigMCH2Data = 0x4D434832, // 'MCH2'
456  cmsSigMCH3Data = 0x4D434833, // 'MCH3'
457  cmsSigMCH4Data = 0x4D434834, // 'MCH4'
458  cmsSigMCH5Data = 0x4D434835, // 'MCH5'
459  cmsSigMCH6Data = 0x4D434836, // 'MCH6'
460  cmsSigMCH7Data = 0x4D434837, // 'MCH7'
461  cmsSigMCH8Data = 0x4D434838, // 'MCH8'
462  cmsSigMCH9Data = 0x4D434839, // 'MCH9'
463  cmsSigMCHAData = 0x4D434841, // 'MCHA'
464  cmsSigMCHBData = 0x4D434842, // 'MCHB'
465  cmsSigMCHCData = 0x4D434843, // 'MCHC'
466  cmsSigMCHDData = 0x4D434844, // 'MCHD'
467  cmsSigMCHEData = 0x4D434845, // 'MCHE'
468  cmsSigMCHFData = 0x4D434846, // 'MCHF'
469  cmsSigNamedData = 0x6e6d636c, // 'nmcl'
470  cmsSig1colorData = 0x31434C52, // '1CLR'
471  cmsSig2colorData = 0x32434C52, // '2CLR'
472  cmsSig3colorData = 0x33434C52, // '3CLR'
473  cmsSig4colorData = 0x34434C52, // '4CLR'
474  cmsSig5colorData = 0x35434C52, // '5CLR'
475  cmsSig6colorData = 0x36434C52, // '6CLR'
476  cmsSig7colorData = 0x37434C52, // '7CLR'
477  cmsSig8colorData = 0x38434C52, // '8CLR'
478  cmsSig9colorData = 0x39434C52, // '9CLR'
479  cmsSig10colorData = 0x41434C52, // 'ACLR'
480  cmsSig11colorData = 0x42434C52, // 'BCLR'
481  cmsSig12colorData = 0x43434C52, // 'CCLR'
482  cmsSig13colorData = 0x44434C52, // 'DCLR'
483  cmsSig14colorData = 0x45434C52, // 'ECLR'
484  cmsSig15colorData = 0x46434C52, // 'FCLR'
485  cmsSigLuvKData = 0x4C75764B // 'LuvK'
486 
488 
489 // ICC Profile Class
490 typedef enum {
491  cmsSigInputClass = 0x73636E72, // 'scnr'
492  cmsSigDisplayClass = 0x6D6E7472, // 'mntr'
493  cmsSigOutputClass = 0x70727472, // 'prtr'
494  cmsSigLinkClass = 0x6C696E6B, // 'link'
495  cmsSigAbstractClass = 0x61627374, // 'abst'
496  cmsSigColorSpaceClass = 0x73706163, // 'spac'
497  cmsSigNamedColorClass = 0x6e6d636c // 'nmcl'
498 
500 
501 // ICC Platforms
502 typedef enum {
503  cmsSigMacintosh = 0x4150504C, // 'APPL'
504  cmsSigMicrosoft = 0x4D534654, // 'MSFT'
505  cmsSigSolaris = 0x53554E57, // 'SUNW'
506  cmsSigSGI = 0x53474920, // 'SGI '
507  cmsSigTaligent = 0x54474E54, // 'TGNT'
508  cmsSigUnices = 0x2A6E6978 // '*nix' // From argyll -- Not official
509 
511 
512 // Reference gamut
513 #define cmsSigPerceptualReferenceMediumGamut 0x70726d67 //'prmg'
514 
515 // For cmsSigColorimetricIntentImageStateTag
516 #define cmsSigSceneColorimetryEstimates 0x73636F65 //'scoe'
517 #define cmsSigSceneAppearanceEstimates 0x73617065 //'sape'
518 #define cmsSigFocalPlaneColorimetryEstimates 0x66706365 //'fpce'
519 #define cmsSigReflectionHardcopyOriginalColorimetry 0x72686F63 //'rhoc'
520 #define cmsSigReflectionPrintOutputColorimetry 0x72706F63 //'rpoc'
521 
522 // Multi process elements types
523 typedef enum {
524  cmsSigCurveSetElemType = 0x63767374, //'cvst'
525  cmsSigMatrixElemType = 0x6D617466, //'matf'
526  cmsSigCLutElemType = 0x636C7574, //'clut'
527 
528  cmsSigBAcsElemType = 0x62414353, // 'bACS'
529  cmsSigEAcsElemType = 0x65414353, // 'eACS'
530 
531  // Custom from here, not in the ICC Spec
532  cmsSigXYZ2LabElemType = 0x6C327820, // 'l2x '
533  cmsSigLab2XYZElemType = 0x78326C20, // 'x2l '
534  cmsSigNamedColorElemType = 0x6E636C20, // 'ncl '
535  cmsSigLabV2toV4 = 0x32203420, // '2 4 '
536  cmsSigLabV4toV2 = 0x34203220, // '4 2 '
537 
538  // Identities
539  cmsSigIdentityElemType = 0x69646E20, // 'idn '
540 
541  // Float to floatPCS
542  cmsSigLab2FloatPCS = 0x64326C20, // 'd2l '
543  cmsSigFloatPCS2Lab = 0x6C326420, // 'l2d '
544  cmsSigXYZ2FloatPCS = 0x64327820, // 'd2x '
545  cmsSigFloatPCS2XYZ = 0x78326420, // 'x2d '
546  cmsSigClipNegativesElemType = 0x636c7020 // 'clp '
547 
549 
550 // Types of CurveElements
551 typedef enum {
552 
553  cmsSigFormulaCurveSeg = 0x70617266, // 'parf'
554  cmsSigSampledCurveSeg = 0x73616D66, // 'samf'
555  cmsSigSegmentedCurve = 0x63757266 // 'curf'
556 
558 
559 // Used in ResponseCurveType
560 #define cmsSigStatusA 0x53746141 //'StaA'
561 #define cmsSigStatusE 0x53746145 //'StaE'
562 #define cmsSigStatusI 0x53746149 //'StaI'
563 #define cmsSigStatusT 0x53746154 //'StaT'
564 #define cmsSigStatusM 0x5374614D //'StaM'
565 #define cmsSigDN 0x444E2020 //'DN '
566 #define cmsSigDNP 0x444E2050 //'DN P'
567 #define cmsSigDNN 0x444E4E20 //'DNN '
568 #define cmsSigDNNP 0x444E4E50 //'DNNP'
569 
570 // Device attributes, currently defined values correspond to the low 4 bytes
571 // of the 8 byte attribute quantity
572 #define cmsReflective 0
573 #define cmsTransparency 1
574 #define cmsGlossy 0
575 #define cmsMatte 2
576 
577 // Common structures in ICC tags
578 typedef struct {
582 
583 } cmsICCData;
584 
585 // ICC date time
586 typedef struct {
593 
595 
596 // ICC XYZ
597 typedef struct {
601 
603 
604 
605 // Profile ID as computed by MD5 algorithm
606 typedef union {
607  cmsUInt8Number ID8[16];
610 
611 } cmsProfileID;
612 
613 
614 // ----------------------------------------------------------------------------------------------
615 // ICC profile internal base types. Strictly, shouldn't be declared in this header, but maybe
616 // somebody want to use this info for accessing profile header directly, so here it is.
617 
618 // Profile header -- it is 32-bit aligned, so no issues are expected on alignment
619 typedef struct {
620  cmsUInt32Number size; // Profile size in bytes
621  cmsSignature cmmId; // CMM for this profile
622  cmsUInt32Number version; // Format version number
624  cmsColorSpaceSignature colorSpace; // Color space of data
625  cmsColorSpaceSignature pcs; // PCS, XYZ or Lab only
626  cmsDateTimeNumber date; // Date profile was created
627  cmsSignature magic; // Magic Number to identify an ICC profile
628  cmsPlatformSignature platform; // Primary Platform
629  cmsUInt32Number flags; // Various bit settings
630  cmsSignature manufacturer; // Device manufacturer
631  cmsUInt32Number model; // Device model number
632  cmsUInt64Number attributes; // Device attributes
633  cmsUInt32Number renderingIntent;// Rendering intent
634  cmsEncodedXYZNumber illuminant; // Profile illuminant
635  cmsSignature creator; // Profile creator
636  cmsProfileID profileID; // Profile ID using MD5
637  cmsInt8Number reserved[28]; // Reserved for future use
638 
639 } cmsICCHeader;
640 
641 // ICC base tag
642 typedef struct {
645 
646 } cmsTagBase;
647 
648 // A tag entry in directory
649 typedef struct {
650  cmsTagSignature sig; // The tag signature
651  cmsUInt32Number offset; // Start of tag
652  cmsUInt32Number size; // Size in bytes
653 
654 } cmsTagEntry;
655 
656 // ----------------------------------------------------------------------------------------------
657 
658 // Little CMS specific typedefs
659 
660 typedef void* cmsHANDLE ; // Generic handle
661 typedef void* cmsHPROFILE; // Opaque typedefs to hide internals
662 typedef void* cmsHTRANSFORM;
663 
664 #define cmsMAXCHANNELS 16 // Maximum number of channels in ICC profiles
665 
666 // Format of pixel is defined by one cmsUInt32Number, using bit fields as follows
667 //
668 // 2 1 0
669 // 3 2 10987 6 5 4 3 2 1 098 7654 321
670 // A O TTTTT U Y F P X S EEE CCCC BBB
671 //
672 // A: Floating point -- With this flag we can differentiate 16 bits as float and as int
673 // O: Optimized -- previous optimization already returns the final 8-bit value
674 // T: Pixeltype
675 // F: Flavor 0=MinIsBlack(Chocolate) 1=MinIsWhite(Vanilla)
676 // P: Planar? 0=Chunky, 1=Planar
677 // X: swap 16 bps endianness?
678 // S: Do swap? ie, BGR, KYMC
679 // E: Extra samples
680 // C: Channels (Samples per pixel)
681 // B: bytes per sample
682 // Y: Swap first - changes ABGR to BGRA and KCMY to CMYK
683 
684 #define FLOAT_SH(a) ((a) << 22)
685 #define OPTIMIZED_SH(s) ((s) << 21)
686 #define COLORSPACE_SH(s) ((s) << 16)
687 #define SWAPFIRST_SH(s) ((s) << 14)
688 #define FLAVOR_SH(s) ((s) << 13)
689 #define PLANAR_SH(p) ((p) << 12)
690 #define ENDIAN16_SH(e) ((e) << 11)
691 #define DOSWAP_SH(e) ((e) << 10)
692 #define EXTRA_SH(e) ((e) << 7)
693 #define CHANNELS_SH(c) ((c) << 3)
694 #define BYTES_SH(b) (b)
695 
696 // These macros unpack format specifiers into integers
697 #define T_FLOAT(a) (((a)>>22)&1)
698 #define T_OPTIMIZED(o) (((o)>>21)&1)
699 #define T_COLORSPACE(s) (((s)>>16)&31)
700 #define T_SWAPFIRST(s) (((s)>>14)&1)
701 #define T_FLAVOR(s) (((s)>>13)&1)
702 #define T_PLANAR(p) (((p)>>12)&1)
703 #define T_ENDIAN16(e) (((e)>>11)&1)
704 #define T_DOSWAP(e) (((e)>>10)&1)
705 #define T_EXTRA(e) (((e)>>7)&7)
706 #define T_CHANNELS(c) (((c)>>3)&15)
707 #define T_BYTES(b) ((b)&7)
708 
709 
710 // Pixel types
711 #define PT_ANY 0 // Don't check colorspace
712  // 1 & 2 are reserved
713 #define PT_GRAY 3
714 #define PT_RGB 4
715 #define PT_CMY 5
716 #define PT_CMYK 6
717 #define PT_YCbCr 7
718 #define PT_YUV 8 // Lu'v'
719 #define PT_XYZ 9
720 #define PT_Lab 10
721 #define PT_YUVK 11 // Lu'v'K
722 #define PT_HSV 12
723 #define PT_HLS 13
724 #define PT_Yxy 14
725 
726 #define PT_MCH1 15
727 #define PT_MCH2 16
728 #define PT_MCH3 17
729 #define PT_MCH4 18
730 #define PT_MCH5 19
731 #define PT_MCH6 20
732 #define PT_MCH7 21
733 #define PT_MCH8 22
734 #define PT_MCH9 23
735 #define PT_MCH10 24
736 #define PT_MCH11 25
737 #define PT_MCH12 26
738 #define PT_MCH13 27
739 #define PT_MCH14 28
740 #define PT_MCH15 29
741 
742 #define PT_LabV2 30 // Identical to PT_Lab, but using the V2 old encoding
743 
744 // Some (not all!) representations
745 
746 #ifndef TYPE_RGB_8 // TYPE_RGB_8 is a very common identifier, so don't include ours
747  // if user has it already defined.
748 
749 #define TYPE_GRAY_8 (COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(1))
750 #define TYPE_GRAY_8_REV (COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(1)|FLAVOR_SH(1))
751 #define TYPE_GRAY_16 (COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2))
752 #define TYPE_GRAY_16_REV (COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2)|FLAVOR_SH(1))
753 #define TYPE_GRAY_16_SE (COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2)|ENDIAN16_SH(1))
754 #define TYPE_GRAYA_8 (COLORSPACE_SH(PT_GRAY)|EXTRA_SH(1)|CHANNELS_SH(1)|BYTES_SH(1))
755 #define TYPE_GRAYA_16 (COLORSPACE_SH(PT_GRAY)|EXTRA_SH(1)|CHANNELS_SH(1)|BYTES_SH(2))
756 #define TYPE_GRAYA_16_SE (COLORSPACE_SH(PT_GRAY)|EXTRA_SH(1)|CHANNELS_SH(1)|BYTES_SH(2)|ENDIAN16_SH(1))
757 #define TYPE_GRAYA_8_PLANAR (COLORSPACE_SH(PT_GRAY)|EXTRA_SH(1)|CHANNELS_SH(1)|BYTES_SH(1)|PLANAR_SH(1))
758 #define TYPE_GRAYA_16_PLANAR (COLORSPACE_SH(PT_GRAY)|EXTRA_SH(1)|CHANNELS_SH(1)|BYTES_SH(2)|PLANAR_SH(1))
759 
760 #define TYPE_RGB_8 (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(1))
761 #define TYPE_RGB_8_PLANAR (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
762 #define TYPE_BGR_8 (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1))
763 #define TYPE_BGR_8_PLANAR (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1)|PLANAR_SH(1))
764 #define TYPE_RGB_16 (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2))
765 #define TYPE_RGB_16_PLANAR (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
766 #define TYPE_RGB_16_SE (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
767 #define TYPE_BGR_16 (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1))
768 #define TYPE_BGR_16_PLANAR (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|PLANAR_SH(1))
769 #define TYPE_BGR_16_SE (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
770 
771 #define TYPE_RGBA_8 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1))
772 #define TYPE_RGBA_8_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
773 #define TYPE_RGBA_16 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
774 #define TYPE_RGBA_16_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
775 #define TYPE_RGBA_16_SE (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
776 
777 #define TYPE_ARGB_8 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|SWAPFIRST_SH(1))
778 #define TYPE_ARGB_8_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|SWAPFIRST_SH(1)|PLANAR_SH(1))
779 #define TYPE_ARGB_16 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|SWAPFIRST_SH(1))
780 
781 #define TYPE_ABGR_8 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1))
782 #define TYPE_ABGR_8_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1)|PLANAR_SH(1))
783 #define TYPE_ABGR_16 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1))
784 #define TYPE_ABGR_16_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|PLANAR_SH(1))
785 #define TYPE_ABGR_16_SE (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
786 
787 #define TYPE_BGRA_8 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
788 #define TYPE_BGRA_8_PLANAR (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1)|SWAPFIRST_SH(1)|PLANAR_SH(1))
789 #define TYPE_BGRA_16 (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
790 #define TYPE_BGRA_16_SE (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
791 
792 #define TYPE_CMY_8 (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)|BYTES_SH(1))
793 #define TYPE_CMY_8_PLANAR (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
794 #define TYPE_CMY_16 (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)|BYTES_SH(2))
795 #define TYPE_CMY_16_PLANAR (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
796 #define TYPE_CMY_16_SE (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
797 
798 #define TYPE_CMYK_8 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1))
799 #define TYPE_CMYKA_8 (COLORSPACE_SH(PT_CMYK)|EXTRA_SH(1)|CHANNELS_SH(4)|BYTES_SH(1))
800 #define TYPE_CMYK_8_REV (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1)|FLAVOR_SH(1))
801 #define TYPE_YUVK_8 TYPE_CMYK_8_REV
802 #define TYPE_CMYK_8_PLANAR (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1)|PLANAR_SH(1))
803 #define TYPE_CMYK_16 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2))
804 #define TYPE_CMYK_16_REV (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|FLAVOR_SH(1))
805 #define TYPE_YUVK_16 TYPE_CMYK_16_REV
806 #define TYPE_CMYK_16_PLANAR (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|PLANAR_SH(1))
807 #define TYPE_CMYK_16_SE (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|ENDIAN16_SH(1))
808 
809 #define TYPE_KYMC_8 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1)|DOSWAP_SH(1))
810 #define TYPE_KYMC_16 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|DOSWAP_SH(1))
811 #define TYPE_KYMC_16_SE (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
812 
813 #define TYPE_KCMY_8 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1)|SWAPFIRST_SH(1))
814 #define TYPE_KCMY_8_REV (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(1)|FLAVOR_SH(1)|SWAPFIRST_SH(1))
815 #define TYPE_KCMY_16 (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|SWAPFIRST_SH(1))
816 #define TYPE_KCMY_16_REV (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|FLAVOR_SH(1)|SWAPFIRST_SH(1))
817 #define TYPE_KCMY_16_SE (COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2)|ENDIAN16_SH(1)|SWAPFIRST_SH(1))
818 
819 #define TYPE_CMYK5_8 (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(1))
820 #define TYPE_CMYK5_16 (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(2))
821 #define TYPE_CMYK5_16_SE (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(2)|ENDIAN16_SH(1))
822 #define TYPE_KYMC5_8 (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(1)|DOSWAP_SH(1))
823 #define TYPE_KYMC5_16 (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(2)|DOSWAP_SH(1))
824 #define TYPE_KYMC5_16_SE (COLORSPACE_SH(PT_MCH5)|CHANNELS_SH(5)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
825 #define TYPE_CMYK6_8 (COLORSPACE_SH(PT_MCH6)|CHANNELS_SH(6)|BYTES_SH(1))
826 #define TYPE_CMYK6_8_PLANAR (COLORSPACE_SH(PT_MCH6)|CHANNELS_SH(6)|BYTES_SH(1)|PLANAR_SH(1))
827 #define TYPE_CMYK6_16 (COLORSPACE_SH(PT_MCH6)|CHANNELS_SH(6)|BYTES_SH(2))
828 #define TYPE_CMYK6_16_PLANAR (COLORSPACE_SH(PT_MCH6)|CHANNELS_SH(6)|BYTES_SH(2)|PLANAR_SH(1))
829 #define TYPE_CMYK6_16_SE (COLORSPACE_SH(PT_MCH6)|CHANNELS_SH(6)|BYTES_SH(2)|ENDIAN16_SH(1))
830 #define TYPE_CMYK7_8 (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(1))
831 #define TYPE_CMYK7_16 (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(2))
832 #define TYPE_CMYK7_16_SE (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(2)|ENDIAN16_SH(1))
833 #define TYPE_KYMC7_8 (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(1)|DOSWAP_SH(1))
834 #define TYPE_KYMC7_16 (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(2)|DOSWAP_SH(1))
835 #define TYPE_KYMC7_16_SE (COLORSPACE_SH(PT_MCH7)|CHANNELS_SH(7)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
836 #define TYPE_CMYK8_8 (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(1))
837 #define TYPE_CMYK8_16 (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(2))
838 #define TYPE_CMYK8_16_SE (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(2)|ENDIAN16_SH(1))
839 #define TYPE_KYMC8_8 (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(1)|DOSWAP_SH(1))
840 #define TYPE_KYMC8_16 (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(2)|DOSWAP_SH(1))
841 #define TYPE_KYMC8_16_SE (COLORSPACE_SH(PT_MCH8)|CHANNELS_SH(8)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
842 #define TYPE_CMYK9_8 (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(1))
843 #define TYPE_CMYK9_16 (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(2))
844 #define TYPE_CMYK9_16_SE (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(2)|ENDIAN16_SH(1))
845 #define TYPE_KYMC9_8 (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(1)|DOSWAP_SH(1))
846 #define TYPE_KYMC9_16 (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(2)|DOSWAP_SH(1))
847 #define TYPE_KYMC9_16_SE (COLORSPACE_SH(PT_MCH9)|CHANNELS_SH(9)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
848 #define TYPE_CMYK10_8 (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(1))
849 #define TYPE_CMYK10_16 (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(2))
850 #define TYPE_CMYK10_16_SE (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(2)|ENDIAN16_SH(1))
851 #define TYPE_KYMC10_8 (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(1)|DOSWAP_SH(1))
852 #define TYPE_KYMC10_16 (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(2)|DOSWAP_SH(1))
853 #define TYPE_KYMC10_16_SE (COLORSPACE_SH(PT_MCH10)|CHANNELS_SH(10)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
854 #define TYPE_CMYK11_8 (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(1))
855 #define TYPE_CMYK11_16 (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(2))
856 #define TYPE_CMYK11_16_SE (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(2)|ENDIAN16_SH(1))
857 #define TYPE_KYMC11_8 (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(1)|DOSWAP_SH(1))
858 #define TYPE_KYMC11_16 (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(2)|DOSWAP_SH(1))
859 #define TYPE_KYMC11_16_SE (COLORSPACE_SH(PT_MCH11)|CHANNELS_SH(11)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
860 #define TYPE_CMYK12_8 (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(1))
861 #define TYPE_CMYK12_16 (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(2))
862 #define TYPE_CMYK12_16_SE (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(2)|ENDIAN16_SH(1))
863 #define TYPE_KYMC12_8 (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(1)|DOSWAP_SH(1))
864 #define TYPE_KYMC12_16 (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(2)|DOSWAP_SH(1))
865 #define TYPE_KYMC12_16_SE (COLORSPACE_SH(PT_MCH12)|CHANNELS_SH(12)|BYTES_SH(2)|DOSWAP_SH(1)|ENDIAN16_SH(1))
866 
867 // Colorimetric
868 #define TYPE_XYZ_16 (COLORSPACE_SH(PT_XYZ)|CHANNELS_SH(3)|BYTES_SH(2))
869 #define TYPE_Lab_8 (COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(1))
870 #define TYPE_LabV2_8 (COLORSPACE_SH(PT_LabV2)|CHANNELS_SH(3)|BYTES_SH(1))
871 
872 #define TYPE_ALab_8 (COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(1)|EXTRA_SH(1)|SWAPFIRST_SH(1))
873 #define TYPE_ALabV2_8 (COLORSPACE_SH(PT_LabV2)|CHANNELS_SH(3)|BYTES_SH(1)|EXTRA_SH(1)|SWAPFIRST_SH(1))
874 #define TYPE_Lab_16 (COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(2))
875 #define TYPE_LabV2_16 (COLORSPACE_SH(PT_LabV2)|CHANNELS_SH(3)|BYTES_SH(2))
876 #define TYPE_Yxy_16 (COLORSPACE_SH(PT_Yxy)|CHANNELS_SH(3)|BYTES_SH(2))
877 
878 // YCbCr
879 #define TYPE_YCbCr_8 (COLORSPACE_SH(PT_YCbCr)|CHANNELS_SH(3)|BYTES_SH(1))
880 #define TYPE_YCbCr_8_PLANAR (COLORSPACE_SH(PT_YCbCr)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
881 #define TYPE_YCbCr_16 (COLORSPACE_SH(PT_YCbCr)|CHANNELS_SH(3)|BYTES_SH(2))
882 #define TYPE_YCbCr_16_PLANAR (COLORSPACE_SH(PT_YCbCr)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
883 #define TYPE_YCbCr_16_SE (COLORSPACE_SH(PT_YCbCr)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
884 
885 // YUV
886 #define TYPE_YUV_8 (COLORSPACE_SH(PT_YUV)|CHANNELS_SH(3)|BYTES_SH(1))
887 #define TYPE_YUV_8_PLANAR (COLORSPACE_SH(PT_YUV)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
888 #define TYPE_YUV_16 (COLORSPACE_SH(PT_YUV)|CHANNELS_SH(3)|BYTES_SH(2))
889 #define TYPE_YUV_16_PLANAR (COLORSPACE_SH(PT_YUV)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
890 #define TYPE_YUV_16_SE (COLORSPACE_SH(PT_YUV)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
891 
892 // HLS
893 #define TYPE_HLS_8 (COLORSPACE_SH(PT_HLS)|CHANNELS_SH(3)|BYTES_SH(1))
894 #define TYPE_HLS_8_PLANAR (COLORSPACE_SH(PT_HLS)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
895 #define TYPE_HLS_16 (COLORSPACE_SH(PT_HLS)|CHANNELS_SH(3)|BYTES_SH(2))
896 #define TYPE_HLS_16_PLANAR (COLORSPACE_SH(PT_HLS)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
897 #define TYPE_HLS_16_SE (COLORSPACE_SH(PT_HLS)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
898 
899 // HSV
900 #define TYPE_HSV_8 (COLORSPACE_SH(PT_HSV)|CHANNELS_SH(3)|BYTES_SH(1))
901 #define TYPE_HSV_8_PLANAR (COLORSPACE_SH(PT_HSV)|CHANNELS_SH(3)|BYTES_SH(1)|PLANAR_SH(1))
902 #define TYPE_HSV_16 (COLORSPACE_SH(PT_HSV)|CHANNELS_SH(3)|BYTES_SH(2))
903 #define TYPE_HSV_16_PLANAR (COLORSPACE_SH(PT_HSV)|CHANNELS_SH(3)|BYTES_SH(2)|PLANAR_SH(1))
904 #define TYPE_HSV_16_SE (COLORSPACE_SH(PT_HSV)|CHANNELS_SH(3)|BYTES_SH(2)|ENDIAN16_SH(1))
905 
906 // Named color index. Only 16 bits allowed (don't check colorspace)
907 #define TYPE_NAMED_COLOR_INDEX (CHANNELS_SH(1)|BYTES_SH(2))
908 
909 // Float formatters.
910 #define TYPE_XYZ_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_XYZ)|CHANNELS_SH(3)|BYTES_SH(4))
911 #define TYPE_Lab_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(4))
912 #define TYPE_LabA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_Lab)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4))
913 #define TYPE_GRAY_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(4))
914 #define TYPE_RGB_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(4))
915 
916 #define TYPE_RGBA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4))
917 #define TYPE_ARGB_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4)|SWAPFIRST_SH(1))
918 #define TYPE_BGR_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(4)|DOSWAP_SH(1))
919 #define TYPE_BGRA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
920 #define TYPE_ABGR_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4)|DOSWAP_SH(1))
921 
922 #define TYPE_CMYK_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(4))
923 
924 // Floating point formatters.
925 // NOTE THAT 'BYTES' FIELD IS SET TO ZERO ON DLB because 8 bytes overflows the bitfield
926 #define TYPE_XYZ_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_XYZ)|CHANNELS_SH(3)|BYTES_SH(0))
927 #define TYPE_Lab_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(0))
928 #define TYPE_GRAY_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(0))
929 #define TYPE_RGB_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(0))
930 #define TYPE_BGR_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(0)|DOSWAP_SH(1))
931 #define TYPE_CMYK_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(0))
932 
933 // IEEE 754-2008 "half"
934 #define TYPE_GRAY_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2))
935 #define TYPE_RGB_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2))
936 #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
937 #define TYPE_CMYK_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2))
938 
939 #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
940 #define TYPE_ARGB_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|SWAPFIRST_SH(1))
941 #define TYPE_BGR_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1))
942 #define TYPE_BGRA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
943 #define TYPE_ABGR_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2)|DOSWAP_SH(1))
944 
945 #endif
946 
947 // Colorspaces
948 typedef struct {
952 
953  } cmsCIEXYZ;
954 
955 typedef struct {
959 
960  } cmsCIExyY;
961 
962 typedef struct {
966 
967  } cmsCIELab;
968 
969 typedef struct {
973 
974  } cmsCIELCh;
975 
976 typedef struct {
980 
981  } cmsJCh;
982 
983 typedef struct {
987 
988  } cmsCIEXYZTRIPLE;
989 
990 typedef struct {
994 
995  } cmsCIExyYTRIPLE;
996 
997 // Illuminant types for structs below
998 #define cmsILLUMINANT_TYPE_UNKNOWN 0x0000000
999 #define cmsILLUMINANT_TYPE_D50 0x0000001
1000 #define cmsILLUMINANT_TYPE_D65 0x0000002
1001 #define cmsILLUMINANT_TYPE_D93 0x0000003
1002 #define cmsILLUMINANT_TYPE_F2 0x0000004
1003 #define cmsILLUMINANT_TYPE_D55 0x0000005
1004 #define cmsILLUMINANT_TYPE_A 0x0000006
1005 #define cmsILLUMINANT_TYPE_E 0x0000007
1006 #define cmsILLUMINANT_TYPE_F8 0x0000008
1007 
1008 typedef struct {
1009  cmsUInt32Number Observer; // 0 = unknown, 1=CIE 1931, 2=CIE 1964
1010  cmsCIEXYZ Backing; // Value of backing
1011  cmsUInt32Number Geometry; // 0=unknown, 1=45/0, 0/45 2=0d, d/0
1014 
1016 
1017 typedef struct {
1018  cmsCIEXYZ IlluminantXYZ; // Not the same struct as CAM02,
1019  cmsCIEXYZ SurroundXYZ; // This is for storing the tag
1020  cmsUInt32Number IlluminantType; // viewing condition
1021 
1023 
1024 // Get LittleCMS version (for shared objects) -----------------------------------------------------------------------------
1025 
1027 
1028 // Support of non-standard functions --------------------------------------------------------------------------------------
1029 
1030 CMSAPI int CMSEXPORT cmsstrcasecmp(const char* s1, const char* s2);
1031 CMSAPI long int CMSEXPORT cmsfilelength(FILE* f);
1032 
1033 
1034 // Context handling --------------------------------------------------------------------------------------------------------
1035 
1036 // Each context holds its owns globals and its own plug-ins. There is a global context with the id = 0 for lecacy compatibility
1037 // though using the global context is not recommended. Proper context handling makes lcms more thread-safe.
1038 
1040 
1041 CMSAPI cmsContext CMSEXPORT cmsCreateContext(void* Plugin, void* UserData);
1043 CMSAPI cmsContext CMSEXPORT cmsDupContext(cmsContext ContextID, void* NewUserData);
1045 
1046 // Plug-In registering --------------------------------------------------------------------------------------------------
1047 
1048 CMSAPI cmsBool CMSEXPORT cmsPlugin(void* Plugin);
1049 CMSAPI cmsBool CMSEXPORT cmsPluginTHR(cmsContext ContextID, void* Plugin);
1052 
1053 // Error logging ----------------------------------------------------------------------------------------------------------
1054 
1055 // There is no error handling at all. When a function fails, it returns proper value.
1056 // For example, all create functions does return NULL on failure. Other may return FALSE.
1057 // It may be interesting, for the developer, to know why the function is failing.
1058 // for that reason, lcms2 does offer a logging function. This function will get
1059 // an ENGLISH string with some clues on what is going wrong. You can show this
1060 // info to the end user if you wish, or just create some sort of log on disk.
1061 // The logging function should NOT terminate the program, as this obviously can leave
1062 // unfreed resources. It is the programmer's responsibility to check each function
1063 // return code to make sure it didn't fail.
1064 
1065 #define cmsERROR_UNDEFINED 0
1066 #define cmsERROR_FILE 1
1067 #define cmsERROR_RANGE 2
1068 #define cmsERROR_INTERNAL 3
1069 #define cmsERROR_NULL 4
1070 #define cmsERROR_READ 5
1071 #define cmsERROR_SEEK 6
1072 #define cmsERROR_WRITE 7
1073 #define cmsERROR_UNKNOWN_EXTENSION 8
1074 #define cmsERROR_COLORSPACE_CHECK 9
1075 #define cmsERROR_ALREADY_DEFINED 10
1076 #define cmsERROR_BAD_SIGNATURE 11
1077 #define cmsERROR_CORRUPTION_DETECTED 12
1078 #define cmsERROR_NOT_SUITABLE 13
1079 
1080 // Error logger is called with the ContextID when a message is raised. This gives the
1081 // chance to know which thread is responsible of the warning and any environment associated
1082 // with it. Non-multithreading applications may safely ignore this parameter.
1083 // Note that under certain special circumstances, ContextID may be NULL.
1084 typedef void (* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text);
1085 
1086 // Allows user to set any specific logger
1089 
1090 // Conversions --------------------------------------------------------------------------------------------------------------
1091 
1092 // Returns pointers to constant structs
1093 CMSAPI const cmsCIEXYZ* CMSEXPORT cmsD50_XYZ(void);
1094 CMSAPI const cmsCIExyY* CMSEXPORT cmsD50_xyY(void);
1095 
1096 // Colorimetric space conversions
1097 CMSAPI void CMSEXPORT cmsXYZ2xyY(cmsCIExyY* Dest, const cmsCIEXYZ* Source);
1098 CMSAPI void CMSEXPORT cmsxyY2XYZ(cmsCIEXYZ* Dest, const cmsCIExyY* Source);
1099 CMSAPI void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz);
1100 CMSAPI void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab);
1101 CMSAPI void CMSEXPORT cmsLab2LCh(cmsCIELCh*LCh, const cmsCIELab* Lab);
1102 CMSAPI void CMSEXPORT cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh);
1103 
1104 // Encoding /Decoding on PCS
1111 
1112 // DeltaE metrics
1113 CMSAPI cmsFloat64Number CMSEXPORT cmsDeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2);
1118 
1119 // Temperature <-> Chromaticity (Black body)
1122 
1123 // Chromatic adaptation
1124 CMSAPI cmsBool CMSEXPORT cmsAdaptToIlluminant(cmsCIEXYZ* Result, const cmsCIEXYZ* SourceWhitePt,
1125  const cmsCIEXYZ* Illuminant,
1126  const cmsCIEXYZ* Value);
1127 
1128 // CIECAM02 ---------------------------------------------------------------------------------------------------
1129 
1130 // Viewing conditions. Please note those are CAM model viewing conditions, and not the ICC tag viewing
1131 // conditions, which I'm naming cmsICCViewingConditions to make differences evident. Unfortunately, the tag
1132 // cannot deal with surround La, Yb and D value so is basically useless to store CAM02 viewing conditions.
1133 
1134 
1135 #define AVG_SURROUND 1
1136 #define DIM_SURROUND 2
1137 #define DARK_SURROUND 3
1138 #define CUTSHEET_SURROUND 4
1139 
1140 #define D_CALCULATE (-1)
1141 
1142 typedef struct {
1148 
1150 
1153 CMSAPI void CMSEXPORT cmsCIECAM02Forward(cmsHANDLE hModel, const cmsCIEXYZ* pIn, cmsJCh* pOut);
1155 
1156 
1157 // Tone curves -----------------------------------------------------------------------------------------
1158 
1159 // This describes a curve segment. For a table of supported types, see the manual. User can increase the number of
1160 // available types by using a proper plug-in. Parametric segments allow 10 parameters at most
1161 
1162 typedef struct {
1163  cmsFloat32Number x0, x1; // Domain; for x0 < x <= x1
1164  cmsInt32Number Type; // Parametric type, Type == 0 means sampled segment. Negative values are reserved
1165  cmsFloat64Number Params[10]; // Parameters if Type != 0
1166  cmsUInt32Number nGridPoints; // Number of grid points if Type == 0
1167  cmsFloat32Number* SampledPoints; // Points to an array of floats if Type == 0
1168 
1169 } cmsCurveSegment;
1170 
1171 // The internal representation is none of your business.
1172 typedef struct _cms_curve_struct cmsToneCurve;
1173 
1175 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[]);
1195 
1196 // Tone curve tabular estimation
1199 
1200 
1201 // Implements pipelines of multi-processing elements -------------------------------------------------------------
1202 
1203 // Nothing to see here, move along
1204 typedef struct _cmsPipeline_struct cmsPipeline;
1205 typedef struct _cmsStage_struct cmsStage;
1206 
1207 // Those are hi-level pipelines
1211 
1215 
1219 
1220 CMSAPI void CMSEXPORT cmsPipelineEval16(const cmsUInt16Number In[], cmsUInt16Number Out[], const cmsPipeline* lut);
1225 
1226 // Where to place/locate the stages in the pipeline chain
1228 
1231 
1232 // This function is quite useful to analyze the structure of a Pipeline and retrieve the Stage elements
1233 // that conform the Pipeline. It should be called with the Pipeline, the number of expected elements and
1234 // then a list of expected types followed with a list of double pointers to Stage elements. If
1235 // the function founds a match with current pipeline, it fills the pointers and returns TRUE
1236 // if not, returns FALSE without touching anything.
1238 
1239 // Matrix has double precision and CLUT has only float precision. That is because an ICC profile can encode
1240 // matrices with far more precision that CLUTS
1244 
1247 
1250 
1254 
1258 CMSAPI void* CMSEXPORT cmsStageData(const cmsStage* mpe);
1259 
1260 // Sampling
1261 typedef cmsInt32Number (* cmsSAMPLER16) (CMSREGISTER const cmsUInt16Number In[],
1263  CMSREGISTER void * Cargo);
1264 
1265 typedef cmsInt32Number (* cmsSAMPLERFLOAT)(CMSREGISTER const cmsFloat32Number In[],
1267  CMSREGISTER void * Cargo);
1268 
1269 // Use this flag to prevent changes being written to destination
1270 #define SAMPLER_INSPECT 0x01000000
1271 
1272 // For CLUT only
1275 
1276 // Slicers
1278  cmsSAMPLER16 Sampler, void * Cargo);
1279 
1281  cmsSAMPLERFLOAT Sampler, void * Cargo);
1282 
1283 // Multilocalized Unicode management ---------------------------------------------------------------------------------------
1284 
1285 typedef struct _cms_MLU_struct cmsMLU;
1286 
1287 #define cmsNoLanguage "\0\0"
1288 #define cmsNoCountry "\0\0"
1289 
1291 CMSAPI void CMSEXPORT cmsMLUfree(cmsMLU* mlu);
1292 CMSAPI cmsMLU* CMSEXPORT cmsMLUdup(const cmsMLU* mlu);
1293 
1295  const char LanguageCode[3], const char CountryCode[3],
1296  const char* ASCIIString);
1298  const char LanguageCode[3], const char CountryCode[3],
1299  const wchar_t* WideString);
1300 
1302  const char LanguageCode[3], const char CountryCode[3],
1303  char* Buffer, cmsUInt32Number BufferSize);
1304 
1306  const char LanguageCode[3], const char CountryCode[3],
1307  wchar_t* Buffer, cmsUInt32Number BufferSize);
1308 
1310  const char LanguageCode[3], const char CountryCode[3],
1311  char ObtainedLanguage[3], char ObtainedCountry[3]);
1312 
1314 
1317  char LanguageCode[3],
1318  char CountryCode[3]);
1319 
1320 // Undercolorremoval & black generation -------------------------------------------------------------------------------------
1321 
1322 typedef struct {
1326 
1327 } cmsUcrBg;
1328 
1329 // Screening ----------------------------------------------------------------------------------------------------------------
1330 
1331 #define cmsPRINTER_DEFAULT_SCREENS 0x0001
1332 #define cmsFREQUENCE_UNITS_LINES_CM 0x0000
1333 #define cmsFREQUENCE_UNITS_LINES_INCH 0x0002
1334 
1335 #define cmsSPOT_UNKNOWN 0
1336 #define cmsSPOT_PRINTER_DEFAULT 1
1337 #define cmsSPOT_ROUND 2
1338 #define cmsSPOT_DIAMOND 3
1339 #define cmsSPOT_ELLIPSE 4
1340 #define cmsSPOT_LINE 5
1341 #define cmsSPOT_SQUARE 6
1342 #define cmsSPOT_CROSS 7
1343 
1344 typedef struct {
1348 
1350 
1351 typedef struct {
1355 
1356 } cmsScreening;
1357 
1358 
1359 // Named color -----------------------------------------------------------------------------------------------------------------
1360 
1362 
1366  const char* Prefix, const char* Suffix);
1367 
1371  cmsUInt16Number PCS[3],
1372  cmsUInt16Number Colorant[cmsMAXCHANNELS]);
1373 
1375 CMSAPI cmsInt32Number CMSEXPORT cmsNamedColorIndex(const cmsNAMEDCOLORLIST* v, const char* Name);
1376 
1378  char* Name,
1379  char* Prefix,
1380  char* Suffix,
1381  cmsUInt16Number* PCS,
1382  cmsUInt16Number* Colorant);
1383 
1384 // Retrieve named color list from transform
1386 
1387 // Profile sequence -----------------------------------------------------------------------------------------------------
1388 
1389 // Profile sequence descriptor. Some fields come from profile sequence descriptor tag, others
1390 // come from Profile Sequence Identifier Tag
1391 typedef struct {
1392 
1401 
1402 } cmsPSEQDESC;
1403 
1404 typedef struct {
1405 
1409 
1410 } cmsSEQ;
1411 
1415 
1416 // Dictionaries --------------------------------------------------------------------------------------------------------
1417 
1418 typedef struct _cmsDICTentry_struct {
1419 
1421 
1424  wchar_t* Name;
1425  wchar_t* Value;
1426 
1428 
1432 
1433 CMSAPI cmsBool CMSEXPORT cmsDictAddEntry(cmsHANDLE hDict, const wchar_t* Name, const wchar_t* Value, const cmsMLU *DisplayName, const cmsMLU *DisplayValue);
1436 
1437 // Access to Profile data ----------------------------------------------------------------------------------------------
1439 
1441 CMSAPI cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
1444 
1445 // Read and write pre-formatted data
1447 CMSAPI cmsBool CMSEXPORT cmsWriteTag(cmsHPROFILE hProfile, cmsTagSignature sig, const void* data);
1450 
1451 // Read and write raw data
1454 
1455 // Access header data
1456 #define cmsEmbeddedProfileFalse 0x00000000
1457 #define cmsEmbeddedProfileTrue 0x00000001
1458 #define cmsUseAnywhere 0x00000000
1459 #define cmsUseWithEmbeddedDataOnly 0x00000002
1460 
1466 
1476 
1478  CMSEXPORT cmsGetPCS(cmsHPROFILE hProfile);
1488 
1491 
1492 // How profiles may be used
1493 #define LCMS_USED_AS_INPUT 0
1494 #define LCMS_USED_AS_OUTPUT 1
1495 #define LCMS_USED_AS_PROOF 2
1496 
1500 
1501 // Translate form/to our notation to ICC
1504 
1506 
1507 // Build a suitable formatter for the colorspace of this profile. nBytes=1 means 8 bits, nBytes=2 means 16 bits.
1510 
1511 
1512 // Localized info
1513 typedef enum {
1517  cmsInfoCopyright = 3
1519 
1521  const char LanguageCode[3], const char CountryCode[3],
1522  wchar_t* Buffer, cmsUInt32Number BufferSize);
1523 
1525  const char LanguageCode[3], const char CountryCode[3],
1526  char* Buffer, cmsUInt32Number BufferSize);
1527 
1528 // IO handlers ----------------------------------------------------------------------------------------------------------
1529 
1530 typedef struct _cms_io_handler cmsIOHANDLER;
1531 
1532 CMSAPI cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromFile(cmsContext ContextID, const char* FileName, const char* AccessMode);
1538 
1539 // MD5 message digest --------------------------------------------------------------------------------------------------
1540 
1542 
1543 // Profile high level functions ------------------------------------------------------------------------------------------
1544 
1545 CMSAPI cmsHPROFILE CMSEXPORT cmsOpenProfileFromFile(const char *ICCProfile, const char *sAccess);
1546 CMSAPI cmsHPROFILE CMSEXPORT cmsOpenProfileFromFileTHR(cmsContext ContextID, const char *ICCProfile, const char *sAccess);
1547 CMSAPI cmsHPROFILE CMSEXPORT cmsOpenProfileFromStream(FILE* ICCProfile, const char* sAccess);
1554 
1557 CMSAPI cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number* BytesNeeded);
1559 
1560 // Predefined virtual profiles ------------------------------------------------------------------------------------------
1561 
1563  const cmsCIExyY* WhitePoint,
1564  const cmsCIExyYTRIPLE* Primaries,
1565  cmsToneCurve* const TransferFunction[3]);
1566 
1568  const cmsCIExyYTRIPLE* Primaries,
1569  cmsToneCurve* const TransferFunction[3]);
1570 
1572  const cmsCIExyY* WhitePoint,
1573  const cmsToneCurve* TransferFunction);
1574 
1576  const cmsToneCurve* TransferFunction);
1577 
1579  cmsColorSpaceSignature ColorSpace,
1580  cmsToneCurve* const TransferFunctions[]);
1581 
1583  cmsToneCurve* const TransferFunctions[]);
1584 
1586  cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit);
1587 
1589 
1590 
1595 
1598 
1601 
1603  cmsUInt32Number nLUTPoints,
1604  cmsFloat64Number Bright,
1605  cmsFloat64Number Contrast,
1606  cmsFloat64Number Hue,
1607  cmsFloat64Number Saturation,
1608  cmsUInt32Number TempSrc,
1609  cmsUInt32Number TempDest);
1610 
1612  cmsFloat64Number Bright,
1613  cmsFloat64Number Contrast,
1614  cmsFloat64Number Hue,
1615  cmsFloat64Number Saturation,
1616  cmsUInt32Number TempSrc,
1617  cmsUInt32Number TempDest);
1618 
1621 
1622 // Converts a transform to a devicelink profile
1624 
1625 // Intents ----------------------------------------------------------------------------------------------
1626 
1627 // ICC Intents
1628 #define INTENT_PERCEPTUAL 0
1629 #define INTENT_RELATIVE_COLORIMETRIC 1
1630 #define INTENT_SATURATION 2
1631 #define INTENT_ABSOLUTE_COLORIMETRIC 3
1632 
1633 // Non-ICC intents
1634 #define INTENT_PRESERVE_K_ONLY_PERCEPTUAL 10
1635 #define INTENT_PRESERVE_K_ONLY_RELATIVE_COLORIMETRIC 11
1636 #define INTENT_PRESERVE_K_ONLY_SATURATION 12
1637 #define INTENT_PRESERVE_K_PLANE_PERCEPTUAL 13
1638 #define INTENT_PRESERVE_K_PLANE_RELATIVE_COLORIMETRIC 14
1639 #define INTENT_PRESERVE_K_PLANE_SATURATION 15
1640 
1641 // Call with NULL as parameters to get the intent count
1644 
1645 // Flags
1646 
1647 #define cmsFLAGS_NOCACHE 0x0040 // Inhibit 1-pixel cache
1648 #define cmsFLAGS_NOOPTIMIZE 0x0100 // Inhibit optimizations
1649 #define cmsFLAGS_NULLTRANSFORM 0x0200 // Don't transform anyway
1650 
1651 // Proofing flags
1652 #define cmsFLAGS_GAMUTCHECK 0x1000 // Out of Gamut alarm
1653 #define cmsFLAGS_SOFTPROOFING 0x4000 // Do softproofing
1654 
1655 // Misc
1656 #define cmsFLAGS_BLACKPOINTCOMPENSATION 0x2000
1657 #define cmsFLAGS_NOWHITEONWHITEFIXUP 0x0004 // Don't fix scum dot
1658 #define cmsFLAGS_HIGHRESPRECALC 0x0400 // Use more memory to give better accuracy
1659 #define cmsFLAGS_LOWRESPRECALC 0x0800 // Use less memory to minimize resources
1660 
1661 // For devicelink creation
1662 #define cmsFLAGS_8BITS_DEVICELINK 0x0008 // Create 8 bits devicelinks
1663 #define cmsFLAGS_GUESSDEVICECLASS 0x0020 // Guess device class (for transform2devicelink)
1664 #define cmsFLAGS_KEEP_SEQUENCE 0x0080 // Keep profile sequence for devicelink creation
1665 
1666 // Specific to a particular optimizations
1667 #define cmsFLAGS_FORCE_CLUT 0x0002 // Force CLUT optimization
1668 #define cmsFLAGS_CLUT_POST_LINEARIZATION 0x0001 // create postlinearization tables if possible
1669 #define cmsFLAGS_CLUT_PRE_LINEARIZATION 0x0010 // create prelinearization tables if possible
1670 
1671 // Specific to unbounded mode
1672 #define cmsFLAGS_NONEGATIVES 0x8000 // Prevent negative numbers in floating point transforms
1673 
1674 // Copy alpha channels when transforming
1675 #define cmsFLAGS_COPY_ALPHA 0x04000000 // Alpha channels are copied on cmsDoTransform()
1676 
1677 // Fine-tune control over number of gridpoints
1678 #define cmsFLAGS_GRIDPOINTS(n) (((n) & 0xFF) << 16)
1679 
1680 // CRD special
1681 #define cmsFLAGS_NODEFAULTRESOURCEDEF 0x01000000
1682 
1683 // Transforms ---------------------------------------------------------------------------------------------------
1684 
1687  cmsUInt32Number InputFormat,
1690  cmsUInt32Number Intent,
1691  cmsUInt32Number dwFlags);
1692 
1694  cmsUInt32Number InputFormat,
1697  cmsUInt32Number Intent,
1698  cmsUInt32Number dwFlags);
1699 
1702  cmsUInt32Number InputFormat,
1705  cmsHPROFILE Proofing,
1706  cmsUInt32Number Intent,
1707  cmsUInt32Number ProofingIntent,
1708  cmsUInt32Number dwFlags);
1709 
1711  cmsUInt32Number InputFormat,
1714  cmsHPROFILE Proofing,
1715  cmsUInt32Number Intent,
1716  cmsUInt32Number ProofingIntent,
1717  cmsUInt32Number dwFlags);
1718 
1720  cmsHPROFILE hProfiles[],
1721  cmsUInt32Number nProfiles,
1722  cmsUInt32Number InputFormat,
1724  cmsUInt32Number Intent,
1725  cmsUInt32Number dwFlags);
1726 
1727 
1729  cmsUInt32Number nProfiles,
1730  cmsUInt32Number InputFormat,
1732  cmsUInt32Number Intent,
1733  cmsUInt32Number dwFlags);
1734 
1735 
1737  cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[],
1738  cmsBool BPC[],
1739  cmsUInt32Number Intents[],
1740  cmsFloat64Number AdaptationStates[],
1741  cmsHPROFILE hGamutProfile,
1742  cmsUInt32Number nGamutPCSposition,
1743  cmsUInt32Number InputFormat,
1745  cmsUInt32Number dwFlags);
1746 
1748 
1750  const void * InputBuffer,
1751  void * OutputBuffer,
1752  cmsUInt32Number Size);
1753 
1755  const void * InputBuffer,
1756  void * OutputBuffer,
1757  cmsUInt32Number Size,
1758  cmsUInt32Number Stride);
1759 
1761  const void* InputBuffer,
1762  void* OutputBuffer,
1763  cmsUInt32Number PixelsPerLine,
1764  cmsUInt32Number LineCount,
1765  cmsUInt32Number BytesPerLineIn,
1766  cmsUInt32Number BytesPerLineOut,
1767  cmsUInt32Number BytesPerPlaneIn,
1768  cmsUInt32Number BytesPerPlaneOut);
1769 
1770 
1773 
1774 
1776  const cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]);
1778  cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]);
1779 
1780 
1781 
1782 // Adaptation state for absolute colorimetric intent
1785 
1786 
1787 
1788 // Grab the ContextID from an open transform. Returns NULL if a NULL transform is passed
1790 
1791 // Grab the input/output formats
1794 
1795 // For backwards compatibility
1797  cmsUInt32Number InputFormat,
1799 
1800 
1801 
1802 // PostScript ColorRenderingDictionary and ColorSpaceArray ----------------------------------------------------
1803 
1805 
1806 // lcms2 unified method to access postscript color resources
1808  cmsPSResourceType Type,
1809  cmsHPROFILE hProfile,
1810  cmsUInt32Number Intent,
1811  cmsUInt32Number dwFlags,
1812  cmsIOHANDLER* io);
1813 
1816 
1817 
1818 // IT8.7 / CGATS.17-200x handling -----------------------------------------------------------------------------
1819 
1822 
1823 // Tables
1825 CMSAPI cmsInt32Number CMSEXPORT cmsIT8SetTable(cmsHANDLE hIT8, cmsUInt32Number nTable);
1826 
1827 // Persistence
1830 // CMSAPI cmsHANDLE CMSEXPORT cmsIT8LoadFromIOhandler(cmsContext ContextID, cmsIOHANDLER* io);
1831 
1832 CMSAPI cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHANDLE hIT8, const char* cFileName);
1833 CMSAPI cmsBool CMSEXPORT cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number* BytesNeeded);
1834 
1835 // Properties
1836 CMSAPI const char* CMSEXPORT cmsIT8GetSheetType(cmsHANDLE hIT8);
1837 CMSAPI cmsBool CMSEXPORT cmsIT8SetSheetType(cmsHANDLE hIT8, const char* Type);
1838 
1839 CMSAPI cmsBool CMSEXPORT cmsIT8SetComment(cmsHANDLE hIT8, const char* cComment);
1840 
1841 CMSAPI cmsBool CMSEXPORT cmsIT8SetPropertyStr(cmsHANDLE hIT8, const char* cProp, const char *Str);
1844 CMSAPI cmsBool CMSEXPORT cmsIT8SetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char* SubKey, const char *Buffer);
1845 CMSAPI cmsBool CMSEXPORT cmsIT8SetPropertyUncooked(cmsHANDLE hIT8, const char* Key, const char* Buffer);
1846 
1847 
1848 CMSAPI const char* CMSEXPORT cmsIT8GetProperty(cmsHANDLE hIT8, const char* cProp);
1850 CMSAPI const char* CMSEXPORT cmsIT8GetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char *SubKey);
1852 CMSAPI cmsUInt32Number CMSEXPORT cmsIT8EnumPropertyMulti(cmsHANDLE hIT8, const char* cProp, const char ***SubpropertyNames);
1853 
1854 // Datasets
1855 CMSAPI const char* CMSEXPORT cmsIT8GetDataRowCol(cmsHANDLE hIT8, int row, int col);
1857 
1859  const char* Val);
1860 
1863 
1864 CMSAPI const char* CMSEXPORT cmsIT8GetData(cmsHANDLE hIT8, const char* cPatch, const char* cSample);
1865 
1866 
1867 CMSAPI cmsFloat64Number CMSEXPORT cmsIT8GetDataDbl(cmsHANDLE hIT8, const char* cPatch, const char* cSample);
1868 
1869 CMSAPI cmsBool CMSEXPORT cmsIT8SetData(cmsHANDLE hIT8, const char* cPatch,
1870  const char* cSample,
1871  const char *Val);
1872 
1873 CMSAPI cmsBool CMSEXPORT cmsIT8SetDataDbl(cmsHANDLE hIT8, const char* cPatch,
1874  const char* cSample,
1876 
1877 CMSAPI int CMSEXPORT cmsIT8FindDataFormat(cmsHANDLE hIT8, const char* cSample);
1878 CMSAPI cmsBool CMSEXPORT cmsIT8SetDataFormat(cmsHANDLE hIT8, int n, const char *Sample);
1879 CMSAPI int CMSEXPORT cmsIT8EnumDataFormat(cmsHANDLE hIT8, char ***SampleNames);
1880 
1881 CMSAPI const char* CMSEXPORT cmsIT8GetPatchName(cmsHANDLE hIT8, int nPatch, char* buffer);
1882 CMSAPI int CMSEXPORT cmsIT8GetPatchByName(cmsHANDLE hIT8, const char *cPatch);
1883 
1884 // The LABEL extension
1885 CMSAPI int CMSEXPORT cmsIT8SetTableByLabel(cmsHANDLE hIT8, const char* cSet, const char* cField, const char* ExpectedType);
1886 
1887 CMSAPI cmsBool CMSEXPORT cmsIT8SetIndexColumn(cmsHANDLE hIT8, const char* cSample);
1888 
1889 // Formatter for double
1890 CMSAPI void CMSEXPORT cmsIT8DefineDblFormat(cmsHANDLE hIT8, const char* Formatter);
1891 
1892 // Gamut boundary description routines ------------------------------------------------------------------------------
1893 
1899 
1900 // Feature detection ----------------------------------------------------------------------------------------------
1901 
1902 // Estimate the black point
1905 
1906 // Estimate total area coverage
1908 
1909 
1910 // Poor man's gamut mapping
1912  double amax, double amin,
1913  double bmax, double bmin);
1914 
1915 #ifndef CMS_USE_CPP_API
1916 # ifdef __cplusplus
1917  }
1918 # endif
1919 #endif
1920 
1921 #define _lcms2_H
1922 #endif
return _Result< 0 ? -1 :_Result;} #line 1069 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnwprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1091 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, va_list _ArgList) { return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1108 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _ArgList) { return _vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1133 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1179 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1196 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __vswprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1212 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf(wchar_t *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1227 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1243 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1264 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1281 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1283 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1312 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1347 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_l(_Format,((void *) 0), _ArgList);} #line 1361 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1380 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1394 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __swprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1414 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1435 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf(wchar_t *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1454 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1474 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "__swprintf_l_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __swprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vswprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __vswprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "swprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swprintf(wchar_t *_Buffer, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vswprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vswprintf(wchar_t *_Buffer, wchar_t const *_Format, va_list _Args);__inline int __cdecl _swprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1511 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1532 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1534 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1562 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1582 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1603 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1623 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1646 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1668 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1711 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1737 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1755 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1774 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1792 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable:4141 6054) #pragma warning(pop) #line 1856 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" int __cdecl __stdio_common_vswscanf(unsigned __int64 _Options, wchar_t const *_Buffer, size_t _BufferCount, wchar_t const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vswscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1897 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf(wchar_t const *_Buffer, wchar_t const *_Format, va_list _ArgList) { return _vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1947 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1949 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1976 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1995 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2015 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "swscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl swscanf(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2034 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2054 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 2077 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2100 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2122 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2143 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) typedef __int64 fpos_t;errno_t __cdecl _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count);errno_t __cdecl clearerr_s(FILE *_Stream);errno_t __cdecl fopen_s(FILE **_Stream, char const *_FileName, char const *_Mode);size_t __cdecl fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);errno_t __cdecl freopen_s(FILE **_Stream, char const *_FileName, char const *_Mode, FILE *_OldStream);char *__cdecl gets_s(char *_Buffer, rsize_t _Size);errno_t __cdecl tmpfile_s(FILE **_Stream);errno_t __cdecl tmpnam_s(char *_Buffer, rsize_t _Size);#line 145 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl clearerr(FILE *_Stream);int __cdecl fclose(FILE *_Stream);int __cdecl _fcloseall(void);FILE *__cdecl _fdopen(int _FileHandle, char const *_Mode);int __cdecl feof(FILE *_Stream);int __cdecl ferror(FILE *_Stream);int __cdecl fflush(FILE *_Stream);int __cdecl fgetc(FILE *_Stream);int __cdecl _fgetchar(void);int __cdecl fgetpos(FILE *_Stream, fpos_t *_Position);char *__cdecl fgets(char *_Buffer, int _MaxCount, FILE *_Stream);int __cdecl _fileno(FILE *_Stream);int __cdecl _flushall(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "fopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl fopen(char const *_FileName, char const *_Mode);int __cdecl fputc(int _Character, FILE *_Stream);int __cdecl _fputchar(int _Character);int __cdecl fputs(char const *_Buffer, FILE *_Stream);size_t __cdecl fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);__declspec(deprecated("This function or variable may be unsafe. Consider using " "freopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl freopen(char const *_FileName, char const *_Mode, FILE *_Stream);FILE *__cdecl _fsopen(char const *_FileName, char const *_Mode, int _ShFlag);int __cdecl fsetpos(FILE *_Stream, fpos_t const *_Position);int __cdecl fseek(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl ftell(FILE *_Stream);__int64 __cdecl _ftelli64(FILE *_Stream);size_t __cdecl fwrite(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl getc(FILE *_Stream);int __cdecl getchar(void);int __cdecl _getmaxstdio(void);int __cdecl _getw(FILE *_Stream);void __cdecl perror(char const *_ErrorMessage);int __cdecl _pclose(FILE *_Stream);FILE *__cdecl _popen(char const *_Command, char const *_Mode);#line 344 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl putc(int _Character, FILE *_Stream);int __cdecl putchar(int _Character);int __cdecl puts(char const *_Buffer);int __cdecl _putw(int _Word, FILE *_Stream);int __cdecl remove(char const *_FileName);int __cdecl rename(char const *_OldFileName, char const *_NewFileName);int __cdecl _unlink(char const *_FileName);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_unlink" ". See online help for details.")) int __cdecl unlink(char const *_FileName);#line 391 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl rewind(FILE *_Stream);int __cdecl _rmtmp(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "setvbuf" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) void __cdecl setbuf(FILE *_Stream, char *_Buffer);int __cdecl _setmaxstdio(int _Maximum);int __cdecl setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size);__declspec(allocator) char *__cdecl _tempnam(char const *_DirectoryName, char const *_FilePrefix);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpfile_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl tmpfile(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl tmpnam(char *_Buffer);int __cdecl ungetc(int _Character, FILE *_Stream);void __cdecl _lock_file(FILE *_Stream);void __cdecl _unlock_file(FILE *_Stream);int __cdecl _fclose_nolock(FILE *_Stream);int __cdecl _fflush_nolock(FILE *_Stream);int __cdecl _fgetc_nolock(FILE *_Stream);int __cdecl _fputc_nolock(int _Character, FILE *_Stream);size_t __cdecl _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);size_t __cdecl _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _fseek_nolock(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64_nolock(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl _ftell_nolock(FILE *_Stream);__int64 __cdecl _ftelli64_nolock(FILE *_Stream);size_t __cdecl _fwrite_nolock(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _getc_nolock(FILE *_Stream);int __cdecl _putc_nolock(int _Character, FILE *_Stream);int __cdecl _ungetc_nolock(int _Character, FILE *_Stream);int *__cdecl __p__commode(void);#line 596 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfprintf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_s(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_p(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vfprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 648 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 662 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 677 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 693 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 695 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 710 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);} #line 724 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 738 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf(char const *const _Format, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 751 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 765 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf_s(char const *const _Format, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 780 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 796 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p(char const *const _Format, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 809 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 828 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 846 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl _set_printf_count_output(int _Value);int __cdecl _get_printf_count_output(void);__inline int __cdecl _fprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 871 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 891 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 893 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 948 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 965 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 983 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1002 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1004 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1022 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1039 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfscanf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _Arglist);__inline int __cdecl _vfscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options()), _Stream, _Format, _Locale, _ArgList);} #line 1070 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1084 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Stream, _Format, _Locale, _ArgList);} #line 1101 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1118 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1120 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1134 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf(char const *const _Format, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1147 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1161 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf_s(char const *const _Format, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1176 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1178 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1197 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fscanf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1215 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1234 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fscanf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1254 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_scanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _scanf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1274 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "scanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl scanf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1291 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scanf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1309 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl scanf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1330 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsprintf(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsnprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, size_t _MaxCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_p(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1399 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1415 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);return _Result< 0 ? -1 :_Result;} #line 1446 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1462 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl vsprintf(char *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1477 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1498 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1516 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1526 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1547 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1563 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1585 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1602 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1630 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1641 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1659 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf(char const *const _Format, va_list _ArgList) { return _vscprintf_l(_Format,((void *) 0), _ArgList);} #line 1672 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p(char const *const _Format, va_list _ArgList) { return _vscprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1703 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1723 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1739 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1761 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf(char *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl sprintf(char *_Buffer, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl vsprintf(char *_Buffer, char const *_Format, va_list _Args);__inline int __cdecl _sprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1810 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1832 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1834 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1862 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1882 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1905 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1936 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1956 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _snprintf(char *_Buffer, size_t _BufferCount, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _vsnprintf(char *_Buffer, size_t _BufferCount, char const *_Format, va_list _Args);__inline int __cdecl _snprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1986 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2006 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2028 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2049 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2092 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2110 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p(_Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2127 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsscanf(unsigned __int64 _Options, char const *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vsscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2158 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsscanf(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2172 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2189 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __inline int __cdecl vsscanf_s(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2208 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) #line 2219 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2238 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl sscanf(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2275 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sscanf_s(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsscanf_s(_Buffer, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2297 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 2299 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2326 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2349 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2374 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2397 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_tempnam" ". See online help for details.")) char *__cdecl tempnam(char const *_Directory, char const *_FilePrefix);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcloseall" ". See online help for details.")) int __cdecl fcloseall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fdopen" ". See online help for details.")) FILE *__cdecl fdopen(int _FileHandle, char const *_Format);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fgetchar" ". See online help for details.")) int __cdecl fgetchar(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fileno" ". See online help for details.")) int __cdecl fileno(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_flushall" ". See online help for details.")) int __cdecl flushall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fputchar" ". See online help for details.")) int __cdecl fputchar(int _Ch);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_getw" ". See online help for details.")) int __cdecl getw(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putw" ". See online help for details.")) int __cdecl putw(int _Ch, FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_rmtmp" ". See online help for details.")) int __cdecl rmtmp(void);#line 2441 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h"__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma once#pragma once#pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int *__cdecl _errno(void);errno_t __cdecl _set_errno(int _Value);errno_t __cdecl _get_errno(int *_Value);unsigned long *__cdecl __doserrno(void);errno_t __cdecl _set_doserrno(unsigned long _Value);errno_t __cdecl _get_doserrno(unsigned long *_Value);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) void *__cdecl memchr(void const *_Buf, int _Val, size_t _MaxCount);int __cdecl memcmp(void const *_Buf1, void const *_Buf2, size_t _Size);void *__cdecl memcpy(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memmove(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memset(void *_Dst, int _Val, size_t _Size);char *__cdecl strchr(char const *_Str, int _Val);char *__cdecl strrchr(char const *_Str, int _Ch);char *__cdecl strstr(char const *_Str, char const *_SubStr);wchar_t *__cdecl wcschr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsrchr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsstr(wchar_t const *_Str, wchar_t const *_SubStr);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) static __inline errno_t __cdecl memcpy_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;if(_Source==((void *) 0)||_DestinationSize< _SourceSize) { memset(_Destination, 0, _DestinationSize);{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;return 22 ;} memcpy(_Destination, _Source, _SourceSize);return 0;} static __inline errno_t __cdecl memmove_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;memmove(_Destination, _Source, _SourceSize);return 0;}#pragma warning(pop) __pragma(pack(pop))#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int __cdecl _memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);int __cdecl _memicmp_l(void const *_Buf1, void const *_Buf2, size_t _Size, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memccpy" ". See online help for details.")) void *__cdecl memccpy(void *_Dst, void const *_Src, int _Val, size_t _Size);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memicmp" ". See online help for details.")) int __cdecl memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl wcscat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcscpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcsncat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);errno_t __cdecl wcsncpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);wchar_t *__cdecl wcstok_s(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);__declspec(allocator) wchar_t *__cdecl _wcsdup(wchar_t const *_String);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscat(wchar_t *_Destination, wchar_t const *_Source);int __cdecl wcscmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscpy(wchar_t *_Destination, wchar_t const *_Source);size_t __cdecl wcscspn(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcslen(wchar_t const *_String);size_t __cdecl wcsnlen(wchar_t const *_Source, size_t _MaxCount);static __inline size_t __cdecl wcsnlen_s(wchar_t const *_Source, size_t _MaxCount) { return(_Source==0) ? 0 :wcsnlen(_Source, _MaxCount);}__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncat(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);int __cdecl wcsncmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncpy(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);wchar_t *__cdecl wcspbrk(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcsspn(wchar_t const *_String, wchar_t const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcstok(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);#line 237 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) static __inline wchar_t *__cdecl _wcstok(wchar_t *const _String, wchar_t const *const _Delimiter) { return wcstok(_String, _Delimiter, 0);} __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcserror(int _ErrorNumber);errno_t __cdecl _wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, int _ErrorNumber);__declspec(deprecated("This function or variable may be unsafe. Consider using " "__wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl __wcserror(wchar_t const *_String);errno_t __cdecl __wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, wchar_t const *_ErrorMessage);int __cdecl _wcsicmp(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicmp_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicmp_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);errno_t __cdecl _wcsnset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);wchar_t *__cdecl _wcsrev(wchar_t *_String);errno_t __cdecl _wcsset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsset(wchar_t *_String, wchar_t _Value);errno_t __cdecl _wcslwr_s(wchar_t *_String, size_t _SizeInWords);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr(wchar_t *_String);errno_t __cdecl _wcslwr_s_l(wchar_t *_String, size_t _SizeInWords, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr_l(wchar_t *_String, _locale_t _Locale);errno_t __cdecl _wcsupr_s(wchar_t *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr(wchar_t *_String);errno_t __cdecl _wcsupr_s_l(wchar_t *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr_l(wchar_t *_String, _locale_t _Locale);size_t __cdecl wcsxfrm(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount);size_t __cdecl _wcsxfrm_l(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount, _locale_t _Locale);int __cdecl wcscoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcscoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsicoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsncoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsncoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _wcsnicoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsdup" ". See online help for details.")) wchar_t *__cdecl wcsdup(wchar_t const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicmp" ". See online help for details.")) int __cdecl wcsicmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnicmp" ". See online help for details.")) int __cdecl wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnset" ". See online help for details.")) wchar_t *__cdecl wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsrev" ". See online help for details.")) wchar_t *__cdecl wcsrev(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsset" ". See online help for details.")) wchar_t *__cdecl wcsset(wchar_t *_String, wchar_t _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcslwr" ". See online help for details.")) wchar_t *__cdecl wcslwr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsupr" ". See online help for details.")) wchar_t *__cdecl wcsupr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicoll" ". See online help for details.")) int __cdecl wcsicoll(wchar_t const *_String1, wchar_t const *_String2);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl strcpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strcat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strerror_s(char *_Buffer, size_t _SizeInBytes, int _ErrorNumber);errno_t __cdecl strncat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);errno_t __cdecl strncpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);char *__cdecl strtok_s(char *_String, char const *_Delimiter, char **_Context);void *__cdecl _memccpy(void *_Dst, void const *_Src, int _Val, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcat(char *_Destination, char const *_Source);int __cdecl strcmp(char const *_Str1, char const *_Str2);int __cdecl _strcmpi(char const *_String1, char const *_String2);int __cdecl strcoll(char const *_String1, char const *_String2);int __cdecl _strcoll_l(char const *_String1, char const *_String2, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcpy(char *_Destination, char const *_Source);size_t __cdecl strcspn(char const *_Str, char const *_Control);__declspec(allocator) char *__cdecl _strdup(char const *_Source);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strerror(char const *_ErrorMessage);errno_t __cdecl _strerror_s(char *_Buffer, size_t _SizeInBytes, char const *_ErrorMessage);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strerror(int _ErrorMessage);int __cdecl _stricmp(char const *_String1, char const *_String2);int __cdecl _stricoll(char const *_String1, char const *_String2);int __cdecl _stricoll_l(char const *_String1, char const *_String2, _locale_t _Locale);int __cdecl _stricmp_l(char const *_String1, char const *_String2, _locale_t _Locale);size_t __cdecl strlen(char const *_Str);errno_t __cdecl _strlwr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr(char *_String);errno_t __cdecl _strlwr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr_l(char *_String, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncat(char *_Destination, char const *_Source, size_t _Count);int __cdecl strncmp(char const *_Str1, char const *_Str2, size_t _MaxCount);int __cdecl _strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicmp_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strnicoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strncoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strncoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);size_t __cdecl __strncnt(char const *_String, size_t _Count);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncpy(char *_Destination, char const *_Source, size_t _Count);size_t __cdecl strnlen(char const *_String, size_t _MaxCount);static __inline size_t __cdecl strnlen_s(char const *_String, size_t _MaxCount) { return _String==0 ? 0 :strnlen(_String, _MaxCount);} errno_t __cdecl _strnset_s(char *_String, size_t _SizeInBytes, int _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strnset(char *_Destination, int _Value, size_t _Count);char *__cdecl strpbrk(char const *_Str, char const *_Control);char *__cdecl _strrev(char *_Str);errno_t __cdecl _strset_s(char *_Destination, size_t _DestinationSize, int _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strset(char *_Destination, int _Value);size_t __cdecl strspn(char const *_Str, char const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strtok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strtok(char *_String, char const *_Delimiter);errno_t __cdecl _strupr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr(char *_String);errno_t __cdecl _strupr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr_l(char *_String, _locale_t _Locale);size_t __cdecl strxfrm(char *_Destination, char const *_Source, size_t _MaxCount);size_t __cdecl _strxfrm_l(char *_Destination, char const *_Source, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strdup" ". See online help for details.")) char *__cdecl strdup(char const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strcmpi" ". See online help for details.")) int __cdecl strcmpi(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_stricmp" ". See online help for details.")) int __cdecl stricmp(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strlwr" ". See online help for details.")) char *__cdecl strlwr(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnicmp" ". See online help for details.")) int __cdecl strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnset" ". See online help for details.")) char *__cdecl strnset(char *_String, int _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strrev" ". See online help for details.")) char *__cdecl strrev(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strset" ". See online help for details.")) char *__cdecl strset(char *_String, int _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strupr" ". See online help for details.")) char *__cdecl strupr(char *_String);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) __pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) typedef unsigned short _ino_t;typedef _ino_t ino_t;#line 24 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef unsigned int _dev_t;typedef _dev_t dev_t;#line 36 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef long _off_t;typedef _off_t off_t;#line 48 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h"#pragma warning(pop) typedef char *sds;#pragma pack(push, 1) struct sdshdr5 { unsigned char flags;char buf[];};struct sdshdr8 { uint8_t len;uint8_t alloc;unsigned char flags;char buf[];};struct sdshdr16 { uint16_t len;uint16_t alloc;unsigned char flags;char buf[];};struct sdshdr32 { uint32_t len;uint32_t alloc;unsigned char flags;char buf[];};struct sdshdr64 { uint64_t len;uint64_t alloc;unsigned char flags;char buf[];};#pragma pack(pop) static inline size_t sdslen(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :return((flags) >> 3) ;case 1 :return((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len;case 2 :return((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len;case 3 :return((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) ->len;case 4 :return((struct sdshdr64 *)((s) -(sizeof(struct sdshdr64)))) ->len;} return 0;}static inline size_t sdsavail(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ return 0;} case 1 :{ struct sdshdr8 *sh=(void *)((s) -(sizeof(struct sdshdr8)));;return sh->alloc - sh->len;} case 2 :{ struct sdshdr16 *sh=(void *)((s) -(sizeof(struct sdshdr16)));;return sh->alloc - sh->len;} case 3 :{ struct sdshdr32 *sh=(void *)((s) -(sizeof(struct sdshdr32)));;return sh->alloc - sh->len;} case 4 :{ struct sdshdr64 *sh=(void *)((s) -(sizeof(struct sdshdr64)));;return sh->alloc - sh->len;} } return 0;}static inline void sdssetlen(sds s, size_t newlen) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ unsigned char *fp=((unsigned char *) s) - 1;*fp=0|(newlen<< 3);} break;case 1 :((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len=(uint8_t) newlen;break;case 2 :((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len=(uint16_t) newlen;break;case 3 :((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) -> len
Definition: CPAL.d:15583
#define loc
Definition: aptex-macros.h:65
void Curve(double *, int)
Definition: axohelp.c:3208
Definition: Stream.h:67
#define n
Definition: t4ht.c:1290
#define Input
Definition: detex.c:1846
int v
Definition: dviconv.c:10
struct rect data
Definition: dvipdfm.c:64
void Gamma(double gamma)
Definition: set.c:195
static void
Definition: fpif.c:118
mpz_t * f
Definition: gen-fib.c:34
#define c(n)
Definition: gpos-common.c:150
#define d(n)
Definition: gpos-common.c:151
int col
Definition: gsftopk.c:443
FT_UInt idx
Definition: cffcmap.c:135
enum OutputFormat_ OutputFormat
USHORT Offset
Definition: tt_gsub.c:43
#define write
Definition: win32lib.h:103
char * Version
Definition: version.h:1
#define Hint(S, r, w, o, h, a, d, l)
Definition: paths.h:44
#define dest
cmsHPROFILE cmsCreateNULLProfile(void)
Definition: cmsvirt.c:886
int cmsIT8GetPatchByName(cmsHANDLE hIT8, const char *cPatch)
Definition: cmscgats.c:2697
void cmsSetHeaderAttributes(cmsHPROFILE hProfile, cmsUInt64Number Flags)
Definition: cmsio0.c:916
void cmsFloat2LabEncoded(cmsUInt16Number wLab[3], const cmsCIELab *Lab)
Definition: cmspcs.c:298
cmsFloat64Number cmsCMCdeltaE(const cmsCIELab *Lab1, const cmsCIELab *Lab2, cmsFloat64Number l, cmsFloat64Number c)
Definition: cmspcs.c:548
cmsHANDLE cmsIT8LoadFromMem(cmsContext ContextID, const void *Ptr, cmsUInt32Number len)
Definition: cmscgats.c:2288
cmsFloat64Number cmsIT8GetPropertyDbl(cmsHANDLE hIT8, const char *cProp)
Definition: cmscgats.c:1415
cmsSEQ * cmsAllocProfileSequenceDescription(cmsContext ContextID, cmsUInt32Number n)
Definition: cmsnamed.c:755
cmsNAMEDCOLORLIST * cmsDupNamedColorList(const cmsNAMEDCOLORLIST *v)
Definition: cmsnamed.c:563
void cmsFreeToneCurveTriple(cmsToneCurve *Curve[3])
Definition: cmsgamma.c:896
cmsBool cmsIsToneCurveMonotonic(const cmsToneCurve *t)
Definition: cmsgamma.c:1281
cmsBool cmsGDBAddPoint(cmsHANDLE hGBD, const cmsCIELab *Lab)
Definition: cmssm.c:358
cmsHPROFILE cmsCreateLab2Profile(const cmsCIExyY *WhitePoint)
Definition: cmsvirt.c:514
cmsStage * cmsPipelineGetPtrToFirstStage(const cmsPipeline *lut)
Definition: cmslut.c:1632
cmsStage * cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels)
Definition: cmslut.c:70
void cmsLCh2Lab(cmsCIELab *Lab, const cmsCIELCh *LCh)
Definition: cmspcs.c:358
cmsBool cmsSaveProfileToFile(cmsHPROFILE hProfile, const char *FileName)
Definition: cmsio0.c:1371
const cmsCIExyY * cmsD50_xyY(void)
Definition: cmswtpnt.c:38
cmsInt32Number cmsIT8SetTable(cmsHANDLE hIT8, cmsUInt32Number nTable)
Definition: cmscgats.c:1259
cmsUInt32Number cmsPipelineInputChannels(const cmsPipeline *lut)
Definition: cmslut.c:1399
const cmsDICTentry * cmsDictGetEntryList(cmsHANDLE hDict)
Definition: cmsnamed.c:953
cmsHPROFILE cmsOpenProfileFromFileTHR(cmsContext ContextID, const char *ICCProfile, const char *sAccess)
Definition: cmsio0.c:1075
void cmsIT8DefineDblFormat(cmsHANDLE hIT8, const char *Formatter)
Definition: cmscgats.c:2764
float cmsFloat32Number
Definition: lcms2.h:98
cmsPSResourceType
Definition: lcms2.h:1804
@ cmsPS_RESOURCE_CSA
Definition: lcms2.h:1804
@ cmsPS_RESOURCE_CRD
Definition: lcms2.h:1804
int cmsBool
Definition: lcms2.h:174
cmsSEQ * cmsDupProfileSequenceDescription(const cmsSEQ *pseq)
Definition: cmsnamed.c:801
unsigned short cmsUInt16Number
Definition: lcms2.h:103
cmsUInt16Number cmsU8Fixed8Number
Definition: lcms2.h:169
void cmsXYZ2xyY(cmsCIExyY *Dest, const cmsCIEXYZ *Source)
Definition: cmspcs.c:91
void cmsSetEncodedICCversion(cmsHPROFILE hProfile, cmsUInt32Number Version)
Definition: cmsio0.c:983
void cmsSetPCS(cmsHPROFILE hProfile, cmsColorSpaceSignature pcs)
Definition: cmsio0.c:947
const cmsCIEXYZ * cmsD50_XYZ(void)
Definition: cmswtpnt.c:31
cmsToneCurve * cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma)
Definition: cmsgamma.c:851
cmsToneCurve * cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[])
Definition: cmsgamma.c:822
cmsBool cmsMD5computeID(cmsHPROFILE hProfile)
Definition: cmsmd5.c:257
cmsToneCurve * cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsUInt32Number nEntries, const cmsUInt16Number values[])
Definition: cmsgamma.c:729
cmsProfileClassSignature
Definition: lcms2.h:490
@ cmsSigLinkClass
Definition: lcms2.h:494
@ cmsSigNamedColorClass
Definition: lcms2.h:497
@ cmsSigDisplayClass
Definition: lcms2.h:492
@ cmsSigAbstractClass
Definition: lcms2.h:495
@ cmsSigColorSpaceClass
Definition: lcms2.h:496
@ cmsSigInputClass
Definition: lcms2.h:491
@ cmsSigOutputClass
Definition: lcms2.h:493
void cmsSetLogErrorHandler(cmsLogErrorHandlerFunction Fn)
Definition: cmserr.c:502
cmsHPROFILE cmsCreateRGBProfileTHR(cmsContext ContextID, const cmsCIExyY *WhitePoint, const cmsCIExyYTRIPLE *Primaries, cmsToneCurve *const TransferFunction[3])
Definition: cmsvirt.c:101
cmsHPROFILE cmsCreateXYZProfileTHR(cmsContext ContextID)
Definition: cmsvirt.c:567
cmsToneCurve * cmsReverseToneCurveEx(cmsUInt32Number nResultSamples, const cmsToneCurve *InGamma)
Definition: cmsgamma.c:1012
cmsBool cmsGDBCompute(cmsHANDLE hGDB, cmsUInt32Number dwFlags)
Definition: cmssm.c:550
signed char cmsInt8Number
Definition: lcms2.h:91
cmsBool cmsCloseProfile(cmsHPROFILE hProfile)
Definition: cmsio0.c:1433
cmsStage * cmsPipelineGetPtrToLastStage(const cmsPipeline *lut)
Definition: cmslut.c:1637
cmsColorSpaceSignature cmsGetColorSpace(cmsHPROFILE hProfile)
Definition: cmsio0.c:953
cmsUInt32Number cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void *Buffer, cmsUInt32Number BufferSize)
Definition: cmsio0.c:1757
void cmsXYZEncoded2Float(cmsCIEXYZ *fxyz, const cmsUInt16Number XYZ[3])
Definition: cmspcs.c:429
cmsBool cmsSliceSpaceFloat(cmsUInt32Number nInputs, const cmsUInt32Number clutPoints[], cmsSAMPLERFLOAT Sampler, void *Cargo)
Definition: cmslut.c:901
cmsIOHANDLER * cmsOpenIOhandlerFromNULL(cmsContext ContextID)
Definition: cmsio0.c:100
const char * cmsIT8GetData(cmsHANDLE hIT8, const char *cPatch, const char *cSample)
Definition: cmscgats.c:2589
void cmsDoTransformLineStride(cmsHTRANSFORM Transform, const void *InputBuffer, void *OutputBuffer, cmsUInt32Number PixelsPerLine, cmsUInt32Number LineCount, cmsUInt32Number BytesPerLineIn, cmsUInt32Number BytesPerLineOut, cmsUInt32Number BytesPerPlaneIn, cmsUInt32Number BytesPerPlaneOut)
Definition: cmsxform.c:229
cmsHTRANSFORM cmsCreateExtendedTransform(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsHPROFILE hGamutProfile, cmsUInt32Number nGamutPCSposition, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1029
cmsBool cmsWriteRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, const void *data, cmsUInt32Number Size)
Definition: cmsio0.c:1878
cmsUInt16Number cmsEvalToneCurve16(const cmsToneCurve *Curve, cmsUInt16Number v)
Definition: cmsgamma.c:1371
#define CMSEXPORT
Definition: lcms2.h:252
cmsHPROFILE cmsCreateInkLimitingDeviceLinkTHR(cmsContext ContextID, cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit)
Definition: cmsvirt.c:393
cmsHPROFILE cmsCreateRGBProfile(const cmsCIExyY *WhitePoint, const cmsCIExyYTRIPLE *Primaries, cmsToneCurve *const TransferFunction[3])
Definition: cmsvirt.c:217
cmsBool cmsPipelineEvalReverseFloat(cmsFloat32Number Target[], cmsFloat32Number Result[], cmsFloat32Number Hint[], const cmsPipeline *lut)
Definition: cmslut.c:1739
cmsStageSignature cmsStageType(const cmsStage *mpe)
Definition: cmslut.c:1219
cmsBool cmsSaveProfileToStream(cmsHPROFILE hProfile, FILE *Stream)
Definition: cmsio0.c:1389
cmsBool cmsLinkTag(cmsHPROFILE hProfile, cmsTagSignature sig, cmsTagSignature dest)
Definition: cmsio0.c:1909
#define CMSAPI
Definition: lcms2.h:253
cmsUInt32Number cmsGetHeaderCreator(cmsHPROFILE hProfile)
Definition: cmsio0.c:892
cmsIOHANDLER * cmsGetProfileIOhandler(cmsHPROFILE hProfile)
Definition: cmsio0.c:480
cmsMLU * cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems)
Definition: cmsnamed.c:33
int cmsGetEncodedCMMversion(void)
Definition: cmserr.c:30
cmsHANDLE cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions *pVC)
Definition: cmscam02.c:359
cmsUInt32Number cmsStageInputChannels(const cmsStage *mpe)
Definition: cmslut.c:1209
cmsStage * cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsToneCurve *const Curves[])
Definition: cmslut.c:248
void * cmsHTRANSFORM
Definition: lcms2.h:662
void cmsPipelineFree(cmsPipeline *lut)
Definition: cmslut.c:1412
cmsContext cmsDupContext(cmsContext ContextID, void *NewUserData)
Definition: cmsplugin.c:866
cmsUInt32Number cmsIT8EnumProperties(cmsHANDLE hIT8, char ***PropertyNames)
Definition: cmscgats.c:2397
cmsHPROFILE cmsOpenProfileFromMemTHR(cmsContext ContextID, const void *MemPtr, cmsUInt32Number dwSize)
Definition: cmsio0.c:1143
cmsBool cmsGetHeaderCreationDateTime(cmsHPROFILE hProfile, struct tm *Dest)
Definition: cmsio0.c:934
cmsBool cmsPipelineCat(cmsPipeline *l1, const cmsPipeline *l2)
Definition: cmslut.c:1598
cmsFloat64Number cmsDeltaE(const cmsCIELab *Lab1, const cmsCIELab *Lab2)
Definition: cmspcs.c:438
void * cmsHANDLE
Definition: lcms2.h:660
cmsHPROFILE cmsCreateLinearizationDeviceLink(cmsColorSpaceSignature ColorSpace, cmsToneCurve *const TransferFunctions[])
Definition: cmsvirt.c:340
cmsUInt32Number cmsU16Fixed16Number
Definition: lcms2.h:171
cmsToneCurve * cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsUInt32Number nSegments, const cmsCurveSegment Segments[])
Definition: cmsgamma.c:743
void cmsCIECAM02Done(cmsHANDLE hModel)
Definition: cmscam02.c:428
void cmsPipelineEval16(const cmsUInt16Number In[], cmsUInt16Number Out[], const cmsPipeline *lut)
Definition: cmslut.c:1433
cmsStage * cmsStageAllocCLut16bit(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number *Table)
Definition: cmslut.c:604
void cmsUnregisterPlugins(void)
Definition: cmsplugin.c:628
cmsHPROFILE cmsCreateBCHSWabstractProfileTHR(cmsContext ContextID, cmsUInt32Number nLUTPoints, cmsFloat64Number Bright, cmsFloat64Number Contrast, cmsFloat64Number Hue, cmsFloat64Number Saturation, cmsUInt32Number TempSrc, cmsUInt32Number TempDest)
Definition: cmsvirt.c:728
cmsUInt32Number cmsPipelineStageCount(const cmsPipeline *lut)
Definition: cmslut.c:1647
void cmsDictFree(cmsHANDLE hDict)
Definition: cmsnamed.c:865
cmsStage * cmsStageAllocCLutFloatGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number *Table)
Definition: cmslut.c:639
cmsHANDLE cmsDictDup(cmsHANDLE hDict)
Definition: cmsnamed.c:925
cmsBool cmsIT8SetDataDbl(cmsHANDLE hIT8, const char *cPatch, const char *cSample, cmsFloat64Number Val)
Definition: cmscgats.c:2663
cmsToneCurve * cmsReverseToneCurve(const cmsToneCurve *InGamma)
Definition: cmsgamma.c:1079
cmsUInt32Number cmsGetToneCurveEstimatedTableEntries(const cmsToneCurve *t)
Definition: cmsgamma.c:714
cmsBool cmsPipelineCheckAndRetreiveStages(const cmsPipeline *Lut, cmsUInt32Number n,...)
Definition: cmslut.c:110
void cmsFreeProfileSequenceDescription(cmsSEQ *pseq)
Definition: cmsnamed.c:787
int cmsIT8FindDataFormat(cmsHANDLE hIT8, const char *cSample)
Definition: cmscgats.c:2532
cmsStage * cmsStageAllocCLut16bitGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number *Table)
Definition: cmslut.c:544
cmsBool cmsWhitePointFromTemp(cmsCIExyY *WhitePoint, cmsFloat64Number TempK)
Definition: cmswtpnt.c:48
cmsIOHANDLER * cmsOpenIOhandlerFromStream(cmsContext ContextID, FILE *Stream)
Definition: cmsio0.c:440
cmsInt32Number cmsNamedColorIndex(const cmsNAMEDCOLORLIST *v, const char *Name)
Definition: cmsnamed.c:658
long long cmsInt64Number
Definition: lcms2.h:147
cmsFloat64Number cmsEstimateGamma(const cmsToneCurve *t, cmsFloat64Number Precision)
Definition: cmsgamma.c:1399
cmsBool cmsIT8SetDataRowColDbl(cmsHANDLE hIT8, int row, int col, cmsFloat64Number Val)
Definition: cmscgats.c:2575
cmsBool cmsDetectBlackPoint(cmsCIEXYZ *BlackPoint, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmssamp.c:191
cmsUInt32Number cmsGetEncodedICCversion(cmsHPROFILE hProfile)
Definition: cmsio0.c:977
cmsHANDLE cmsIT8Alloc(cmsContext ContextID)
Definition: cmscgats.c:1283
void cmsPipelineUnlinkStage(cmsPipeline *lut, cmsStageLoc loc, cmsStage **mpe)
Definition: cmslut.c:1541
unsigned int cmsUInt32Number
Definition: lcms2.h:120
cmsNAMEDCOLORLIST * cmsGetNamedColorList(cmsHTRANSFORM xform)
Definition: cmsnamed.c:743
#define cmsMAXCHANNELS
Definition: lcms2.h:664
void cmsDeleteContext(cmsContext ContextID)
Definition: cmsplugin.c:930
cmsStageSignature
Definition: lcms2.h:523
@ cmsSigLab2XYZElemType
Definition: lcms2.h:533
@ cmsSigLabV2toV4
Definition: lcms2.h:535
@ cmsSigLabV4toV2
Definition: lcms2.h:536
@ cmsSigFloatPCS2Lab
Definition: lcms2.h:543
@ cmsSigMatrixElemType
Definition: lcms2.h:525
@ cmsSigCurveSetElemType
Definition: lcms2.h:524
@ cmsSigCLutElemType
Definition: lcms2.h:526
@ cmsSigEAcsElemType
Definition: lcms2.h:529
@ cmsSigBAcsElemType
Definition: lcms2.h:528
@ cmsSigFloatPCS2XYZ
Definition: lcms2.h:545
@ cmsSigNamedColorElemType
Definition: lcms2.h:534
@ cmsSigXYZ2FloatPCS
Definition: lcms2.h:544
@ cmsSigLab2FloatPCS
Definition: lcms2.h:542
@ cmsSigIdentityElemType
Definition: lcms2.h:539
@ cmsSigClipNegativesElemType
Definition: lcms2.h:546
@ cmsSigXYZ2LabElemType
Definition: lcms2.h:532
cmsProfileClassSignature cmsGetDeviceClass(cmsHPROFILE hProfile)
Definition: cmsio0.c:965
void cmsFreeNamedColorList(cmsNAMEDCOLORLIST *v)
Definition: cmsnamed.c:556
cmsHPROFILE cmsCreateXYZProfile(void)
Definition: cmsvirt.c:607
cmsUInt32Number cmsGetTransformInputFormat(cmsHTRANSFORM hTransform)
Definition: cmsxform.c:1313
cmsBool cmsStageSampleCLutFloat(cmsStage *mpe, cmsSAMPLERFLOAT Sampler, void *Cargo, cmsUInt32Number dwFlags)
Definition: cmslut.c:810
short cmsInt16Number
Definition: lcms2.h:111
void cmsSetHeaderManufacturer(cmsHPROFILE hProfile, cmsUInt32Number manufacturer)
Definition: cmsio0.c:886
cmsHPROFILE cmsCreateNULLProfileTHR(cmsContext ContextID)
Definition: cmsvirt.c:828
cmsBool cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig)
Definition: cmsio0.c:650
void cmsDoTransform(cmsHTRANSFORM Transform, const void *InputBuffer, void *OutputBuffer, cmsUInt32Number Size)
Definition: cmsxform.c:192
cmsUInt32Number cmsIT8EnumPropertyMulti(cmsHANDLE hIT8, const char *cProp, const char ***SubpropertyNames)
Definition: cmscgats.c:2429
cmsBool cmsAppendNamedColor(cmsNAMEDCOLORLIST *v, const char *Name, cmsUInt16Number PCS[3], cmsUInt16Number Colorant[16])
Definition: cmsnamed.c:591
cmsUInt32Number cmsMLUgetASCII(const cmsMLU *mlu, const char LanguageCode[3], const char CountryCode[3], char *Buffer, cmsUInt32Number BufferSize)
Definition: cmsnamed.c:364
cmsInt32Number(* cmsSAMPLER16)(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void *Cargo)
Definition: lcms2.h:1261
const char * cmsIT8GetPropertyMulti(cmsHANDLE hIT8, const char *Key, const char *SubKey)
Definition: cmscgats.c:1424
void cmsLab2XYZ(const cmsCIEXYZ *WhitePoint, cmsCIEXYZ *xyz, const cmsCIELab *Lab)
Definition: cmspcs.c:161
cmsUInt32Number cmsGetProfileInfoASCII(cmsHPROFILE hProfile, cmsInfoType Info, const char LanguageCode[3], const char CountryCode[3], char *Buffer, cmsUInt32Number BufferSize)
Definition: cmsio1.c:1020
cmsUInt32Number cmsSignature
Definition: lcms2.h:168
cmsInt32Number cmsGetToneCurveParametricType(const cmsToneCurve *t)
Definition: cmsgamma.c:1343
cmsFloat64Number cmsCIE2000DeltaE(const cmsCIELab *Lab1, const cmsCIELab *Lab2, cmsFloat64Number Kl, cmsFloat64Number Kc, cmsFloat64Number Kh)
Definition: cmspcs.c:589
cmsFloat32Number cmsEvalToneCurveFloat(const cmsToneCurve *Curve, cmsFloat32Number v)
Definition: cmsgamma.c:1352
void cmsSetDeviceClass(cmsHPROFILE hProfile, cmsProfileClassSignature sig)
Definition: cmsio0.c:971
void cmsIT8Free(cmsHANDLE hIT8)
Definition: cmscgats.c:1023
void cmsxyY2XYZ(cmsCIEXYZ *Dest, const cmsCIExyY *Source)
Definition: cmspcs.c:102
cmsUInt32Number cmsGetPostScriptCSA(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void *Buffer, cmsUInt32Number dwBufferLen)
Definition: cmsps2.c:1593
cmsFloat64Number cmsCIE94DeltaE(const cmsCIELab *Lab1, const cmsCIELab *Lab2)
Definition: cmspcs.c:451
cmsTagSignature cmsTagLinkedTo(cmsHPROFILE hProfile, cmsTagSignature sig)
Definition: cmsio0.c:1936
cmsUInt32Number cmsGetSupportedIntentsTHR(cmsContext ContextID, cmsUInt32Number nMax, cmsUInt32Number *Codes, char **Descriptions)
Definition: cmscnvrt.c:1080
cmsHTRANSFORM cmsCreateMultiprofileTransformTHR(cmsContext ContextID, cmsHPROFILE hProfiles[], cmsUInt32Number nProfiles, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1170
cmsUInt32Number cmsGetHeaderModel(cmsHPROFILE hProfile)
Definition: cmsio0.c:898
cmsInt32Number cmsS15Fixed16Number
Definition: lcms2.h:170
const char * cmsIT8GetDataRowCol(cmsHANDLE hIT8, int row, int col)
Definition: cmscgats.c:2543
int _cmsLCMScolorSpace(cmsColorSpaceSignature ProfileSpace)
Definition: cmspcs.c:810
cmsBool cmsCloseIOhandler(cmsIOHANDLER *io)
Definition: cmsio0.c:473
int cmsIT8SetTableByLabel(cmsHANDLE hIT8, const char *cSet, const char *cField, const char *ExpectedType)
Definition: cmscgats.c:2716
cmsHPROFILE cmsCreateGrayProfile(const cmsCIExyY *WhitePoint, const cmsToneCurve *TransferFunction)
Definition: cmsvirt.c:280
cmsHTRANSFORM cmsCreateTransformTHR(cmsContext ContextID, cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1222
cmsHTRANSFORM cmsCreateProofingTransformTHR(cmsContext ContextID, cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsHPROFILE Proofing, cmsUInt32Number Intent, cmsUInt32Number ProofingIntent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1250
void cmsDeleteTransform(cmsHTRANSFORM hTransform)
Definition: cmsxform.c:147
cmsFloat64Number cmsIT8GetDataRowColDbl(cmsHANDLE hIT8, int row, int col)
Definition: cmscgats.c:2553
cmsFloat64Number cmsIT8GetDataDbl(cmsHANDLE hIT8, const char *cPatch, const char *cSample)
Definition: cmscgats.c:2610
cmsBool cmsSmoothToneCurve(cmsToneCurve *Tab, cmsFloat64Number lambda)
Definition: cmsgamma.c:1154
cmsTagSignature
Definition: lcms2.h:333
@ cmsSigCopyrightTag
Definition: lcms2.h:351
@ cmsSigGreenMatrixColumnTag
Definition: lcms2.h:369
@ cmsSigProfileSequenceIdTag
Definition: lcms2.h:385
@ cmsSigProfileDescriptionMLTag
Definition: lcms2.h:383
@ cmsSigRedMatrixColumnTag
Definition: lcms2.h:393
@ cmsSigGrayTRCTag
Definition: lcms2.h:367
@ cmsSigRedColorantTag
Definition: lcms2.h:392
@ cmsSigAToB1Tag
Definition: lcms2.h:335
@ cmsSigViewingConditionsTag
Definition: lcms2.h:401
@ cmsSigPs2CSATag
Definition: lcms2.h:390
@ cmsSigBToD3Tag
Definition: lcms2.h:365
@ cmsSigMeasurementTag
Definition: lcms2.h:372
@ cmsSigPreview0Tag
Definition: lcms2.h:379
@ cmsSigGreenTRCTag
Definition: lcms2.h:370
@ cmsSigArgyllArtsTag
Definition: lcms2.h:404
@ cmsSigAToB0Tag
Definition: lcms2.h:334
@ cmsSigMetaTag
Definition: lcms2.h:403
@ cmsSigBToA1Tag
Definition: lcms2.h:341
@ cmsSigColorantOrderTag
Definition: lcms2.h:347
@ cmsSigMediaBlackPointTag
Definition: lcms2.h:373
@ cmsSigPs2CRD3Tag
Definition: lcms2.h:389
@ cmsSigBlueTRCTag
Definition: lcms2.h:339
@ cmsSigPs2CRD2Tag
Definition: lcms2.h:388
@ cmsSigDeviceSettingsTag
Definition: lcms2.h:357
@ cmsSigProfileDescriptionTag
Definition: lcms2.h:382
@ cmsSigMediaWhitePointTag
Definition: lcms2.h:374
@ cmsSigCrdInfoTag
Definition: lcms2.h:352
@ cmsSigCalibrationDateTimeTag
Definition: lcms2.h:343
@ cmsSigDeviceModelDescTag
Definition: lcms2.h:356
@ cmsSigColorimetricIntentImageStateTag
Definition: lcms2.h:350
@ cmsSigProfileSequenceDescTag
Definition: lcms2.h:384
@ cmsSigDToB1Tag
Definition: lcms2.h:359
@ cmsSigPs2CRD1Tag
Definition: lcms2.h:387
@ cmsSigDateTimeTag
Definition: lcms2.h:354
@ cmsSigBToA2Tag
Definition: lcms2.h:342
@ cmsSigBlueColorantTag
Definition: lcms2.h:337
@ cmsSigScreeningTag
Definition: lcms2.h:397
@ cmsSigNamedColorTag
Definition: lcms2.h:375
@ cmsSigColorantTableOutTag
Definition: lcms2.h:349
@ cmsSigDToB3Tag
Definition: lcms2.h:361
@ cmsSigBToA0Tag
Definition: lcms2.h:340
@ cmsSigLuminanceTag
Definition: lcms2.h:371
@ cmsSigDeviceMfgDescTag
Definition: lcms2.h:355
@ cmsSigBlueMatrixColumnTag
Definition: lcms2.h:338
@ cmsSigOutputResponseTag
Definition: lcms2.h:377
@ cmsSigScreeningDescTag
Definition: lcms2.h:396
@ cmsSigRedTRCTag
Definition: lcms2.h:394
@ cmsSigColorantTableTag
Definition: lcms2.h:348
@ cmsSigPerceptualRenderingIntentGamutTag
Definition: lcms2.h:378
@ cmsSigDataTag
Definition: lcms2.h:353
@ cmsSigViewingCondDescTag
Definition: lcms2.h:400
@ cmsSigPreview2Tag
Definition: lcms2.h:381
@ cmsSigTechnologyTag
Definition: lcms2.h:398
@ cmsSigDToB0Tag
Definition: lcms2.h:358
@ cmsSigVcgtTag
Definition: lcms2.h:402
@ cmsSigBToD1Tag
Definition: lcms2.h:363
@ cmsSigNamedColor2Tag
Definition: lcms2.h:376
@ cmsSigPs2RenderingIntentTag
Definition: lcms2.h:391
@ cmsSigBToD2Tag
Definition: lcms2.h:364
@ cmsSigDToB2Tag
Definition: lcms2.h:360
@ cmsSigSaturationRenderingIntentGamutTag
Definition: lcms2.h:395
@ cmsSigCharTargetTag
Definition: lcms2.h:344
@ cmsSigAToB2Tag
Definition: lcms2.h:336
@ cmsSigPs2CRD0Tag
Definition: lcms2.h:386
@ cmsSigBToD0Tag
Definition: lcms2.h:362
@ cmsSigPreview1Tag
Definition: lcms2.h:380
@ cmsSigUcrBgTag
Definition: lcms2.h:399
@ cmsSigChromaticityTag
Definition: lcms2.h:346
@ cmsSigGreenColorantTag
Definition: lcms2.h:368
@ cmsSigChromaticAdaptationTag
Definition: lcms2.h:345
@ cmsSigGamutTag
Definition: lcms2.h:366
void cmsSetHeaderModel(cmsHPROFILE hProfile, cmsUInt32Number model)
Definition: cmsio0.c:904
cmsStage * cmsStageDup(cmsStage *mpe)
Definition: cmslut.c:1236
cmsHANDLE cmsGBDAlloc(cmsContext ContextID)
Definition: cmssm.c:302
cmsUInt32Number cmsStageOutputChannels(const cmsStage *mpe)
Definition: cmslut.c:1214
void cmsPipelineEvalFloat(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsPipeline *lut)
Definition: cmslut.c:1441
cmsUInt32Number cmsSaveProfileToIOhandler(cmsHPROFILE hProfile, cmsIOHANDLER *io)
Definition: cmsio0.c:1315
void cmsGetHeaderAttributes(cmsHPROFILE hProfile, cmsUInt64Number *Flags)
Definition: cmsio0.c:910
const char * cmsIT8GetPatchName(cmsHANDLE hIT8, int nPatch, char *buffer)
Definition: cmscgats.c:2678
cmsUInt32Number cmsGetHeaderRenderingIntent(cmsHPROFILE hProfile)
Definition: cmsio0.c:856
void cmsFloat2XYZEncoded(cmsUInt16Number XYZ[3], const cmsCIEXYZ *fXYZ)
Definition: cmspcs.c:374
cmsBool cmsIT8SetIndexColumn(cmsHANDLE hIT8, const char *cSample)
Definition: cmscgats.c:2748
cmsUInt32Number cmsFormatterForColorspaceOfProfile(cmsHPROFILE hProfile, cmsUInt32Number nBytes, cmsBool lIsFloat)
Definition: cmspack.c:3408
cmsContext cmsGetPipelineContextID(const cmsPipeline *lut)
Definition: cmslut.c:1393
cmsUInt32Number cmsChannelsOf(cmsColorSpaceSignature ColorSpace)
Definition: cmspcs.c:877
cmsBool cmsPluginTHR(cmsContext ContextID, void *Plugin)
Definition: cmsplugin.c:551
struct _cmsContext_struct * cmsContext
Definition: lcms2.h:1039
cmsBool cmsGDBCheckPoint(cmsHANDLE hGBD, const cmsCIELab *Lab)
Definition: cmssm.c:390
cmsContext cmsCreateContext(void *Plugin, void *UserData)
Definition: cmsplugin.c:774
cmsHPROFILE cmsOpenProfileFromIOhandler2THR(cmsContext ContextID, cmsIOHANDLER *io, cmsBool write)
Definition: cmsio0.c:1049
cmsContext cmsGetProfileContextID(cmsHPROFILE hProfile)
Definition: cmsio0.c:513
void cmsCIECAM02Reverse(cmsHANDLE hModel, const cmsJCh *pIn, cmsCIEXYZ *pOut)
Definition: cmscam02.c:462
cmsHPROFILE cmsCreateBCHSWabstractProfile(cmsUInt32Number nLUTPoints, cmsFloat64Number Bright, cmsFloat64Number Contrast, cmsFloat64Number Hue, cmsFloat64Number Saturation, cmsUInt32Number TempSrc, cmsUInt32Number TempDest)
Definition: cmsvirt.c:814
cmsBool cmsIT8SetPropertyMulti(cmsHANDLE hIT8, const char *Key, const char *SubKey, const char *Buffer)
Definition: cmscgats.c:1394
void cmsFloat2LabEncodedV2(cmsUInt16Number wLab[3], const cmsCIELab *Lab)
Definition: cmspcs.c:254
long int cmsfilelength(FILE *f)
Definition: cmserr.c:52
cmsFloat64Number cmsSetAdaptationState(cmsFloat64Number d)
Definition: cmsxform.c:77
const cmsUInt16Number * cmsGetToneCurveEstimatedTable(const cmsToneCurve *t)
Definition: cmsgamma.c:720
cmsColorSpaceSignature _cmsICCcolorSpace(int OurNotation)
Definition: cmspcs.c:764
cmsUInt32Number cmsGetHeaderFlags(cmsHPROFILE hProfile)
Definition: cmsio0.c:868
cmsUInt32Number cmsFormatterForPCSOfProfile(cmsHPROFILE hProfile, cmsUInt32Number nBytes, cmsBool lIsFloat)
Definition: cmspack.c:3421
cmsNAMEDCOLORLIST * cmsAllocNamedColorList(cmsContext ContextID, cmsUInt32Number n, cmsUInt32Number ColorantCount, const char *Prefix, const char *Suffix)
Definition: cmsnamed.c:529
void cmsGBDFree(cmsHANDLE hGBD)
Definition: cmssm.c:313
void cmsGetAlarmCodes(cmsUInt16Number NewAlarm[16])
Definition: cmsxform.c:120
void cmsLab2LCh(cmsCIELCh *LCh, const cmsCIELab *Lab)
Definition: cmspcs.c:349
cmsIOHANDLER * cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buffer, cmsUInt32Number size, const char *AccessMode)
Definition: cmsio0.c:238
cmsBool cmsIT8SetDataFormat(cmsHANDLE hIT8, int n, const char *Sample)
Definition: cmscgats.c:1493
cmsHPROFILE cmsOpenProfileFromStreamTHR(cmsContext ContextID, FILE *ICCProfile, const char *sAccess)
Definition: cmsio0.c:1109
cmsStage * cmsStageAllocCLutFloat(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number *Table)
Definition: cmslut.c:621
cmsUInt32Number cmsGetTransformOutputFormat(cmsHTRANSFORM hTransform)
Definition: cmsxform.c:1321
cmsHPROFILE cmsOpenProfileFromIOhandlerTHR(cmsContext ContextID, cmsIOHANDLER *io)
Definition: cmsio0.c:1030
cmsHPROFILE cmsCreateLab2ProfileTHR(cmsContext ContextID, const cmsCIExyY *WhitePoint)
Definition: cmsvirt.c:474
cmsBool cmsPipelineSetSaveAs8bitsFlag(cmsPipeline *lut, cmsBool On)
Definition: cmslut.c:1623
cmsUInt32Number cmsMLUtranslationsCount(const cmsMLU *mlu)
Definition: cmsnamed.c:469
cmsHTRANSFORM cmsCreateProofingTransform(cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsHPROFILE Proofing, cmsUInt32Number Intent, cmsUInt32Number ProofingIntent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1282
cmsHTRANSFORM cmsCreateTransform(cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1239
cmsBool cmsAdaptToIlluminant(cmsCIEXYZ *Result, const cmsCIEXYZ *SourceWhitePt, const cmsCIEXYZ *Illuminant, const cmsCIEXYZ *Value)
Definition: cmswtpnt.c:325
void cmsSetHeaderRenderingIntent(cmsHPROFILE hProfile, cmsUInt32Number RenderingIntent)
Definition: cmsio0.c:862
cmsFloat64Number cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d)
Definition: cmsxform.c:57
cmsPipeline * cmsPipelineAlloc(cmsContext ContextID, cmsUInt32Number InputChannels, cmsUInt32Number OutputChannels)
Definition: cmslut.c:1363
cmsColorSpaceSignature
Definition: lcms2.h:442
@ cmsSigRgbData
Definition: lcms2.h:448
@ cmsSigCmyData
Definition: lcms2.h:453
@ cmsSigLuvKData
Definition: lcms2.h:485
@ cmsSigMCHAData
Definition: lcms2.h:463
@ cmsSigMCHCData
Definition: lcms2.h:465
@ cmsSigMCHEData
Definition: lcms2.h:467
@ cmsSigXYZData
Definition: lcms2.h:443
@ cmsSigGrayData
Definition: lcms2.h:449
@ cmsSigHlsData
Definition: lcms2.h:451
@ cmsSig5colorData
Definition: lcms2.h:474
@ cmsSigHsvData
Definition: lcms2.h:450
@ cmsSigMCH9Data
Definition: lcms2.h:462
@ cmsSig3colorData
Definition: lcms2.h:472
@ cmsSigCmykData
Definition: lcms2.h:452
@ cmsSig4colorData
Definition: lcms2.h:473
@ cmsSigMCH6Data
Definition: lcms2.h:459
@ cmsSigMCH4Data
Definition: lcms2.h:457
@ cmsSigYxyData
Definition: lcms2.h:447
@ cmsSig14colorData
Definition: lcms2.h:483
@ cmsSigLabData
Definition: lcms2.h:444
@ cmsSigMCH8Data
Definition: lcms2.h:461
@ cmsSigLuvData
Definition: lcms2.h:445
@ cmsSig6colorData
Definition: lcms2.h:475
@ cmsSigMCH3Data
Definition: lcms2.h:456
@ cmsSig15colorData
Definition: lcms2.h:484
@ cmsSig8colorData
Definition: lcms2.h:477
@ cmsSig11colorData
Definition: lcms2.h:480
@ cmsSigMCH1Data
Definition: lcms2.h:454
@ cmsSig12colorData
Definition: lcms2.h:481
@ cmsSigYCbCrData
Definition: lcms2.h:446
@ cmsSigMCH5Data
Definition: lcms2.h:458
@ cmsSig10colorData
Definition: lcms2.h:479
@ cmsSigMCH7Data
Definition: lcms2.h:460
@ cmsSig13colorData
Definition: lcms2.h:482
@ cmsSig2colorData
Definition: lcms2.h:471
@ cmsSig1colorData
Definition: lcms2.h:470
@ cmsSigNamedData
Definition: lcms2.h:469
@ cmsSigMCHDData
Definition: lcms2.h:466
@ cmsSigMCHBData
Definition: lcms2.h:464
@ cmsSig7colorData
Definition: lcms2.h:476
@ cmsSigMCH2Data
Definition: lcms2.h:455
@ cmsSig9colorData
Definition: lcms2.h:478
@ cmsSigMCHFData
Definition: lcms2.h:468
cmsBool cmsStageSampleCLut16bit(cmsStage *mpe, cmsSAMPLER16 Sampler, void *Cargo, cmsUInt32Number dwFlags)
Definition: cmslut.c:744
cmsHPROFILE cmsCreate_sRGBProfile(void)
Definition: cmsvirt.c:670
cmsBool cmsMLUsetASCII(cmsMLU *mlu, const char LanguageCode[3], const char CountryCode[3], const char *ASCIIString)
Definition: cmsnamed.c:203
void cmsXYZ2Lab(const cmsCIEXYZ *WhitePoint, cmsCIELab *Lab, const cmsCIEXYZ *xyz)
Definition: cmspcs.c:143
#define CMSREGISTER
Definition: lcms2.h:158
cmsToneCurve * cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[])
Definition: cmsgamma.c:778
void cmsLabEncoded2Float(cmsCIELab *Lab, const cmsUInt16Number wLab[3])
Definition: cmspcs.c:226
const char * cmsIT8GetProperty(cmsHANDLE hIT8, const char *cProp)
Definition: cmscgats.c:1402
int cmsstrcasecmp(const char *s1, const char *s2)
Definition: cmserr.c:39
cmsUInt32Number cmsGetPostScriptColorResource(cmsContext ContextID, cmsPSResourceType Type, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER *io)
Definition: cmsps2.c:1539
cmsCurveSegSignature
Definition: lcms2.h:551
@ cmsSigSampledCurveSeg
Definition: lcms2.h:554
@ cmsSigFormulaCurveSeg
Definition: lcms2.h:553
@ cmsSigSegmentedCurve
Definition: lcms2.h:555
cmsBool cmsMLUtranslationsCodes(const cmsMLU *mlu, cmsUInt32Number idx, char LanguageCode[3], char CountryCode[3])
Definition: cmsnamed.c:476
void cmsMLUfree(cmsMLU *mlu)
Definition: cmsnamed.c:300
cmsHPROFILE cmsOpenProfileFromStream(FILE *ICCProfile, const char *sAccess)
Definition: cmsio0.c:1136
cmsBool cmsIsToneCurveDescending(const cmsToneCurve *t)
Definition: cmsgamma.c:1327
const cmsDICTentry * cmsDictNextEntry(const cmsDICTentry *e)
Definition: cmsnamed.c:962
cmsBool cmsPipelineInsertStage(cmsPipeline *lut, cmsStageLoc loc, cmsStage *mpe)
Definition: cmslut.c:1505
cmsStage * cmsStageNext(const cmsStage *mpe)
Definition: cmslut.c:1229
cmsBool cmsDesaturateLab(cmsCIELab *Lab, double amax, double amin, double bmax, double bmin)
Definition: cmsgmt.c:509
void cmsStageFree(cmsStage *mpe)
Definition: cmslut.c:1200
void cmsSetColorSpace(cmsHPROFILE hProfile, cmsColorSpaceSignature sig)
Definition: cmsio0.c:959
cmsFloat64Number cmsGetProfileVersion(cmsHPROFILE hProfile)
Definition: cmsio0.c:1019
void cmsGetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number *ProfileID)
Definition: cmsio0.c:922
cmsBool cmsIsIntentSupported(cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number UsedDirection)
Definition: cmsio1.c:863
void cmsSetHeaderFlags(cmsHPROFILE hProfile, cmsUInt32Number Flags)
Definition: cmsio0.c:874
cmsUInt32Number cmsGetSupportedIntents(cmsUInt32Number nMax, cmsUInt32Number *Codes, char **Descriptions)
Definition: cmscnvrt.c:1115
double cmsFloat64Number
Definition: lcms2.h:99
cmsBool cmsPlugin(void *Plugin)
Definition: cmsplugin.c:546
void cmsCIECAM02Forward(cmsHANDLE hModel, const cmsCIEXYZ *pIn, cmsJCh *pOut)
Definition: cmscam02.c:436
cmsUInt32Number cmsGetProfileInfo(cmsHPROFILE hProfile, cmsInfoType Info, const char LanguageCode[3], const char CountryCode[3], wchar_t *Buffer, cmsUInt32Number BufferSize)
Definition: cmsio1.c:1009
cmsHTRANSFORM cmsCreateMultiprofileTransform(cmsHPROFILE hProfiles[], cmsUInt32Number nProfiles, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmsxform.c:1200
cmsUInt32Number cmsUInt64Number[2]
Definition: lcms2.h:163
cmsHANDLE cmsIT8LoadFromFile(cmsContext ContextID, const char *cFileName)
Definition: cmscgats.c:2335
cmsBool cmsIT8SetPropertyStr(cmsHANDLE hIT8, const char *cProp, const char *Str)
Definition: cmscgats.c:1357
void * cmsHPROFILE
Definition: lcms2.h:661
cmsColorSpaceSignature cmsGetPCS(cmsHPROFILE hProfile)
Definition: cmsio0.c:941
cmsInt32Number cmsGetTagCount(cmsHPROFILE hProfile)
Definition: cmsio0.c:523
int cmsIT8EnumDataFormat(cmsHANDLE hIT8, char ***SampleNames)
Definition: cmscgats.c:2382
cmsHANDLE cmsDictAlloc(cmsContext ContextID)
Definition: cmsnamed.c:854
cmsUInt32Number cmsNamedColorCount(const cmsNAMEDCOLORLIST *v)
Definition: cmsnamed.c:624
void cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodes[16])
Definition: cmsxform.c:104
cmsToneCurve * cmsDupToneCurve(const cmsToneCurve *Src)
Definition: cmsgamma.c:910
cmsBool cmsDictAddEntry(cmsHANDLE hDict, const wchar_t *Name, const wchar_t *Value, const cmsMLU *DisplayName, const cmsMLU *DisplayValue)
Definition: cmsnamed.c:901
cmsBool cmsMLUsetWide(cmsMLU *mlu, const char LanguageCode[3], const char CountryCode[3], const wchar_t *WideString)
Definition: cmsnamed.c:240
cmsPipeline * cmsPipelineDup(const cmsPipeline *Orig)
Definition: cmslut.c:1450
void cmsSetProfileVersion(cmsHPROFILE hProfile, cmsFloat64Number Version)
Definition: cmsio0.c:1010
cmsBool cmsIsMatrixShaper(cmsHPROFILE hProfile)
Definition: cmsio1.c:809
cmsBool cmsIT8SetDataRowCol(cmsHANDLE hIT8, int row, int col, const char *Val)
Definition: cmscgats.c:2565
cmsBool cmsIT8SetSheetType(cmsHANDLE hIT8, const char *Type)
Definition: cmscgats.c:1337
cmsContext cmsGetTransformContextID(cmsHTRANSFORM hTransform)
Definition: cmsxform.c:1304
cmsHPROFILE cmsOpenProfileFromFile(const char *ICCProfile, const char *sAccess)
Definition: cmsio0.c:1103
struct _cmsDICTentry_struct cmsDICTentry
cmsStageLoc
Definition: lcms2.h:1227
@ cmsAT_BEGIN
Definition: lcms2.h:1227
@ cmsAT_END
Definition: lcms2.h:1227
void cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandlerFunction Fn)
Definition: cmserr.c:488
cmsBool cmsIT8SetComment(cmsHANDLE hIT8, const char *cComment)
Definition: cmscgats.c:1346
cmsBool cmsIT8SaveToFile(cmsHANDLE hIT8, const char *cFileName)
Definition: cmscgats.c:1768
cmsHPROFILE cmsCreateLab4Profile(const cmsCIExyY *WhitePoint)
Definition: cmsvirt.c:560
cmsUInt32Number cmsGetPostScriptCRD(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void *Buffer, cmsUInt32Number dwBufferLen)
Definition: cmsps2.c:1566
cmsHPROFILE cmsOpenProfileFromMem(const void *MemPtr, cmsUInt32Number dwSize)
Definition: cmsio0.c:1167
cmsHPROFILE cmsCreateProfilePlaceholder(cmsContext ContextID)
Definition: cmsio0.c:489
const char * cmsIT8GetSheetType(cmsHANDLE hIT8)
Definition: cmscgats.c:1332
void cmsDoTransformStride(cmsHTRANSFORM Transform, const void *InputBuffer, void *OutputBuffer, cmsUInt32Number Size, cmsUInt32Number Stride)
Definition: cmsxform.c:211
cmsHPROFILE cmsCreate_sRGBProfileTHR(cmsContext ContextID)
Definition: cmsvirt.c:643
cmsBool cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number *BytesNeeded)
Definition: cmscgats.c:1794
cmsUInt32Number cmsIT8TableCount(cmsHANDLE hIT8)
Definition: cmscgats.c:2704
cmsMLU * cmsMLUdup(const cmsMLU *mlu)
Definition: cmsnamed.c:254
void cmsLabEncoded2FloatV2(cmsCIELab *Lab, const cmsUInt16Number wLab[3])
Definition: cmspcs.c:218
void * cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)
Definition: cmsio0.c:1500
cmsHPROFILE cmsCreateInkLimitingDeviceLink(cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit)
Definition: cmsvirt.c:467
cmsBool cmsIT8SetData(cmsHANDLE hIT8, const char *cPatch, const char *cSample, const char *Val)
Definition: cmscgats.c:2621
cmsUInt32Number cmsGetHeaderManufacturer(cmsHPROFILE hProfile)
Definition: cmsio0.c:880
cmsInfoType
Definition: lcms2.h:1513
@ cmsInfoDescription
Definition: lcms2.h:1514
@ cmsInfoModel
Definition: lcms2.h:1516
@ cmsInfoCopyright
Definition: lcms2.h:1517
@ cmsInfoManufacturer
Definition: lcms2.h:1515
cmsBool cmsIsCLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number UsedDirection)
Definition: cmsio1.c:833
cmsFloat64Number cmsBFDdeltaE(const cmsCIELab *Lab1, const cmsCIELab *Lab2)
Definition: cmspcs.c:497
void * cmsGetContextUserData(cmsContext ContextID)
Definition: cmsplugin.c:978
cmsTagSignature cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n)
Definition: cmsio0.c:532
cmsBool cmsChangeBuffersFormat(cmsHTRANSFORM hTransform, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat)
Definition: cmsxform.c:1330
void cmsUnregisterPluginsTHR(cmsContext ContextID)
Definition: cmsplugin.c:732
cmsIOHANDLER * cmsOpenIOhandlerFromFile(cmsContext ContextID, const char *FileName, const char *AccessMode)
Definition: cmsio0.c:373
unsigned char cmsUInt8Number
Definition: lcms2.h:90
cmsFloat64Number * cmsGetToneCurveParams(const cmsToneCurve *t)
Definition: cmsgamma.c:1439
void cmsSetAlarmCodes(const cmsUInt16Number NewAlarm[16])
Definition: cmsxform.c:113
cmsBool cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number *BytesNeeded)
Definition: cmsio0.c:1405
cmsBool cmsIsToneCurveMultisegment(const cmsToneCurve *InGamma)
Definition: cmsgamma.c:1336
cmsBool cmsSliceSpace16(cmsUInt32Number nInputs, const cmsUInt32Number clutPoints[], cmsSAMPLER16 Sampler, void *Cargo)
Definition: cmslut.c:870
cmsUInt32Number cmsMLUgetWide(const cmsMLU *mlu, const char LanguageCode[3], const char CountryCode[3], wchar_t *Buffer, cmsUInt32Number BufferSize)
Definition: cmsnamed.c:409
cmsBool cmsWriteTag(cmsHPROFILE hProfile, cmsTagSignature sig, const void *data)
Definition: cmsio0.c:1637
cmsHPROFILE cmsCreateGrayProfileTHR(cmsContext ContextID, const cmsCIExyY *WhitePoint, const cmsToneCurve *TransferFunction)
Definition: cmsvirt.c:227
void(* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text)
Definition: lcms2.h:1084
cmsToneCurve * cmsJoinToneCurve(cmsContext ContextID, const cmsToneCurve *X, const cmsToneCurve *Y, cmsUInt32Number nPoints)
Definition: cmsgamma.c:922
cmsBool cmsTempFromWhitePoint(cmsFloat64Number *TempK, const cmsCIExyY *WhitePoint)
Definition: cmswtpnt.c:143
cmsBool cmsIT8SetPropertyHex(cmsHANDLE hIT8, const char *cProp, cmsUInt32Number Val)
Definition: cmscgats.c:1377
cmsBool cmsNamedColorInfo(const cmsNAMEDCOLORLIST *NamedColorList, cmsUInt32Number nColor, char *Name, char *Prefix, char *Suffix, cmsUInt16Number *PCS, cmsUInt16Number *Colorant)
Definition: cmsnamed.c:631
cmsPlatformSignature
Definition: lcms2.h:502
@ cmsSigSolaris
Definition: lcms2.h:505
@ cmsSigMacintosh
Definition: lcms2.h:503
@ cmsSigMicrosoft
Definition: lcms2.h:504
@ cmsSigTaligent
Definition: lcms2.h:507
@ cmsSigUnices
Definition: lcms2.h:508
@ cmsSigSGI
Definition: lcms2.h:506
cmsBool cmsIsToneCurveLinear(const cmsToneCurve *Curve)
Definition: cmsgamma.c:1263
void cmsSetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number *ProfileID)
Definition: cmsio0.c:928
cmsBool cmsDetectDestinationBlackPoint(cmsCIEXYZ *BlackPoint, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags)
Definition: cmssamp.c:347
cmsBool cmsMLUgetTranslation(const cmsMLU *mlu, const char LanguageCode[3], const char CountryCode[3], char ObtainedLanguage[3], char ObtainedCountry[3])
Definition: cmsnamed.c:443
cmsBool cmsIT8SetPropertyDbl(cmsHANDLE hIT8, const char *cProp, cmsFloat64Number Val)
Definition: cmscgats.c:1367
void cmsFreeToneCurve(cmsToneCurve *Curve)
Definition: cmsgamma.c:858
cmsTechnologySignature
Definition: lcms2.h:410
@ cmsSigProjectionTelevision
Definition: lcms2.h:423
@ cmsSigVideoCamera
Definition: lcms2.h:422
@ cmsSigVideoMonitor
Definition: lcms2.h:421
@ cmsSigMotionPictureFilmScanner
Definition: lcms2.h:433
@ cmsSigAMDisplay
Definition: lcms2.h:426
@ cmsSigOffsetLithography
Definition: lcms2.h:430
@ cmsSigFilmWriter
Definition: lcms2.h:420
@ cmsSigFlexography
Definition: lcms2.h:432
@ cmsSigInkJetPrinter
Definition: lcms2.h:414
@ cmsSigDigitalCamera
Definition: lcms2.h:411
@ cmsSigMotionPictureFilmRecorder
Definition: lcms2.h:434
@ cmsSigDyeSublimationPrinter
Definition: lcms2.h:418
@ cmsSigDigitalCinemaProjector
Definition: lcms2.h:436
@ cmsSigPhotoImageSetter
Definition: lcms2.h:428
@ cmsSigDigitalMotionPictureCamera
Definition: lcms2.h:435
@ cmsSigPhotographicPaperPrinter
Definition: lcms2.h:419
@ cmsSigThermalWaxPrinter
Definition: lcms2.h:415
@ cmsSigPhotoCD
Definition: lcms2.h:427
@ cmsSigPMDisplay
Definition: lcms2.h:425
@ cmsSigReflectiveScanner
Definition: lcms2.h:413
@ cmsSigFilmScanner
Definition: lcms2.h:412
@ cmsSigElectrophotographicPrinter
Definition: lcms2.h:416
@ cmsSigSilkscreen
Definition: lcms2.h:431
@ cmsSigGravure
Definition: lcms2.h:429
@ cmsSigElectrostaticPrinter
Definition: lcms2.h:417
@ cmsSigCRTDisplay
Definition: lcms2.h:424
void * cmsStageData(const cmsStage *mpe)
Definition: cmslut.c:1224
cmsFloat64Number cmsDetectTAC(cmsHPROFILE hProfile)
Definition: cmsgmt.c:459
void cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodes[16])
Definition: cmsxform.c:93
cmsHPROFILE cmsCreateLab4ProfileTHR(cmsContext ContextID, const cmsCIExyY *WhitePoint)
Definition: cmsvirt.c:521
cmsHPROFILE cmsCreateLinearizationDeviceLinkTHR(cmsContext ContextID, cmsColorSpaceSignature ColorSpace, cmsToneCurve *const TransferFunctions[])
Definition: cmsvirt.c:288
cmsTagTypeSignature
Definition: lcms2.h:291
@ cmsSigResponseCurveSet16Type
Definition: lcms2.h:313
@ cmsSigNamedColorType
Definition: lcms2.h:308
@ cmsSigUInt64ArrayType
Definition: lcms2.h:323
@ cmsSigViewingConditionsType
Definition: lcms2.h:326
@ cmsSigVcgtType
Definition: lcms2.h:325
@ cmsSigMeasurementType
Definition: lcms2.h:305
@ cmsSigLut16Type
Definition: lcms2.h:301
@ cmsSigDateTimeType
Definition: lcms2.h:299
@ cmsSigParametricCurveType
Definition: lcms2.h:310
@ cmsSigTextType
Definition: lcms2.h:317
@ cmsSigColorantTableType
Definition: lcms2.h:294
@ cmsSigU16Fixed16ArrayType
Definition: lcms2.h:319
@ cmsSigCrdInfoType
Definition: lcms2.h:295
@ cmsSigProfileSequenceIdType
Definition: lcms2.h:312
@ cmsSigLut8Type
Definition: lcms2.h:302
@ cmsSigDictType
Definition: lcms2.h:298
@ cmsSigTextDescriptionType
Definition: lcms2.h:318
@ cmsSigSignatureType
Definition: lcms2.h:316
@ cmsSigCurveType
Definition: lcms2.h:296
@ cmsSigUcrBgType
Definition: lcms2.h:320
@ cmsSigLutBtoAType
Definition: lcms2.h:304
@ cmsSigS15Fixed16ArrayType
Definition: lcms2.h:314
@ cmsSigUInt32ArrayType
Definition: lcms2.h:322
@ cmsSigXYZType
Definition: lcms2.h:327
@ cmsSigColorantOrderType
Definition: lcms2.h:293
@ cmsSigScreeningType
Definition: lcms2.h:315
@ cmsSigUInt8ArrayType
Definition: lcms2.h:324
@ cmsSigUInt16ArrayType
Definition: lcms2.h:321
@ cmsSigChromaticityType
Definition: lcms2.h:292
@ cmsSigMultiLocalizedUnicodeType
Definition: lcms2.h:306
@ cmsSigLutAtoBType
Definition: lcms2.h:303
@ cmsSigProfileSequenceDescType
Definition: lcms2.h:311
@ cmsSigDataType
Definition: lcms2.h:297
@ cmsSigMultiProcessElementType
Definition: lcms2.h:307
@ cmsSigDeviceSettingsType
Definition: lcms2.h:300
@ cmsSigNamedColor2Type
Definition: lcms2.h:309
cmsInt32Number(* cmsSAMPLERFLOAT)(register const cmsFloat32Number In[], register cmsFloat32Number Out[], register void *Cargo)
Definition: lcms2.h:1265
cmsBool cmsIT8SetPropertyUncooked(cmsHANDLE hIT8, const char *Key, const char *Buffer)
Definition: cmscgats.c:1387
cmsHPROFILE cmsTransform2DeviceLink(cmsHTRANSFORM hTransform, cmsFloat64Number Version, cmsUInt32Number dwFlags)
Definition: cmsvirt.c:1062
cmsUInt32Number cmsPipelineOutputChannels(const cmsPipeline *lut)
Definition: cmslut.c:1405
cmsStage * cmsStageAllocMatrix(cmsContext ContextID, cmsUInt32Number Rows, cmsUInt32Number Cols, const cmsFloat64Number *Matrix, const cmsFloat64Number *Offset)
Definition: cmslut.c:379
static struct tm tm
Definition: localtime.c:216
int FileName
Definition: mktexpk.c:60
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF base if bpp PF set rept prefetch_distance PF set OFFSET endr endif endm macro preload_leading_step2 base if bpp ifc DST PF PF else if bpp lsl PF PF lsl PF PF lsl PF PF PF else PF lsl PF lsl PF lsl PF endif SIZE macro preload_middle scratch_holds_offset if bpp else PF PF endif endif endif endm macro preload_trailing base if bpp if bpp *pix_per_block PF PF lsl PF PF PF PF PF else PF lsl PF lsl PF PF PF PF PF base if bpp if narrow_case &&bpp<=dst_w_bpp) PF bic, WK0, base, #31 PF pld,[WK0] PF add, WK1, base, X, LSL #bpp_shift PF sub, WK1, WK1, #1 PF bic, WK1, WK1, #31 PF cmp, WK1, WK0 PF beq, 90f PF pld,[WK1]90:.else PF bic, WK0, base, #31 PF pld,[WK0] PF add, WK1, base, X, lsl #bpp_shift PF sub, WK1, WK1, #1 PF bic, WK1, WK1, #31 PF cmp, WK1, WK0 PF beq, 92f91:PF add, WK0, WK0, #32 PF cmp, WK0, WK1 PF pld,[WK0] PF bne, 91b92:.endif .endif.endm.macro conditional_process1_helper cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx process_head cond, numbytes, firstreg, unaligned_src, unaligned_mask, 0 .if decrementx sub &cond X, X, #8 *numbytes/dst_w_bpp .endif process_tail cond, numbytes, firstreg .if !((flags) &FLAG_PROCESS_DOES_STORE) pixst cond, numbytes, firstreg, DST .endif.endm.macro conditional_process1 cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx .if(flags) &FLAG_BRANCH_OVER .ifc cond, mi bpl 100f .endif .ifc cond, cs bcc 100f .endif .ifc cond, ne beq 100f .endif conditional_process1_helper, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx100:.else conditional_process1_helper cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx .endif.endm.macro conditional_process2 test, cond1, cond2, process_head, process_tail, numbytes1, numbytes2, firstreg1, firstreg2, unaligned_src, unaligned_mask, decrementx .if(flags) &(FLAG_DST_READWRITE|FLAG_BRANCH_OVER|FLAG_PROCESS_CORRUPTS_PSR|FLAG_PROCESS_DOES_STORE) test conditional_process1 cond1, process_head, process_tail, numbytes1, firstreg1, unaligned_src, unaligned_mask, decrementx .if(flags) &FLAG_PROCESS_CORRUPTS_PSR test .endif conditional_process1 cond2, process_head, process_tail, numbytes2, firstreg2, unaligned_src, unaligned_mask, decrementx .else test process_head cond1, numbytes1, firstreg1, unaligned_src, unaligned_mask, 0 process_head cond2, numbytes2, firstreg2, unaligned_src, unaligned_mask, 0 .if decrementx sub &cond1 X, X, #8 *numbytes1/dst_w_bpp sub &cond2 X, X, #8 *numbytes2/dst_w_bpp .endif process_tail cond1, numbytes1, firstreg1 process_tail cond2, numbytes2, firstreg2 pixst cond1, numbytes1, firstreg1, DST pixst cond2, numbytes2, firstreg2, DST .endif.endm.macro test_bits_1_0_ptr .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 movs SCRATCH, X, lsl #32-1 .else movs SCRATCH, WK0, lsl #32-1 .endif.endm.macro test_bits_3_2_ptr .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 movs SCRATCH, X, lsl #32-3 .else movs SCRATCH, WK0, lsl #32-3 .endif.endm.macro leading_15bytes process_head, process_tail .set DECREMENT_X, 1 .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 .set DECREMENT_X, 0 sub X, X, WK0, lsr #dst_bpp_shift str X,[sp, #LINE_SAVED_REG_COUNT *4] mov X, WK0 .endif .if dst_w_bpp==8 conditional_process2 test_bits_1_0_ptr, mi, cs, process_head, process_tail, 1, 2, 1, 2, 1, 1, DECREMENT_X .elseif dst_w_bpp==16 test_bits_1_0_ptr conditional_process1 cs, process_head, process_tail, 2, 2, 1, 1, DECREMENT_X .endif conditional_process2 test_bits_3_2_ptr, mi, cs, process_head, process_tail, 4, 8, 1, 2, 1, 1, DECREMENT_X .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 ldr X,[sp, #LINE_SAVED_REG_COUNT *4] .endif.endm.macro test_bits_3_2_pix movs SCRATCH, X, lsl #dst_bpp_shift+32-3.endm.macro test_bits_1_0_pix .if dst_w_bpp==8 movs SCRATCH, X, lsl #dst_bpp_shift+32-1 .else movs SCRATCH, X, lsr #1 .endif.endm.macro trailing_15bytes process_head, process_tail, unaligned_src, unaligned_mask conditional_process2 test_bits_3_2_pix, cs, mi, process_head, process_tail, 8, 4, 0, 2, unaligned_src, unaligned_mask, 0 .if dst_w_bpp==16 test_bits_1_0_pix conditional_process1 cs, process_head, process_tail, 2, 0, unaligned_src, unaligned_mask, 0 .elseif dst_w_bpp==8 conditional_process2 test_bits_1_0_pix, cs, mi, process_head, process_tail, 2, 1, 0, 1, unaligned_src, unaligned_mask, 0 .endif.endm.macro wide_case_inner_loop process_head, process_tail, unaligned_src, unaligned_mask, dst_alignment110:.set SUBBLOCK, 0 .rept pix_per_block *dst_w_bpp/128 process_head, 16, 0, unaligned_src, unaligned_mask, 1 .if(src_bpp > 0) &&(mask_bpp==0) &&((flags) &FLAG_PROCESS_PRESERVES_SCRATCH) preload_middle src_bpp, SRC, 1 .elseif(src_bpp==0) &&(mask_bpp > 0) &&((flags) &FLAG_PROCESS_PRESERVES_SCRATCH) preload_middle mask_bpp, MASK, 1 .else preload_middle src_bpp, SRC, 0 preload_middle mask_bpp, MASK, 0 .endif .if(dst_r_bpp > 0) &&((SUBBLOCK % 2)==0) &&(((flags) &FLAG_NO_PRELOAD_DST)==0) PF pld,[DST, #32 *prefetch_distance - dst_alignment] .endif process_tail, 16, 0 .if !((flags) &FLAG_PROCESS_DOES_STORE) pixst, 16, 0, DST .endif .set SUBBLOCK, SUBBLOCK+1 .endr subs X, X, #pix_per_block bhs 110b.endm.macro wide_case_inner_loop_and_trailing_pixels process_head, process_tail, process_inner_loop, exit_label, unaligned_src, unaligned_mask .if dst_r_bpp > tst bne process_inner_loop DST_PRELOAD_BIAS endif preload_trailing SRC preload_trailing MASK DST endif add medium_case_inner_loop_and_trailing_pixels unaligned_mask endm macro medium_case_inner_loop_and_trailing_pixels DST endif subs bhs tst beq exit_label trailing_15bytes unaligned_mask endm macro narrow_case_inner_loop_and_trailing_pixels unaligned_mask tst conditional_process1 trailing_15bytes unaligned_mask endm macro switch_on_alignment exit_label if bne endif if bne endif action if endif if bne endif action if endif endif endm macro end_of_line last_one if vars_spilled word LINE_SAVED_REGS endif subs Y
#define X
Definition: ppmforge.c:73
static int size
Definition: ppmlabel.c:24
static int row
Definition: ps2pk.c:587
#define x1
@ reserved
Definition: Pass.cpp:50
static char Output[]
Definition: luac.c:34
ShellFileEnvironment e
Definition: sh6.c:388
char * Ptr
Definition: TECkit_Common.h:41
Definition: lobject.h:497
wchar_t * Name
Definition: lcms2.h:1424
cmsMLU * DisplayValue
Definition: lcms2.h:1423
wchar_t * Value
Definition: lcms2.h:1425
struct _cmsDICTentry_struct * Next
Definition: lcms2.h:1420
cmsMLU * DisplayName
Definition: lcms2.h:1422
cmsContext ContextID
cmsUInt32Number OutputChannels
cmsUInt32Number InputChannels
cmsContext ContextID
cmsUInt32Number ColorantCount
cmsUInt32Number nEntries
cmsUInt32Number nSegments
cmsCurveSegment * Segments
cmsContext ContextID
Definition: lcms2_plugin.h:122
Definition: utils.c:300
cmsFloat64Number h
Definition: lcms2.h:972
cmsFloat64Number C
Definition: lcms2.h:971
cmsFloat64Number L
Definition: lcms2.h:970
cmsFloat64Number L
Definition: lcms2.h:963
cmsFloat64Number b
Definition: lcms2.h:965
cmsFloat64Number a
Definition: lcms2.h:964
cmsCIEXYZ Red
Definition: lcms2.h:984
cmsCIEXYZ Green
Definition: lcms2.h:985
cmsCIEXYZ Blue
Definition: lcms2.h:986
cmsFloat64Number Y
Definition: lcms2.h:950
cmsFloat64Number Z
Definition: lcms2.h:951
cmsFloat64Number X
Definition: lcms2.h:949
cmsCIExyY Blue
Definition: lcms2.h:993
cmsCIExyY Red
Definition: lcms2.h:991
cmsCIExyY Green
Definition: lcms2.h:992
cmsFloat64Number Y
Definition: lcms2.h:958
cmsFloat64Number x
Definition: lcms2.h:956
cmsFloat64Number y
Definition: lcms2.h:957
cmsFloat32Number x0
Definition: lcms2.h:1163
cmsUInt32Number nGridPoints
Definition: lcms2.h:1166
cmsFloat32Number * SampledPoints
Definition: lcms2.h:1167
cmsInt32Number Type
Definition: lcms2.h:1164
cmsUInt16Number minutes
Definition: lcms2.h:591
cmsUInt16Number year
Definition: lcms2.h:587
cmsUInt16Number day
Definition: lcms2.h:589
cmsUInt16Number seconds
Definition: lcms2.h:592
cmsUInt16Number month
Definition: lcms2.h:588
cmsUInt16Number hours
Definition: lcms2.h:590
cmsS15Fixed16Number X
Definition: lcms2.h:598
cmsS15Fixed16Number Y
Definition: lcms2.h:599
cmsS15Fixed16Number Z
Definition: lcms2.h:600
cmsUInt32Number len
Definition: lcms2.h:579
cmsUInt32Number flag
Definition: lcms2.h:580
cmsSignature creator
Definition: lcms2.h:635
cmsUInt32Number size
Definition: lcms2.h:620
cmsProfileID profileID
Definition: lcms2.h:636
cmsSignature cmmId
Definition: lcms2.h:621
cmsPlatformSignature platform
Definition: lcms2.h:628
cmsUInt32Number renderingIntent
Definition: lcms2.h:633
cmsProfileClassSignature deviceClass
Definition: lcms2.h:623
cmsColorSpaceSignature pcs
Definition: lcms2.h:625
cmsUInt32Number model
Definition: lcms2.h:631
cmsUInt32Number version
Definition: lcms2.h:622
cmsSignature magic
Definition: lcms2.h:627
cmsEncodedXYZNumber illuminant
Definition: lcms2.h:634
cmsUInt64Number attributes
Definition: lcms2.h:632
cmsUInt32Number flags
Definition: lcms2.h:629
cmsDateTimeNumber date
Definition: lcms2.h:626
cmsSignature manufacturer
Definition: lcms2.h:630
cmsColorSpaceSignature colorSpace
Definition: lcms2.h:624
cmsUInt32Number Geometry
Definition: lcms2.h:1011
cmsUInt32Number IlluminantType
Definition: lcms2.h:1013
cmsUInt32Number Observer
Definition: lcms2.h:1009
cmsFloat64Number Flare
Definition: lcms2.h:1012
cmsCIEXYZ IlluminantXYZ
Definition: lcms2.h:1018
cmsCIEXYZ SurroundXYZ
Definition: lcms2.h:1019
cmsUInt32Number IlluminantType
Definition: lcms2.h:1020
Definition: lcms2.h:976
cmsFloat64Number J
Definition: lcms2.h:977
cmsFloat64Number C
Definition: lcms2.h:978
cmsFloat64Number h
Definition: lcms2.h:979
cmsMLU * Manufacturer
Definition: lcms2.h:1398
cmsUInt64Number attributes
Definition: lcms2.h:1395
cmsProfileID ProfileID
Definition: lcms2.h:1397
cmsSignature deviceMfg
Definition: lcms2.h:1393
cmsTechnologySignature technology
Definition: lcms2.h:1396
cmsSignature deviceModel
Definition: lcms2.h:1394
cmsMLU * Model
Definition: lcms2.h:1399
cmsMLU * Description
Definition: lcms2.h:1400
Definition: lcms2.h:1404
cmsUInt32Number n
Definition: lcms2.h:1406
cmsPSEQDESC * seq
Definition: lcms2.h:1408
cmsContext ContextID
Definition: lcms2.h:1407
cmsUInt32Number SpotShape
Definition: lcms2.h:1347
cmsFloat64Number Frequency
Definition: lcms2.h:1345
cmsFloat64Number ScreenAngle
Definition: lcms2.h:1346
cmsUInt32Number nChannels
Definition: lcms2.h:1353
cmsUInt32Number Flag
Definition: lcms2.h:1352
cmsTagTypeSignature sig
Definition: lcms2.h:643
cmsUInt32Number offset
Definition: lcms2.h:651
cmsTagSignature sig
Definition: lcms2.h:650
cmsUInt32Number size
Definition: lcms2.h:652
cmsMLU * Desc
Definition: lcms2.h:1325
cmsToneCurve * Ucr
Definition: lcms2.h:1323
cmsToneCurve * Bg
Definition: lcms2.h:1324
cmsCIEXYZ whitePoint
Definition: lcms2.h:1143
cmsUInt32Number surround
Definition: lcms2.h:1146
cmsFloat64Number La
Definition: lcms2.h:1145
cmsFloat64Number D_value
Definition: lcms2.h:1147
cmsFloat64Number Yb
Definition: lcms2.h:1144
Definition: psread.c:42
Definition: sh.h:1345
Definition: dvips.h:235
Definition: strexpr.c:21
type_key Key[]
Definition: t1part.c:271
#define FILE
Definition: t1stdio.h:34
s1
Definition: t4ht.c:1059
char * s2
Definition: t4ht.c:1062
#define cField(t)
Definition: trans.h:71
uint32_t Flags
Definition: ubidiimp.h:38
Definition: lobject.h:100