Searched refs:ContextID (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmserr.c113 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument
119 cmsUNUSED_PARAMETER(ContextID);
124 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument
126 void *pt = _cmsMalloc(ContextID, size);
136 void _cmsFreeDefaultFn(cmsContext ContextID, void *Ptr) argument
143 cmsUNUSED_PARAMETER(ContextID);
149 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument
156 cmsUNUSED_PARAMETER(ContextID);
163 void* _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument
180 return _cmsMallocZero(ContextID, Tota
185 _cmsDupDefaultFn(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument
242 _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) argument
248 _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) argument
254 _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument
260 _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument
266 _cmsFree(cmsContext ContextID, void* Ptr) argument
272 _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument
284 _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) argument
316 _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial) argument
411 DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text) argument
432 cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...) argument
[all...]
H A Dlcms2_internal.h247 cmsContext ContextID; member in struct:__anon885
253 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial);
272 cmsContext ContextID; member in struct:_cms_MLU_struct
305 cmsContext ContextID; member in struct:_cms_NAMEDCOLORLIST_struct
322 cmsContext ContextID; member in struct:_cms_iccprofile_struct
370 cmsInterpParams* _cmsComputeInterpParams(cmsContext ContextID, int nSamples, int InputChan, int OutputChan, const void* Table, cmsUInt32Number dwFlags);
371 cmsInterpParams* _cmsComputeInterpParamsEx(cmsContext ContextID, const cmsUInt32Number nSamples[], int InputChan, int OutputChan, const void* Table, cmsUInt32Number dwFlags);
402 cmsContext ContextID; member in struct:_cmsStage_struct
423 cmsStage* _cmsStageAllocLab2XYZ(cmsContext ContextID);
424 cmsStage* _cmsStageAllocXYZ2Lab(cmsContext ContextID);
459 cmsContext ContextID; // Environment member in struct:_cmsPipeline_struct
598 cmsContext ContextID; member in struct:_cmstransform_struct
[all...]
H A Dcmsio0.c123 _cmsFree(iohandler ->ContextID, ResData);
124 _cmsFree(iohandler ->ContextID, iohandler);
129 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromNULL(cmsContext ContextID) argument
134 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler));
137 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL));
142 iohandler ->ContextID = ContextID;
157 if (fm) _cmsFree(ContextID, fm);
158 if (iohandler) _cmsFree(ContextID, iohandler);
186 cmsSignalError(iohandler ->ContextID, cmsERROR_REA
264 cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buffer, cmsUInt32Number size, const char* AccessMode) argument
394 cmsOpenIOhandlerFromFile(cmsContext ContextID, const char* FileName, const char* AccessMode) argument
451 cmsOpenIOhandlerFromStream(cmsContext ContextID, FILE* Stream) argument
484 cmsCreateProfilePlaceholder(cmsContext ContextID) argument
960 cmsOpenProfileFromIOhandlerTHR(cmsContext ContextID, cmsIOHANDLER* io) argument
979 cmsOpenProfileFromFileTHR(cmsContext ContextID, const char *lpFileName, const char *sAccess) argument
1013 cmsOpenProfileFromStreamTHR(cmsContext ContextID, FILE* ICCProfile, const char *sAccess) argument
1047 cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32Number dwSize) argument
1214 cmsContext ContextID; local
1254 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
1273 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
1290 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
[all...]
H A Dcmsvirt.c66 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
68 DescriptionMLU = cmsMLUalloc(ContextID, 1);
69 CopyrightMLU = cmsMLUalloc(ContextID, 1);
95 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
96 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1);
130 cmsHPROFILE CMSEXPORT cmsCreateRGBProfileTHR(cmsContext ContextID, argument
142 hICC = cmsCreateProfilePlaceholder(ContextID);
239 cmsHPROFILE CMSEXPORT cmsCreateGrayProfileTHR(cmsContext ContextID, argument
246 hICC = cmsCreateProfilePlaceholder(ContextID);
300 cmsHPROFILE CMSEXPORT cmsCreateLinearizationDeviceLinkTHR(cmsContext ContextID, argument
407 cmsCreateInkLimitingDeviceLinkTHR(cmsContext ContextID, cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit) argument
487 cmsCreateLab2ProfileTHR(cmsContext ContextID, const cmsCIExyY* WhitePoint) argument
533 cmsCreateLab4ProfileTHR(cmsContext ContextID, const cmsCIExyY* WhitePoint) argument
578 cmsCreateXYZProfileTHR(cmsContext ContextID) argument
639 Build_sRGBGamma(cmsContext ContextID) argument
653 cmsCreate_sRGBProfileTHR(cmsContext ContextID) argument
736 cmsCreateBCHSWabstractProfileTHR(cmsContext ContextID, int nLUTPoints, cmsFloat64Number Bright, cmsFloat64Number Contrast, cmsFloat64Number Hue, cmsFloat64Number Saturation, int TempSrc, int TempDest) argument
829 cmsCreateNULLProfileTHR(cmsContext ContextID) argument
1059 cmsContext ContextID = cmsGetTransformContextID(hTransform); local
[all...]
H A Dcmsnamed.c62 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) argument
70 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU));
73 mlu ->ContextID = ContextID;
76 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry));
78 _cmsFree(ContextID, mlu);
109 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size);
136 NewPtr = (_cmsMLUentry*)_cmsRealloc(mlu ->ContextID, mlu ->Entries, AllocatedEntries*sizeof(_cmsMLUentry));
222 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t));
230 _cmsFree(mlu ->ContextID, WSt
507 cmsAllocNamedColorList(cmsContext ContextID, cmsUInt32Number n, cmsUInt32Number ColorantCount, const char* Prefix, const char* Suffix) argument
720 cmsAllocProfileSequenceDescription(cmsContext ContextID, cmsUInt32Number n) argument
814 cmsContext ContextID; member in struct:_cmsDICT_struct
819 cmsDictAlloc(cmsContext ContextID) argument
859 DupWcs(cmsContext ContextID, const wchar_t* ptr) argument
[all...]
H A Dcmsio1.c190 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
195 Lut = cmsPipelineAlloc(ContextID, 1, 3);
205 EmptyTab = cmsBuildTabulatedToneCurve16(ContextID, 2, Zero);
217 cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, OneToThreeInputMatrix, NULL));
218 cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, LabCurves));
224 cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC));
225 cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, GrayInputMatrix, NULL));
238 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
259 Lut = cmsPipelineAlloc(ContextID, 3, 3);
262 cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID,
308 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
346 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
432 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
470 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
570 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
608 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
675 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
713 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
924 _cmsCompileProfileSequence(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[]) argument
[all...]
H A Dcmsgmt.c61 cmsHTRANSFORM _cmsChain2Lab(cmsContext ContextID, argument
84 hLab = cmsCreateLab4ProfileTHR(ContextID, NULL);
103 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList,
121 cmsToneCurve* ComputeKToLstar(cmsContext ContextID, argument
137 xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, AdaptationStates, dwFlags);
140 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number));
154 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints);
159 if (SampledPoints) _cmsFree(ContextID, SampledPoints);
168 cmsToneCurve* _cmsBuildKToneCurve(cmsContext ContextID, argument
189 in = ComputeKToLstar(ContextID, nPoint
319 _cmsCreateGamutCheckPipeline(cmsContext ContextID, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsUInt32Number nGamutPCSposition, cmsHPROFILE hGamut) argument
494 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
[all...]
H A Dcmslut.c60 cmsStage* CMSEXPORT _cmsStageAllocPlaceholder(cmsContext ContextID, argument
69 cmsStage* ph = (cmsStage*) _cmsMallocZero(ContextID, sizeof(cmsStage));
74 ph ->ContextID = ContextID;
99 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) argument
101 return _cmsStageAllocPlaceholder(ContextID,
232 _cmsFree(mpe ->ContextID, Data ->TheCurves);
233 _cmsFree(mpe ->ContextID, Data);
244 NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageToneCurvesData));
248 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewEle
277 cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsToneCurve* const Curves[]) argument
324 _cmsStageAllocIdentityCurves(cmsContext ContextID, int nChannels) argument
406 cmsStageAllocMatrix(cmsContext ContextID, cmsUInt32Number Rows, cmsUInt32Number Cols, const cmsFloat64Number* Matrix, const cmsFloat64Number* Offset) argument
566 cmsStageAllocCLut16bitGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number* Table) argument
626 cmsStageAllocCLut16bit(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number* Table) argument
644 cmsStageAllocCLutFloat(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table) argument
662 cmsStageAllocCLutFloatGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table) argument
735 _cmsStageAllocIdentityCLut(cmsContext ContextID, int nChan) argument
981 _cmsStageAllocLab2XYZ(cmsContext ContextID) argument
994 _cmsStageAllocLabV2ToV4curves(cmsContext ContextID) argument
1032 _cmsStageAllocLabV2ToV4(cmsContext ContextID) argument
1048 _cmsStageAllocLabV4ToV2(cmsContext ContextID) argument
1068 _cmsStageNormalizeFromLabFloat(cmsContext ContextID) argument
1090 _cmsStageNormalizeFromXyzFloat(cmsContext ContextID) argument
1107 _cmsStageNormalizeToLabFloat(cmsContext ContextID) argument
1127 _cmsStageNormalizeToXyzFloat(cmsContext ContextID) argument
1175 _cmsStageAllocXYZ2Lab(cmsContext ContextID) argument
1185 _cmsStageAllocLabPrelin(cmsContext ContextID) argument
1336 cmsPipelineAlloc(cmsContext ContextID, cmsUInt32Number InputChannels, cmsUInt32Number OutputChannels) argument
[all...]
H A Dcmsgamma.c175 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, argument
184 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve of more than 65530 entries");
189 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve with zero segments and no table");
194 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve));
203 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment));
206 p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametricCurveEvaluator));
218 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number));
237 p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*));
244 p ->SegInterp[i] = _cmsComputeInterpParams(ContextID, Segments[i].nGridPoints, 1, 1, NULL, CMS_LERP_FLAGS_FLOAT);
249 p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segment
581 cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number Values[]) argument
595 cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveSegment Segments[]) argument
630 cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]) argument
661 cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[]) argument
690 cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma) argument
699 cmsContext ContextID; local
761 cmsJoinToneCurve(cmsContext ContextID, const cmsToneCurve* X, const cmsToneCurve* Y, cmsUInt32Number nResultingPoints) argument
932 smooth2(cmsContext ContextID, cmsFloat32Number w[], cmsFloat32Number y[], cmsFloat32Number z[], cmsFloat32Number lambda, int m) argument
[all...]
H A Dcmsopt.c64 cmsContext ContextID; member in struct:__anon832
78 cmsContext ContextID; member in struct:__anon833
110 cmsContext ContextID; member in struct:__anon834
128 cmsContext ContextID; member in struct:__anon835
273 void PrelinOpt16free(cmsContext ContextID, void* ptr) argument
277 _cmsFree(ContextID, p16 ->StageDEF);
278 _cmsFree(ContextID, p16 ->EvalCurveOut16);
279 _cmsFree(ContextID, p16 ->ParamsCurveOut16);
281 _cmsFree(ContextID, p16);
285 void* Prelin16dup(cmsContext ContextID, cons argument
301 PrelinOpt16alloc(cmsContext ContextID, const cmsInterpParams* ColorMap, int nInputs, cmsToneCurve** In, int nOutputs, cmsToneCurve** Out ) argument
774 PrelinOpt8alloc(cmsContext ContextID, const cmsInterpParams* p, cmsToneCurve* G[3]) argument
826 Prelin8free(cmsContext ContextID, void* ptr) argument
832 Prelin8dup(cmsContext ContextID, const void* ptr) argument
1154 CurvesFree(cmsContext ContextID, void* ptr) argument
1169 CurvesDup(cmsContext ContextID, const void* ptr) argument
1187 CurvesAlloc(cmsContext ContextID, int nCurves, int nElements, cmsToneCurve** G) argument
1401 FreeMatShaper(cmsContext ContextID, void* Data) argument
1407 DupMatShaper(cmsContext ContextID, const void* Data) argument
[all...]
H A Dcmstypes.c211 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number *));
214 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number *));
235 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
236 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes);
240 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
241 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes);
260 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number *));
263 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number *));
300 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
301 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSize
1641 Read8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels) argument
1694 Write8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsUInt32Number n, _cmsStageToneCurvesData* Tables) argument
1984 Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) argument
2029 Write16bitTables(cmsContext ContextID, cmsIOHANDLER* io, _cmsStageToneCurvesData* Tables) argument
4814 cmsContext ContextID; member in struct:__anon846
4826 AllocElem(cmsContext ContextID, _cmsDICelem* e, cmsUInt32Number Count) argument
4864 AllocArray(cmsContext ContextID, _cmsDICarray* a, cmsUInt32Number Count, cmsUInt32Number Length) argument
[all...]
H A Dcmscnvrt.c62 cmsPipeline* _cmsLinkProfiles(cmsContext ContextID,
75 cmsPipeline* DefaultICCintents(cmsContext ContextID,
88 cmsPipeline* BlackPreservingKOnlyIntents(cmsContext ContextID,
101 cmsPipeline* BlackPreservingKPlaneIntents(cmsContext ContextID,
420 cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl));
425 cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl));
426 cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocXYZ2Lab(Result ->ContextID));
441 cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->ContextID));
443 cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl));
449 cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->ContextID));
492 DefaultICCintents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
615 _cmsDefaultICCintents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
680 BlackPreservingKOnlyIntents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
871 BlackPreservingKPlaneIntents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
983 _cmsLinkProfiles(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
[all...]
H A Dcmsxform.c122 p ->FreeUserData(p ->ContextID, p ->UserData);
124 _cmsFree(p ->ContextID, (void *) p);
463 _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, argument
469 _cmsTRANSFORM* p = (_cmsTRANSFORM*) _cmsMallocZero(ContextID, sizeof(_cmsTRANSFORM));
488 p ->ContextID = ContextID;
519 cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported raster format");
520 _cmsFree(ContextID, p);
542 cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported raster format");
543 _cmsFree(ContextID,
655 cmsCreateExtendedTransform(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsHPROFILE hGamutProfile, cmsUInt32Number nGamutPCSposition, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number dwFlags) argument
794 cmsCreateMultiprofileTransformTHR(cmsContext ContextID, cmsHPROFILE hProfiles[], cmsUInt32Number nProfiles, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags) argument
846 cmsCreateTransformTHR(cmsContext ContextID, cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags) argument
874 cmsCreateProofingTransformTHR(cmsContext ContextID, cmsHPROFILE InputProfile, cmsUInt32Number InputFormat, cmsHPROFILE OutputProfile, cmsUInt32Number OutputFormat, cmsHPROFILE ProofingProfile, cmsUInt32Number nIntent, cmsUInt32Number ProofingIntent, cmsUInt32Number dwFlags) argument
[all...]
H A Dlcms2_plugin.h128 CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...);
132 CMSAPI void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size);
133 CMSAPI void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size);
134 CMSAPI void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size);
135 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number NewSize);
136 CMSAPI void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr);
137 CMSAPI void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size);
145 cmsContext ContextID; member in struct:_cms_io_handler
216 typedef void (* _cmsFreeUserDataFn)(cmsContext ContextID, void* Data);
217 typedef void* (* _cmsDupUserDataFn)(cmsContext ContextID, cons
306 cmsContext ContextID; // The calling thread member in struct:_cms_interp_struc
425 cmsContext ContextID; member in struct:_cms_typehandler_struct
[all...]
H A Dcmsmd5.c83 cmsContext ContextID; member in struct:__anon831
184 cmsHANDLE MD5alloc(cmsContext ContextID) argument
186 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5));
189 ctx ->ContextID = ContextID;
281 _cmsFree(ctx ->ContextID, ctx);
292 cmsContext ContextID; local
301 ContextID = cmsGetProfileContextID(hProfile);
315 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded);
322 MD5 = MD5alloc(ContextID);
[all...]
H A Dcmsps2.c864 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, int Intent) argument
866 cmsToneCurve* Out = cmsBuildTabulatedToneCurve16(ContextID, 256, NULL);
868 cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, Intent, cmsFLAGS_NOOPTIMIZE);
914 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL);
924 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Cannot create transform Profile -> Lab");
933 cmsToneCurve* Gray2Y = ExtractGray2Y(m ->ContextID, hProfile, Intent);
958 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. This profile has %d channels.", nChannels);
1014 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Profile is not suitable for CSA. Unsupported colorspace.");
1035 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL);
1076 cmsUInt32Number GenerateCSA(cmsContext ContextID, argument
1504 GenerateCRD(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER* mem) argument
1551 cmsGetPostScriptColorResource(cmsContext ContextID, cmsPSResourceType Type, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER* io) argument
1578 cmsGetPostScriptCRD(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void* Buffer, cmsUInt32Number dwBufferLen) argument
1605 cmsGetPostScriptCSA(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void* Buffer, cmsUInt32Number dwBufferLen) argument
[all...]
H A Dlcms2.h1046 // Error logger is called with the ContextID when a message is raised. This gives the
1049 // Note that under certain special circumstances, ContextID may be NULL.
1050 typedef void (* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text);
1116 CMSAPI cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC);
1139 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveSegment Segments[]);
1140 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[]);
1141 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma);
1142 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number values[]);
1143 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]);
1149 CMSAPI cmsToneCurve* CMSEXPORT cmsJoinToneCurve(cmsContext ContextID, cons
1364 cmsContext ContextID; member in struct:__anon882
[all...]
H A Dcmssm.c97 cmsContext ContextID; member in struct:__anon842
330 cmsHANDLE CMSEXPORT cmsGBDAlloc(cmsContext ContextID) argument
332 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB));
335 gbd -> ContextID = ContextID;
345 _cmsFree(gbd->ContextID, (void*) gbd);
368 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range");
376 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range");
H A Dcmssamp.c76 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
81 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents,
104 cmsContext ContextID = cmsGetProfileContextID(hInput); local
132 hLab = cmsCreateLab2ProfileTHR(ContextID, NULL);
139 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat,
H A Dcmscgats.c201 cmsContext ContextID; // The threading context member in struct:__anon819
498 cmsSignalError(it8 ->ContextID, cmsERROR_CORRUPTION_DETECTED, "%s", ErrMsg);
1048 if (p->Ptr) _cmsFree(it8 ->ContextID, p->Ptr);
1049 _cmsFree(it8 ->ContextID, p);
1054 _cmsFree(it8 ->ContextID, it8->MemoryBlock);
1056 _cmsFree(it8 ->ContextID, it8);
1065 void* ptr = _cmsMallocZero(it8->ContextID, size);
1069 ptr1 = (OWNEDMEM*) _cmsMallocZero(it8 ->ContextID, sizeof(OWNEDMEM));
1073 _cmsFree(it8 ->ContextID, ptr);
1291 cmsHANDLE CMSEXPORT cmsIT8Alloc(cmsContext ContextID) argument
2303 cmsIT8LoadFromMem(cmsContext ContextID, void *Ptr, cmsUInt32Number len) argument
2345 cmsIT8LoadFromFile(cmsContext ContextID, const char* cFileName) argument
[all...]
H A Dcmscam02.c84 cmsContext ContextID; member in struct:__anon816
388 cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC) argument
394 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) {
398 lpMod ->ContextID = ContextID;
461 if (lpMod) _cmsFree(lpMod ->ContextID, lpMod);
H A Dcmsintrp.c106 cmsInterpParams* _cmsComputeInterpParamsEx(cmsContext ContextID, argument
117 cmsSignalError(ContextID, cmsERROR_RANGE, "Too many input channels (%d channels, max=%d)", InputChan, MAX_INPUT_DIMENSIONS);
122 p = (cmsInterpParams*) _cmsMallocZero(ContextID, sizeof(cmsInterpParams));
130 p ->ContextID = ContextID;
146 cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported interpolation (%d->%d channels)", InputChan, OutputChan);
147 _cmsFree(ContextID, p);
157 cmsInterpParams* _cmsComputeInterpParams(cmsContext ContextID, int nSamples, int InputChan, int OutputChan, const void* Table, cmsUInt32Number dwFlags) argument
167 return _cmsComputeInterpParamsEx(ContextID, Samples, InputChan, OutputChan, Table, dwFlags);
174 if (p != NULL) _cmsFree(p ->ContextID,
[all...]
H A DLCMS.c124 void errorHandler(cmsContext ContextID, cmsUInt32Number errorCode, argument

Completed in 336 milliseconds