Searched defs:ContextID (Results 1 - 25 of 25) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsmd5.c53 cmsContext ContextID; member in struct:__anon28683
154 cmsHANDLE MD5alloc(cmsContext ContextID) argument
156 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5));
159 ctx ->ContextID = ContextID;
251 _cmsFree(ctx ->ContextID, ctx);
262 cmsContext ContextID; local
271 ContextID = cmsGetProfileContextID(hProfile);
285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded);
292 MD5 = MD5alloc(ContextID);
[all...]
H A Dcmscam02.c55 cmsContext ContextID; member in struct:__anon28668
359 cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC) argument
365 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) {
369 lpMod ->ContextID = ContextID;
432 if (lpMod) _cmsFree(lpMod ->ContextID, lpMod);
H A Dcmserr.c77 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
84 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size)
90 cmsUNUSED_PARAMETER(ContextID);
95 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size)
97 void *pt = _cmsMalloc(ContextID, size);
107 void _cmsFreeDefaultFn(cmsContext ContextID, void *Ptr)
114 cmsUNUSED_PARAMETER(ContextID);
120 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size)
127 cmsUNUSED_PARAMETER(ContextID);
134 void* _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Numbe
257 _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin) argument
263 _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) argument
269 _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) argument
277 _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument
287 _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument
293 _cmsFree(cmsContext ContextID, void* Ptr) argument
299 _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument
358 _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) argument
388 _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial) argument
521 DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text) argument
532 cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandlerFunction Fn) argument
553 cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...) argument
641 _cmsRegisterMutexPlugin(cmsContext ContextID, cmsPluginBase* Data) argument
671 _cmsCreateMutex(cmsContext ContextID) argument
680 _cmsDestroyMutex(cmsContext ContextID, void* mtx) argument
690 _cmsLockMutex(cmsContext ContextID, void* mtx) argument
699 _cmsUnlockMutex(cmsContext ContextID, void* mtx) argument
[all...]
H A Dcmsgmt.c32 cmsHTRANSFORM _cmsChain2Lab(cmsContext ContextID, argument
55 hLab = cmsCreateLab4ProfileTHR(ContextID, NULL);
74 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList,
92 cmsToneCurve* ComputeKToLstar(cmsContext ContextID, argument
108 xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, AdaptationStates, dwFlags);
111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number));
125 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints);
130 if (SampledPoints) _cmsFree(ContextID, SampledPoints);
139 cmsToneCurve* _cmsBuildKToneCurve(cmsContext ContextID, argument
160 in = ComputeKToLstar(ContextID, nPoint
287 _cmsCreateGamutCheckPipeline(cmsContext ContextID, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsUInt32Number nGamutPCSposition, cmsHPROFILE hGamut) argument
465 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
[all...]
H A Dcmssamp.c43 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
44 cmsHPROFILE hLab = cmsCreateLab4ProfileTHR(ContextID, NULL);
54 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents,
77 cmsContext ContextID = cmsGetProfileContextID(hInput); local
105 hLab = cmsCreateLab2ProfileTHR(ContextID, NULL);
112 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat,
H A Dcmsio1.c160 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
165 Lut = cmsPipelineAlloc(ContextID, 1, 3);
176 EmptyTab = cmsBuildTabulatedToneCurve16(ContextID, 2, Zero);
185 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, OneToThreeInputMatrix, NULL)) ||
186 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, LabCurves))) {
196 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC)) ||
197 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, GrayInputMatrix, NULL)))
220 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
241 Lut = cmsPipelineAlloc(ContextID, 3, 3);
244 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID,
272 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
319 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
419 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
463 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
545 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
591 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
667 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
712 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
933 _cmsCompileProfileSequence(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[]) argument
[all...]
H A Dcmsnamed.c33 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) argument
41 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU));
44 mlu ->ContextID = ContextID;
47 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry));
49 _cmsFree(ContextID, mlu);
80 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size);
107 NewPtr = (_cmsMLUentry*)_cmsRealloc(mlu ->ContextID, mlu ->Entries, AllocatedEntries*sizeof(_cmsMLUentry));
193 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t));
201 _cmsFree(mlu ->ContextID, WSt
507 cmsAllocNamedColorList(cmsContext ContextID, cmsUInt32Number n, cmsUInt32Number ColorantCount, const char* Prefix, const char* Suffix) argument
718 cmsAllocProfileSequenceDescription(cmsContext ContextID, cmsUInt32Number n) argument
812 cmsContext ContextID; member in struct:_cmsDICT_struct
817 cmsDictAlloc(cmsContext ContextID) argument
857 DupWcs(cmsContext ContextID, const wchar_t* ptr) argument
[all...]
H A Dcmsplugin.c519 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size) argument
521 struct _cmsContext_struct* ctx = _cmsGetContext(ContextID);
525 if (ContextID == NULL) {
530 cmsSignalError(ContextID, cmsERROR_CORRUPTION_DETECTED, "NULL memory pool on context");
661 struct _cmsContext_struct* _cmsGetContext(cmsContext ContextID) argument
663 struct _cmsContext_struct* id = (struct _cmsContext_struct*) ContextID;
687 void* _cmsContextGetClientChunk(cmsContext ContextID, _cmsMemoryClient mc) argument
693 cmsSignalError(ContextID, cmsERROR_RANGE, "Bad context client");
697 ctx = _cmsGetContext(ContextID);
714 void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID) argument
822 cmsDupContext(cmsContext ContextID, void* NewUserData) argument
904 cmsDeleteContext(cmsContext ContextID) argument
952 cmsGetContextUserData(cmsContext ContextID) argument
[all...]
H A Dcmssm.c68 cmsContext ContextID; member in struct:__anon28694
301 cmsHANDLE CMSEXPORT cmsGBDAlloc(cmsContext ContextID) argument
303 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB));
306 gbd -> ContextID = ContextID;
316 _cmsFree(gbd->ContextID, (void*) gbd);
339 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range");
347 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range");
H A Dcmscnvrt.c33 cmsPipeline* _cmsLinkProfiles(cmsContext ContextID,
46 cmsPipeline* DefaultICCintents(cmsContext ContextID,
59 cmsPipeline* BlackPreservingKOnlyIntents(cmsContext ContextID,
72 cmsPipeline* BlackPreservingKPlaneIntents(cmsContext ContextID,
164 cmsIntentsList* SearchIntent(cmsContext ContextID, cmsUInt32Number Intent) argument
166 _cmsIntentsPluginChunkType* ctx = ( _cmsIntentsPluginChunkType*) _cmsContextGetClientChunk(ContextID, IntentPlugin);
444 !cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl)))
450 !cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl)))
452 if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocXYZ2Lab(Result ->ContextID)))
467 if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->ContextID)))
520 DefaultICCintents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
648 _cmsDefaultICCintents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
713 BlackPreservingKOnlyIntents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
905 BlackPreservingKPlaneIntents(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
1018 _cmsLinkProfiles(cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
1073 cmsGetSupportedIntentsTHR(cmsContext ContextID, cmsUInt32Number nMax, cmsUInt32Number* Codes, char** Descriptions) argument
[all...]
H A Dcmsgamma.c127 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Data) argument
129 _cmsCurvesPluginChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin);
139 fl = (_cmsParametricCurvesCollection*) _cmsPluginMalloc(ContextID, sizeof(_cmsParametricCurvesCollection));
178 _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int* index) argument
182 _cmsCurvesPluginChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin);
213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, argument
222 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve of more than 65530 entries");
227 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve with zero segments and no table");
232 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve));
241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegment
620 cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number Values[]) argument
634 cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveSegment Segments[]) argument
669 cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]) argument
713 cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[]) argument
742 cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma) argument
751 cmsContext ContextID; local
835 cmsJoinToneCurve(cmsContext ContextID, const cmsToneCurve* X, const cmsToneCurve* Y, cmsUInt32Number nResultingPoints) argument
1009 smooth2(cmsContext ContextID, cmsFloat32Number w[], cmsFloat32Number y[], cmsFloat32Number z[], cmsFloat32Number lambda, int m) argument
[all...]
H A Dcmsintrp.c60 cmsBool _cmsRegisterInterpPlugin(cmsContext ContextID, cmsPluginBase* Data) argument
63 _cmsInterpPluginChunkType* ptr = (_cmsInterpPluginChunkType*) _cmsContextGetClientChunk(ContextID, InterpPlugin);
78 cmsBool _cmsSetInterpolationRoutine(cmsContext ContextID, cmsInterpParams* p) argument
80 _cmsInterpPluginChunkType* ptr = (_cmsInterpPluginChunkType*) _cmsContextGetClientChunk(ContextID, InterpPlugin);
103 cmsInterpParams* _cmsComputeInterpParamsEx(cmsContext ContextID, argument
114 cmsSignalError(ContextID, cmsERROR_RANGE, "Too many input channels (%d channels, max=%d)", InputChan, MAX_INPUT_DIMENSIONS);
119 p = (cmsInterpParams*) _cmsMallocZero(ContextID, sizeof(cmsInterpParams));
127 p ->ContextID = ContextID;
142 if (!_cmsSetInterpolationRoutine(ContextID,
154 _cmsComputeInterpParams(cmsContext ContextID, int nSamples, int InputChan, int OutputChan, const void* Table, cmsUInt32Number dwFlags) argument
[all...]
H A Dcmsps2.c831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, int Intent) argument
833 cmsToneCurve* Out = cmsBuildTabulatedToneCurve16(ContextID, 256, NULL);
835 cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, Intent, cmsFLAGS_NOOPTIMIZE);
881 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL);
891 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Cannot create transform Profile -> Lab");
900 cmsToneCurve* Gray2Y = ExtractGray2Y(m ->ContextID, hProfile, Intent);
916 _cmsOptimizePipeline(m->ContextID, &DeviceLink, Intent, &InputFormat, &OutFrm, &dwFlags);
926 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. This profile has %d channels.", nChannels);
982 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Profile is not suitable for CSA. Unsupported colorspace.");
1003 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NUL
1044 GenerateCSA(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER* mem) argument
1472 GenerateCRD(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER* mem) argument
1519 cmsGetPostScriptColorResource(cmsContext ContextID, cmsPSResourceType Type, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, cmsIOHANDLER* io) argument
1546 cmsGetPostScriptCRD(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void* Buffer, cmsUInt32Number dwBufferLen) argument
1573 cmsGetPostScriptCSA(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dwFlags, void* Buffer, cmsUInt32Number dwBufferLen) argument
[all...]
H A Dcmsvirt.c37 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
39 DescriptionMLU = cmsMLUalloc(ContextID, 1);
40 CopyrightMLU = cmsMLUalloc(ContextID, 1);
66 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
67 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1);
101 cmsHPROFILE CMSEXPORT cmsCreateRGBProfileTHR(cmsContext ContextID, argument
113 hICC = cmsCreateProfilePlaceholder(ContextID);
227 cmsHPROFILE CMSEXPORT cmsCreateGrayProfileTHR(cmsContext ContextID, argument
234 hICC = cmsCreateProfilePlaceholder(ContextID);
288 cmsHPROFILE CMSEXPORT cmsCreateLinearizationDeviceLinkTHR(cmsContext ContextID, argument
393 cmsCreateInkLimitingDeviceLinkTHR(cmsContext ContextID, cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit) argument
474 cmsCreateLab2ProfileTHR(cmsContext ContextID, const cmsCIExyY* WhitePoint) argument
521 cmsCreateLab4ProfileTHR(cmsContext ContextID, const cmsCIExyY* WhitePoint) argument
567 cmsCreateXYZProfileTHR(cmsContext ContextID) argument
629 Build_sRGBGamma(cmsContext ContextID) argument
643 cmsCreate_sRGBProfileTHR(cmsContext ContextID) argument
726 cmsCreateBCHSWabstractProfileTHR(cmsContext ContextID, int nLUTPoints, cmsFloat64Number Bright, cmsFloat64Number Contrast, cmsFloat64Number Hue, cmsFloat64Number Saturation, int TempSrc, int TempDest) argument
821 cmsCreateNULLProfileTHR(cmsContext ContextID) argument
1053 cmsContext ContextID = cmsGetTransformContextID(hTransform); local
[all...]
H A Dcmsxform.c57 cmsFloat64Number CMSEXPORT cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d) argument
60 _cmsAdaptationStateChunkType* ptr = (_cmsAdaptationStateChunkType*) _cmsContextGetClientChunk(ContextID, AdaptationStateContext);
93 void CMSEXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) argument
95 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesContext);
104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) argument
106 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesContext);
169 p ->FreeUserData(p ->ContextID, p ->UserData);
171 _cmsFree(p ->ContextID, (void *) p);
337 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(p->ContextID, AlarmCodesContext);
523 cmsBool _cmsRegisterTransformPlugin(cmsContext ContextID, cmsPluginBas argument
588 AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* OutputFormat, cmsUInt32Number* dwFlags) argument
801 cmsCreateExtendedTransform(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsHPROFILE hGamutProfile, cmsUInt32Number nGamutPCSposition, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number dwFlags) argument
942 cmsCreateMultiprofileTransformTHR(cmsContext ContextID, cmsHPROFILE hProfiles[], cmsUInt32Number nProfiles, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags) argument
994 cmsCreateTransformTHR(cmsContext ContextID, cmsHPROFILE Input, cmsUInt32Number InputFormat, cmsHPROFILE Output, cmsUInt32Number OutputFormat, cmsUInt32Number Intent, cmsUInt32Number dwFlags) argument
1022 cmsCreateProofingTransformTHR(cmsContext ContextID, cmsHPROFILE InputProfile, cmsUInt32Number InputFormat, cmsHPROFILE OutputProfile, cmsUInt32Number OutputFormat, cmsHPROFILE ProofingProfile, cmsUInt32Number nIntent, cmsUInt32Number ProofingIntent, cmsUInt32Number dwFlags) argument
[all...]
H A Dcmsio0.c93 _cmsFree(iohandler ->ContextID, ResData);
94 _cmsFree(iohandler ->ContextID, iohandler);
99 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromNULL(cmsContext ContextID) argument
104 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler));
107 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL));
112 iohandler ->ContextID = ContextID;
127 if (iohandler) _cmsFree(ContextID, iohandler);
155 cmsSignalError(iohandler ->ContextID, cmsERROR_READ, "Read from memory error. Got %d bytes, block should be of %d bytes", len, count * size);
174 cmsSignalError(iohandler ->ContextID, cmsERROR_SEE
237 cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buffer, cmsUInt32Number size, const char* AccessMode) argument
366 cmsOpenIOhandlerFromFile(cmsContext ContextID, const char* FileName, const char* AccessMode) argument
423 cmsOpenIOhandlerFromStream(cmsContext ContextID, FILE* Stream) argument
464 cmsCreateProfilePlaceholder(cmsContext ContextID) argument
989 cmsOpenProfileFromIOhandlerTHR(cmsContext ContextID, cmsIOHANDLER* io) argument
1008 cmsOpenProfileFromIOhandler2THR(cmsContext ContextID, cmsIOHANDLER* io, cmsBool write) argument
1034 cmsOpenProfileFromFileTHR(cmsContext ContextID, const char *lpFileName, const char *sAccess) argument
1068 cmsOpenProfileFromStreamTHR(cmsContext ContextID, FILE* ICCProfile, const char *sAccess) argument
1102 cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32Number dwSize) argument
1280 cmsContext ContextID; local
1329 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
1348 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
1365 cmsContext ContextID = cmsGetProfileContextID(hProfile); local
[all...]
H A Dcmslut.c31 cmsStage* CMSEXPORT _cmsStageAllocPlaceholder(cmsContext ContextID, argument
40 cmsStage* ph = (cmsStage*) _cmsMallocZero(ContextID, sizeof(cmsStage));
45 ph ->ContextID = ContextID;
70 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) argument
72 return _cmsStageAllocPlaceholder(ContextID,
203 _cmsFree(mpe ->ContextID, Data ->TheCurves);
204 _cmsFree(mpe ->ContextID, Data);
215 NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageToneCurvesData));
219 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewEle
248 cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsToneCurve* const Curves[]) argument
295 _cmsStageAllocIdentityCurves(cmsContext ContextID, int nChannels) argument
379 cmsStageAllocMatrix(cmsContext ContextID, cmsUInt32Number Rows, cmsUInt32Number Cols, const cmsFloat64Number* Matrix, const cmsFloat64Number* Offset) argument
550 cmsStageAllocCLut16bitGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number* Table) argument
610 cmsStageAllocCLut16bit(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsUInt16Number* Table) argument
627 cmsStageAllocCLutFloat(cmsContext ContextID, cmsUInt32Number nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table) argument
645 cmsStageAllocCLutFloatGranular(cmsContext ContextID, const cmsUInt32Number clutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table) argument
715 _cmsStageAllocIdentityCLut(cmsContext ContextID, int nChan) argument
965 _cmsStageAllocLab2XYZ(cmsContext ContextID) argument
978 _cmsStageAllocLabV2ToV4curves(cmsContext ContextID) argument
1016 _cmsStageAllocLabV2ToV4(cmsContext ContextID) argument
1032 _cmsStageAllocLabV4ToV2(cmsContext ContextID) argument
1052 _cmsStageNormalizeFromLabFloat(cmsContext ContextID) argument
1074 _cmsStageNormalizeFromXyzFloat(cmsContext ContextID) argument
1091 _cmsStageNormalizeToLabFloat(cmsContext ContextID) argument
1111 _cmsStageNormalizeToXyzFloat(cmsContext ContextID) argument
1159 _cmsStageAllocXYZ2Lab(cmsContext ContextID) argument
1169 _cmsStageAllocLabPrelin(cmsContext ContextID) argument
1330 cmsPipelineAlloc(cmsContext ContextID, cmsUInt32Number InputChannels, cmsUInt32Number OutputChannels) argument
[all...]
H A Dcmsopt.c35 cmsContext ContextID; member in struct:__anon28684
49 cmsContext ContextID; member in struct:__anon28685
77 cmsContext ContextID; member in struct:__anon28686
95 cmsContext ContextID; member in struct:__anon28687
239 void PrelinOpt16free(cmsContext ContextID, void* ptr) argument
243 _cmsFree(ContextID, p16 ->EvalCurveOut16);
244 _cmsFree(ContextID, p16 ->ParamsCurveOut16);
246 _cmsFree(ContextID, p16);
250 void* Prelin16dup(cmsContext ContextID, const void* ptr) argument
253 Prelin16Data* Duped = _cmsDupMem(ContextID, p1
265 PrelinOpt16alloc(cmsContext ContextID, const cmsInterpParams* ColorMap, int nInputs, cmsToneCurve** In, int nOutputs, cmsToneCurve** Out ) argument
757 PrelinOpt8alloc(cmsContext ContextID, const cmsInterpParams* p, cmsToneCurve* G[3]) argument
809 Prelin8free(cmsContext ContextID, void* ptr) argument
815 Prelin8dup(cmsContext ContextID, const void* ptr) argument
1140 CurvesFree(cmsContext ContextID, void* ptr) argument
1155 CurvesDup(cmsContext ContextID, const void* ptr) argument
1173 CurvesAlloc(cmsContext ContextID, int nCurves, int nElements, cmsToneCurve** G) argument
1392 FreeMatShaper(cmsContext ContextID, void* Data) argument
1398 DupMatShaper(cmsContext ContextID, const void* Data) argument
1701 _cmsRegisterOptimizationPlugin(cmsContext ContextID, cmsPluginBase* Data) argument
1733 _cmsOptimizePipeline(cmsContext ContextID, cmsPipeline** PtrLut, int Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* OutputFormat, cmsUInt32Number* dwFlags) argument
[all...]
H A Dcmspack.c3285 cmsBool _cmsRegisterFormattersPlugin(cmsContext ContextID, cmsPluginBase* Data) argument
3287 _cmsFormattersPluginChunkType* ctx = ( _cmsFormattersPluginChunkType*) _cmsContextGetClientChunk(ContextID, FormattersPlugin);
3298 fl = (cmsFormattersFactoryList*) _cmsPluginMalloc(ContextID, sizeof(cmsFormattersFactoryList));
3309 cmsFormatter _cmsGetFormatter(cmsContext ContextID, argument
3314 _cmsFormattersPluginChunkType* ctx = ( _cmsFormattersPluginChunkType*) _cmsContextGetClientChunk(ContextID, FormattersPlugin);
H A Dlcms2_internal.h326 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size);
329 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
332 cmsBool _cmsRegisterInterpPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
335 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
338 cmsBool _cmsRegisterFormattersPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
341 cmsBool _cmsRegisterTagTypePlugin(cmsContext ContextID, cmsPluginBase* Plugin);
344 cmsBool _cmsRegisterTagPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
347 cmsBool _cmsRegisterRenderingIntentPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
350 cmsBool _cmsRegisterMultiProcessElementPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
353 cmsBool _cmsRegisterOptimizationPlugin(cmsContext ContextID, cmsPluginBas
377 cmsContext ContextID; member in struct:__anon28703
657 cmsContext ContextID; member in struct:_cms_MLU_struct
690 cmsContext ContextID; member in struct:_cms_NAMEDCOLORLIST_struct
707 cmsContext ContextID; member in struct:_cms_iccprofile_struct
793 cmsContext ContextID; member in struct:_cmsStage_struct
850 cmsContext ContextID; // Environment member in struct:_cmsPipeline_struct
995 cmsContext ContextID; member in struct:_cmstransform_struct
[all...]
H A Dcmscgats.c175 cmsContext ContextID; // The threading context member in struct:__anon28671
471 cmsSignalError(it8 ->ContextID, cmsERROR_CORRUPTION_DETECTED, "%s", ErrMsg);
1035 if (p->Ptr) _cmsFree(it8 ->ContextID, p->Ptr);
1036 _cmsFree(it8 ->ContextID, p);
1041 _cmsFree(it8 ->ContextID, it8->MemoryBlock);
1043 _cmsFree(it8 ->ContextID, it8);
1052 void* ptr = _cmsMallocZero(it8->ContextID, size);
1056 ptr1 = (OWNEDMEM*) _cmsMallocZero(it8 ->ContextID, sizeof(OWNEDMEM));
1060 _cmsFree(it8 ->ContextID, ptr);
1280 cmsHANDLE CMSEXPORT cmsIT8Alloc(cmsContext ContextID) argument
2294 cmsIT8LoadFromMem(cmsContext ContextID, void *Ptr, cmsUInt32Number len) argument
2336 cmsIT8LoadFromFile(cmsContext ContextID, const char* cFileName) argument
[all...]
H A Dcmstypes.c178 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
181 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
202 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
203 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes);
207 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
208 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes);
227 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
230 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
267 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets);
268 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSize
1616 Read8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels) argument
1665 Write8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsUInt32Number n, _cmsStageToneCurvesData* Tables) argument
1963 Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) argument
2005 Write16bitTables(cmsContext ContextID, cmsIOHANDLER* io, _cmsStageToneCurvesData* Tables) argument
4793 cmsContext ContextID; member in struct:__anon28698
4805 AllocElem(cmsContext ContextID, _cmsDICelem* e, cmsUInt32Number Count) argument
4843 AllocArray(cmsContext ContextID, _cmsDICarray* a, cmsUInt32Number Count, cmsUInt32Number Length) argument
5348 _cmsGetTagTypeHandler(cmsContext ContextID, cmsTagTypeSignature sig) argument
5544 _cmsGetTagDescriptor(cmsContext ContextID, cmsTagSignature sig) argument
[all...]
/external/chromium_org/components/history/core/browser/
H A Dhistory_types.h51 typedef content::WebContents* ContextID; typedef in namespace:history
381 ContextID context_id,
393 ContextID context_id;
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
H A Dlcms2_plugin.h99 CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...);
103 CMSAPI void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size);
104 CMSAPI void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size);
105 CMSAPI void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size);
106 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number NewSize);
107 CMSAPI void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr);
108 CMSAPI void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size);
116 cmsContext ContextID; member in struct:_cms_io_handler
187 typedef void (* _cmsFreeUserDataFn)(cmsContext ContextID, void* Data);
188 typedef void* (* _cmsDupUserDataFn)(cmsContext ContextID, cons
287 cmsContext ContextID; // The calling thread member in struct:_cms_interp_struc
406 cmsContext ContextID; member in struct:_cms_typehandler_struct
[all...]
H A Dlcms2.h1020 CMSAPI cmsContext CMSEXPORT cmsDupContext(cmsContext ContextID, void* NewUserData);
1021 CMSAPI void* CMSEXPORT cmsGetContextUserData(cmsContext ContextID);
1026 CMSAPI cmsBool CMSEXPORT cmsPluginTHR(cmsContext ContextID, void* Plugin);
1028 CMSAPI void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID);
1057 // Error logger is called with the ContextID when a message is raised. This gives the
1060 // Note that under certain special circumstances, ContextID may be NULL.
1061 typedef void (* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text);
1065 CMSAPI void CMSEXPORT cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandlerFunction Fn);
1128 CMSAPI cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC);
1151 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Numbe
1383 cmsContext ContextID; member in struct:__anon28642
[all...]

Completed in 1340 milliseconds