Home
last modified time | relevance | path

Searched refs:ContextID (Results 1 – 25 of 50) sorted by relevance

12

/external/pdfium/third_party/lcms/src/
Dcmserr.c72 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin) in _cmsRegisterMemHandlerPlugin() argument
78 void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsMalloc() argument
84 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero() argument
92 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() argument
98 return _cmsMallocZero(ContextID, num * size); in _cmsCalloc()
102 void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) in _cmsRealloc() argument
108 void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr) in _cmsFree() argument
114 void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) in _cmsDupMem() argument
172 _cmsSubAllocator_chunk* _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAllocChunk() argument
181 chunk = (_cmsSubAllocator_chunk*) _cmsMallocZero(ContextID, sizeof(_cmsSubAllocator_chunk)); in _cmsCreateSubAllocChunk()
[all …]
Dcmsio0.c94 _cmsFree(iohandler ->ContextID, ResData); in NULLClose()
95 _cmsFree(iohandler ->ContextID, iohandler); in NULLClose()
100 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromNULL(cmsContext ContextID) in cmsOpenIOhandlerFromNULL() argument
105 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler)); in cmsOpenIOhandlerFromNULL()
108 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL)); in cmsOpenIOhandlerFromNULL()
113 iohandler ->ContextID = ContextID; in cmsOpenIOhandlerFromNULL()
128 if (iohandler) _cmsFree(ContextID, iohandler); in cmsOpenIOhandlerFromNULL()
156 …cmsSignalError(iohandler ->ContextID, cmsERROR_READ, "Read from memory error. Got %d bytes, block … in MemoryRead()
175 … cmsSignalError(iohandler ->ContextID, cmsERROR_SEEK, "Too few data; probably corrupted profile"); in MemorySeek()
226 if (ResData ->Block) _cmsFree(iohandler ->ContextID, ResData ->Block); in MemoryClose()
[all …]
Dlcms2_internal.h391 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size);
394 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
397 cmsBool _cmsRegisterInterpPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
400 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
403 cmsBool _cmsRegisterFormattersPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
406 cmsBool _cmsRegisterTagTypePlugin(cmsContext ContextID, cmsPluginBase* Plugin);
409 cmsBool _cmsRegisterTagPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
412 cmsBool _cmsRegisterRenderingIntentPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
415 cmsBool _cmsRegisterMultiProcessElementPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
418 cmsBool _cmsRegisterOptimizationPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
[all …]
Dcmsio1.c160 cmsContext ContextID = cmsGetProfileContextID(hProfile); in BuildGrayInputMatrixPipeline() local
165 Lut = cmsPipelineAlloc(ContextID, 1, 3); in BuildGrayInputMatrixPipeline()
176 EmptyTab = cmsBuildTabulatedToneCurve16(ContextID, 2, Zero); in BuildGrayInputMatrixPipeline()
185 …if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, OneToThreeInputM… in BuildGrayInputMatrixPipeline()
186 … !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, LabCurves))) { in BuildGrayInputMatrixPipeline()
196 … if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC)) || in BuildGrayInputMatrixPipeline()
197 …!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, GrayInputMatrix, NUL… in BuildGrayInputMatrixPipeline()
220 cmsContext ContextID = cmsGetProfileContextID(hProfile); in BuildRGBInputMatrixShaper() local
241 Lut = cmsPipelineAlloc(ContextID, 3, 3); in BuildRGBInputMatrixShaper()
244 … if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, Shapes)) || in BuildRGBInputMatrixShaper()
[all …]
Dcmslut.c31 cmsStage* CMSEXPORT _cmsStageAllocPlaceholder(cmsContext ContextID, in _cmsStageAllocPlaceholder() argument
40 cmsStage* ph = (cmsStage*) _cmsMallocZero(ContextID, sizeof(cmsStage)); in _cmsStageAllocPlaceholder()
45 ph ->ContextID = ContextID; in _cmsStageAllocPlaceholder()
70 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) in cmsStageAllocIdentity() argument
72 return _cmsStageAllocPlaceholder(ContextID, in cmsStageAllocIdentity()
203 _cmsFree(mpe ->ContextID, Data ->TheCurves); in CurveSetElemTypeFree()
204 _cmsFree(mpe ->ContextID, Data); in CurveSetElemTypeFree()
215 …NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageToneCurvesDat… in CurveSetDup()
219 …NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewElem ->nCurves, sizeof(cmsTo… in CurveSetDup()
241 _cmsFree(mpe ->ContextID, NewElem ->TheCurves); in CurveSetDup()
[all …]
Dcmsgamma.c127 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterParametricCurvesPlugin() argument
129 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); in _cmsRegisterParametricCurvesPlugin()
139 …fl = (_cmsParametricCurvesCollection*) _cmsPluginMalloc(ContextID, sizeof(_cmsParametricCurvesColl… in _cmsRegisterParametricCurvesPlugin()
178 const _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int*… in GetParametricCurveByType() argument
182 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); in GetParametricCurveByType()
213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsUInt32Number nEntries, in AllocateToneCurveStruct() argument
222 …cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve of more than 65530 entries"); in AllocateToneCurveStruct()
227 …cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve with zero segments and no ta… in AllocateToneCurveStruct()
232 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve)); in AllocateToneCurveStruct()
241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
[all …]
Dcmsvirt.c37 cmsContext ContextID = cmsGetProfileContextID(hProfile); in SetTextTags() local
39 DescriptionMLU = cmsMLUalloc(ContextID, 1); in SetTextTags()
40 CopyrightMLU = cmsMLUalloc(ContextID, 1); in SetTextTags()
66 cmsContext ContextID = cmsGetProfileContextID(hProfile); in SetSeqDescTag() local
67 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1); in SetSeqDescTag()
101 cmsHPROFILE CMSEXPORT cmsCreateRGBProfileTHR(cmsContext ContextID, in cmsCreateRGBProfileTHR() argument
113 hICC = cmsCreateProfilePlaceholder(ContextID); in cmsCreateRGBProfileTHR()
227 cmsHPROFILE CMSEXPORT cmsCreateGrayProfileTHR(cmsContext ContextID, in cmsCreateGrayProfileTHR() argument
234 hICC = cmsCreateProfilePlaceholder(ContextID); in cmsCreateGrayProfileTHR()
288 cmsHPROFILE CMSEXPORT cmsCreateLinearizationDeviceLinkTHR(cmsContext ContextID, in cmsCreateLinearizationDeviceLinkTHR() argument
[all …]
Dcmsnamed.c33 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) in cmsMLUalloc() argument
41 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU)); in cmsMLUalloc()
44 mlu ->ContextID = ContextID; in cmsMLUalloc()
47 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry)); in cmsMLUalloc()
49 _cmsFree(ContextID, mlu); in cmsMLUalloc()
80 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size); in GrowMLUpool()
107 …NewPtr = (_cmsMLUentry*)_cmsRealloc(mlu ->ContextID, mlu ->Entries, AllocatedEntries*sizeof(_cmsML… in GrowMLUtable()
221 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t)); in cmsMLUsetASCII()
229 _cmsFree(mlu ->ContextID, WStr); in cmsMLUsetASCII()
269 NewMlu = cmsMLUalloc(mlu ->ContextID, mlu ->UsedEntries); in cmsMLUdup()
[all …]
Dcmsxform.c57 cmsFloat64Number CMSEXPORT cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d) in cmsSetAdaptationStateTHR() argument
60 …nkType* ptr = (_cmsAdaptationStateChunkType*) _cmsContextGetClientChunk(ContextID, AdaptationState… in cmsSetAdaptationStateTHR()
93 void CMSEXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCH… in cmsSetAlarmCodesTHR() argument
95 …ontextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesConte… in cmsSetAlarmCodesTHR()
104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS… in cmsGetAlarmCodesTHR() argument
106 …ontextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesConte… in cmsGetAlarmCodesTHR()
169 p ->FreeUserData(p ->ContextID, p ->UserData); in cmsDeleteTransform()
171 _cmsFree(p ->ContextID, (void *) p); in cmsDeleteTransform()
434 …extAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(p->ContextID, AlarmCodesConte… in TransformOnePixelWithGamutCheck()
691 cmsBool _cmsRegisterTransformPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterTransformPlugin() argument
[all …]
Dcmstypes.c190 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
193 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
214 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable()
215 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable()
219 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable()
220 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable()
239 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
242 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
279 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in WritePositionTable()
280 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in WritePositionTable()
[all …]
Dcmsgmt.c32 cmsHTRANSFORM _cmsChain2Lab(cmsContext ContextID, in _cmsChain2Lab() argument
55 hLab = cmsCreateLab4ProfileTHR(ContextID, NULL); in _cmsChain2Lab()
74 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList, in _cmsChain2Lab()
92 cmsToneCurve* ComputeKToLstar(cmsContext ContextID, in ComputeKToLstar() argument
108 …xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, … in ComputeKToLstar()
111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); in ComputeKToLstar()
125 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints); in ComputeKToLstar()
130 if (SampledPoints) _cmsFree(ContextID, SampledPoints); in ComputeKToLstar()
139 cmsToneCurve* _cmsBuildKToneCurve(cmsContext ContextID, in _cmsBuildKToneCurve() argument
160 …in = ComputeKToLstar(ContextID, nPoints, nProfiles - 1, Intents, hProfiles, BPC, AdaptationStates… in _cmsBuildKToneCurve()
[all …]
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) in SearchIntent() argument
166 …ChunkType* ctx = ( _cmsIntentsPluginChunkType*) _cmsContextGetClientChunk(ContextID, IntentPlugin); in SearchIntent()
448 …!cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl,… in AddConversion()
454 …!cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl,… in AddConversion()
456 … if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocXYZ2Lab(Result ->ContextID))) in AddConversion()
471 … if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->ContextID))) in AddConversion()
[all …]
Dcmsopt.c35 cmsContext ContextID; member
49 cmsContext ContextID; member
77 cmsContext ContextID; member
95 cmsContext ContextID; member
263 …cmsStage* Multmat = cmsStageAllocMatrix(Lut->ContextID, 3, 3, (const cmsFloat64Number*) &res, NULL… in _MultiplyMatrix()
358 void PrelinOpt16free(cmsContext ContextID, void* ptr) in PrelinOpt16free() argument
362 _cmsFree(ContextID, p16 ->EvalCurveOut16); in PrelinOpt16free()
363 _cmsFree(ContextID, p16 ->ParamsCurveOut16); in PrelinOpt16free()
365 _cmsFree(ContextID, p16); in PrelinOpt16free()
369 void* Prelin16dup(cmsContext ContextID, const void* ptr) in Prelin16dup() argument
[all …]
Dcmsplugin.c522 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsPluginMalloc() argument
524 struct _cmsContext_struct* ctx = _cmsGetContext(ContextID); in _cmsPluginMalloc()
528 if (ContextID == NULL) { in _cmsPluginMalloc()
534 cmsSignalError(ContextID, cmsERROR_CORRUPTION_DETECTED, "NULL memory pool on context"); in _cmsPluginMalloc()
665 struct _cmsContext_struct* _cmsGetContext(cmsContext ContextID) in _cmsGetContext() argument
667 struct _cmsContext_struct* id = (struct _cmsContext_struct*) ContextID; in _cmsGetContext()
691 void* _cmsContextGetClientChunk(cmsContext ContextID, _cmsMemoryClient mc) in _cmsContextGetClientChunk() argument
698 … cmsSignalError(ContextID, cmsERROR_INTERNAL, "Bad context client -- possible corruption"); in _cmsContextGetClientChunk()
707 ctx = _cmsGetContext(ContextID); in _cmsContextGetClientChunk()
724 void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID) in cmsUnregisterPluginsTHR() argument
[all …]
Dcmsps2.c831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent) in ExtractGray2Y() argument
833 cmsToneCurve* Out = cmsBuildTabulatedToneCurve16(ContextID, 256, NULL); in ExtractGray2Y()
835 …cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, … in ExtractGray2Y()
881 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL); in WriteInputLUT()
891 …cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Cannot create transform Profile -> Lab"); in WriteInputLUT()
900 cmsToneCurve* Gray2Y = ExtractGray2Y(m ->ContextID, hProfile, Intent); in WriteInputLUT()
916 … _cmsOptimizePipeline(m->ContextID, &DeviceLink, Intent, &InputFormat, &OutFrm, &dwFlags); in WriteInputLUT()
926 …cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. Th… in WriteInputLUT()
981 …cmsSignalError(m->ContextID, cmsERROR_COLORSPACE_CHECK, "Profile is not suitable for CSA. Unsuppor… in WriteInputMatrixShaper()
1002 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL); in WriteNamedColorCSA()
[all …]
Dcmsmd5.c54 cmsContext ContextID; member
155 cmsHANDLE MD5alloc(cmsContext ContextID) in MD5alloc() argument
157 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5)); in MD5alloc()
160 ctx ->ContextID = ContextID; in MD5alloc()
252 _cmsFree(ctx ->ContextID, ctx); in MD5finish()
263 cmsContext ContextID; in cmsMD5computeID() local
272 ContextID = cmsGetProfileContextID(hProfile); in cmsMD5computeID()
286 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); in cmsMD5computeID()
293 MD5 = MD5alloc(ContextID); in cmsMD5computeID()
300 _cmsFree(ContextID, Mem); in cmsMD5computeID()
[all …]
Dcmssm.c68 cmsContext ContextID; member
302 cmsHANDLE CMSEXPORT cmsGBDAlloc(cmsContext ContextID) in cmsGBDAlloc() argument
304 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB)); in cmsGBDAlloc()
307 gbd -> ContextID = ContextID; in cmsGBDAlloc()
317 _cmsFree(gbd->ContextID, (void*) gbd); in cmsGBDFree()
340 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range"); in GetPoint()
348 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range"); in GetPoint()
Dcmssamp.c43 cmsContext ContextID = cmsGetProfileContextID(hProfile); in CreateRoundtripXForm() local
44 cmsHPROFILE hLab = cmsCreateLab4ProfileTHR(ContextID, NULL); in CreateRoundtripXForm()
54 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents, in CreateRoundtripXForm()
77 cmsContext ContextID = cmsGetProfileContextID(hInput); in BlackPointAsDarkerColorant() local
105 hLab = cmsCreateLab2ProfileTHR(ContextID, NULL); in BlackPointAsDarkerColorant()
112 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat, in BlackPointAsDarkerColorant()
/external/pdfium/third_party/lcms/
D0000-cmserr-changes.patch34 -cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
41 -void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size)
42 +cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin)
50 - cmsUNUSED_PARAMETER(ContextID);
52 +void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size)
59 -void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size)
60 +void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size)
62 - void *pt = _cmsMalloc(ContextID, size);
75 -void _cmsFreeDefaultFn(cmsContext ContextID, void *Ptr)
77 +void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size)
[all …]
D0027-changes-from-beginning-of-time.patch23 cmsContext ContextID;
30 ContextID = Curve ->InterpParams->ContextID;
37 _cmsFree(ContextID, Curve ->Table16);
46 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints);
57 _cmsFree(ContextID, Curve ->Segments);
59 _cmsFree(ContextID, Curve ->SegInterp);
65 _cmsFree(ContextID, Curve -> Evals);
69 - if (Curve) _cmsFree(ContextID, Curve);
71 + _cmsFree(ContextID, Curve);
87 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
[all …]
D0030-const-data.patch27 @@ -161,7 +161,7 @@ cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase*
40 -_cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int* inde…
41 +const _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int…
46 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin);
48 @@ -269,7 +269,7 @@ cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntr
55 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*));
57 @@ -714,7 +714,7 @@ cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt
61 - _cmsParametricCurvesCollection* c = GetParametricCurveByType(ContextID, Type, &Pos);
62 + const _cmsParametricCurvesCollection* c = GetParametricCurveByType(ContextID, Type, &Pos);
D0008-infinite-loop-GrowNamedColorList.patch5 @@ -546,7 +546,7 @@ cmsNAMEDCOLORLIST* CMSEXPORT cmsAllocNamedColorList(cmsContext ContextID, cmsUIn
9 - _cmsFree(ContextID, (void*) v);
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h99 CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode…
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, cmsUInt32…
106 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number Ne…
107 CMSAPI void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr);
108 CMSAPI void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Numb…
116 cmsContext ContextID; member
187 typedef void (* _cmsFreeUserDataFn)(cmsContext ContextID, void* Data);
188 typedef void* (* _cmsDupUserDataFn)(cmsContext ContextID, const void* Data);
[all …]
Dlcms2.h1033 CMSAPI cmsContext CMSEXPORT cmsDupContext(cmsContext ContextID, void* NewUserData);
1034 CMSAPI void* CMSEXPORT cmsGetContextUserData(cmsContext ContextID);
1039 CMSAPI cmsBool CMSEXPORT cmsPluginTHR(cmsContext ContextID, void* Plugin);
1041 CMSAPI void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID);
1074 typedef void (* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const…
1078 CMSAPI void CMSEXPORT cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandle…
1141 CMSAPI cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions…
1164 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsUInt32Number…
1165 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number…
1166 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma);
[all …]
/external/angle/src/libANGLE/
DTexture.h97 ContextID contextID;
145 bool isBoundAsSamplerTexture(ContextID contextID) const in isBoundAsSamplerTexture()
149 bool isBoundAsImageTexture(ContextID contextID) const in isBoundAsImageTexture()
197 ContextBindingCount &getBindingCount(ContextID contextID) in getBindingCount()
208 const ContextBindingCount &getBindingCount(ContextID contextID) const in getBindingCount()
451 void onBindAsImageTexture(ContextID contextID);
453 ANGLE_INLINE void onUnbindAsImageTexture(ContextID contextID) in onUnbindAsImageTexture()
459 ANGLE_INLINE void onBindAsSamplerTexture(ContextID contextID) in onBindAsSamplerTexture()
471 ANGLE_INLINE void onUnbindAsSamplerTexture(ContextID contextID) in onUnbindAsSamplerTexture()
626 ContextID context;

12