/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmserr.c | 77 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, cmsUInt32Number num, cmsUInt32Number size) [all …]
|
D | cmsio0.c | 93 _cmsFree(iohandler ->ContextID, ResData); in NULLClose() 94 _cmsFree(iohandler ->ContextID, iohandler); in NULLClose() 99 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromNULL(cmsContext ContextID) in cmsOpenIOhandlerFromNULL() argument 104 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler)); in cmsOpenIOhandlerFromNULL() 107 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL)); in cmsOpenIOhandlerFromNULL() 112 iohandler ->ContextID = ContextID; in cmsOpenIOhandlerFromNULL() 127 if (iohandler) _cmsFree(ContextID, iohandler); in cmsOpenIOhandlerFromNULL() 155 …cmsSignalError(iohandler ->ContextID, cmsERROR_READ, "Read from memory error. Got %d bytes, block … in MemoryRead() 174 … cmsSignalError(iohandler ->ContextID, cmsERROR_SEEK, "Too few data; probably corrupted profile"); in MemorySeek() 225 if (ResData ->Block) _cmsFree(iohandler ->ContextID, ResData ->Block); in MemoryClose() [all …]
|
D | lcms2_internal.h | 326 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, cmsPluginBase* Plugin); [all …]
|
D | cmsio1.c | 160 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 …]
|
D | cmslut.c | 31 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 …]
|
D | cmsgamma.c | 127 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 _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int* index) in GetParametricCurveByType() argument 182 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); in GetParametricCurveByType() 213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number 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 …]
|
D | cmsxform.c | 57 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() 337 …extAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(p->ContextID, AlarmCodesConte… in TransformOnePixelWithGamutCheck() 523 cmsBool _cmsRegisterTransformPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterTransformPlugin() argument [all …]
|
D | cmsnamed.c | 33 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() 193 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t)); in cmsMLUsetASCII() 201 _cmsFree(mlu ->ContextID, WStr); in cmsMLUsetASCII() 242 NewMlu = cmsMLUalloc(mlu ->ContextID, mlu ->UsedEntries); in cmsMLUdup() [all …]
|
D | cmsvirt.c | 37 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 …]
|
D | cmstypes.c | 178 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable() 181 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable() 202 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable() 203 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable() 207 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable() 208 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable() 227 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable() 230 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable() 267 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in WritePositionTable() 268 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in WritePositionTable() [all …]
|
D | cmsopt.c | 35 cmsContext ContextID; member 49 cmsContext ContextID; member 77 cmsContext ContextID; member 95 cmsContext ContextID; member 239 void PrelinOpt16free(cmsContext ContextID, void* ptr) in PrelinOpt16free() argument 243 _cmsFree(ContextID, p16 ->EvalCurveOut16); in PrelinOpt16free() 244 _cmsFree(ContextID, p16 ->ParamsCurveOut16); in PrelinOpt16free() 246 _cmsFree(ContextID, p16); in PrelinOpt16free() 250 void* Prelin16dup(cmsContext ContextID, const void* ptr) in Prelin16dup() argument 253 Prelin16Data* Duped = _cmsDupMem(ContextID, p16, sizeof(Prelin16Data)); in Prelin16dup() [all …]
|
D | cmsgmt.c | 32 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 …]
|
D | cmscnvrt.c | 33 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() 444 …!cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl,… in AddConversion() 450 …!cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl,… in AddConversion() 452 … if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocXYZ2Lab(Result ->ContextID))) in AddConversion() 467 … if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->ContextID))) in AddConversion() [all …]
|
D | cmsplugin.c | 519 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsPluginMalloc() argument 521 struct _cmsContext_struct* ctx = _cmsGetContext(ContextID); in _cmsPluginMalloc() 525 if (ContextID == NULL) { in _cmsPluginMalloc() 530 cmsSignalError(ContextID, cmsERROR_CORRUPTION_DETECTED, "NULL memory pool on context"); in _cmsPluginMalloc() 661 struct _cmsContext_struct* _cmsGetContext(cmsContext ContextID) in _cmsGetContext() argument 663 struct _cmsContext_struct* id = (struct _cmsContext_struct*) ContextID; in _cmsGetContext() 687 void* _cmsContextGetClientChunk(cmsContext ContextID, _cmsMemoryClient mc) in _cmsContextGetClientChunk() argument 693 cmsSignalError(ContextID, cmsERROR_RANGE, "Bad context client"); in _cmsContextGetClientChunk() 697 ctx = _cmsGetContext(ContextID); in _cmsContextGetClientChunk() 714 void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID) in cmsUnregisterPluginsTHR() argument [all …]
|
D | cmsps2.c | 831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, int 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() 982 …cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Profile is not suitable for CSA. Unsuppo… in WriteInputMatrixShaper() 1003 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL); in WriteNamedColorCSA() [all …]
|
D | cmsmd5.c | 53 cmsContext ContextID; member 154 cmsHANDLE MD5alloc(cmsContext ContextID) in MD5alloc() argument 156 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5)); in MD5alloc() 159 ctx ->ContextID = ContextID; in MD5alloc() 251 _cmsFree(ctx ->ContextID, ctx); in MD5finish() 262 cmsContext ContextID; in cmsMD5computeID() local 271 ContextID = cmsGetProfileContextID(hProfile); in cmsMD5computeID() 285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); in cmsMD5computeID() 292 MD5 = MD5alloc(ContextID); in cmsMD5computeID() 299 _cmsFree(ContextID, Mem); in cmsMD5computeID() [all …]
|
D | cmssm.c | 68 cmsContext ContextID; member 301 cmsHANDLE CMSEXPORT cmsGBDAlloc(cmsContext ContextID) in cmsGBDAlloc() argument 303 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB)); in cmsGBDAlloc() 306 gbd -> ContextID = ContextID; in cmsGBDAlloc() 316 _cmsFree(gbd->ContextID, (void*) gbd); in cmsGBDFree() 339 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range"); in GetPoint() 347 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range"); in GetPoint()
|
D | cmssamp.c | 43 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()
|
D | cmscgats.c | 175 cmsContext ContextID; // The threading context member 471 cmsSignalError(it8 ->ContextID, cmsERROR_CORRUPTION_DETECTED, "%s", ErrMsg); in SynError() 1035 if (p->Ptr) _cmsFree(it8 ->ContextID, p->Ptr); in cmsIT8Free() 1036 _cmsFree(it8 ->ContextID, p); in cmsIT8Free() 1041 _cmsFree(it8 ->ContextID, it8->MemoryBlock); in cmsIT8Free() 1043 _cmsFree(it8 ->ContextID, it8); in cmsIT8Free() 1052 void* ptr = _cmsMallocZero(it8->ContextID, size); in AllocBigBlock() 1056 ptr1 = (OWNEDMEM*) _cmsMallocZero(it8 ->ContextID, sizeof(OWNEDMEM)); in AllocBigBlock() 1060 _cmsFree(it8 ->ContextID, ptr); in AllocBigBlock() 1280 cmsHANDLE CMSEXPORT cmsIT8Alloc(cmsContext ContextID) in cmsIT8Alloc() argument [all …]
|
D | cmscam02.c | 55 cmsContext ContextID; member 359 cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC) in cmsCIECAM02Init() argument 365 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) { in cmsCIECAM02Init() 369 lpMod ->ContextID = ContextID; in cmsCIECAM02Init() 432 if (lpMod) _cmsFree(lpMod ->ContextID, lpMod); in cmsCIECAM02Done()
|
D | cmsintrp.c | 60 cmsBool _cmsRegisterInterpPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterInterpPlugin() argument 63 …inChunkType* ptr = (_cmsInterpPluginChunkType*) _cmsContextGetClientChunk(ContextID, InterpPlugin); in _cmsRegisterInterpPlugin() 78 cmsBool _cmsSetInterpolationRoutine(cmsContext ContextID, cmsInterpParams* p) in _cmsSetInterpolationRoutine() argument 80 …inChunkType* ptr = (_cmsInterpPluginChunkType*) _cmsContextGetClientChunk(ContextID, InterpPlugin); in _cmsSetInterpolationRoutine() 103 cmsInterpParams* _cmsComputeInterpParamsEx(cmsContext ContextID, in _cmsComputeInterpParamsEx() argument 114 …cmsSignalError(ContextID, cmsERROR_RANGE, "Too many input channels (%d channels, max=%d)", InputCh… in _cmsComputeInterpParamsEx() 119 p = (cmsInterpParams*) _cmsMallocZero(ContextID, sizeof(cmsInterpParams)); in _cmsComputeInterpParamsEx() 127 p ->ContextID = ContextID; in _cmsComputeInterpParamsEx() 142 if (!_cmsSetInterpolationRoutine(ContextID, p)) { in _cmsComputeInterpParamsEx() 143 …cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported interpolation (%d->%d channels)… in _cmsComputeInterpParamsEx() [all …]
|
D | cmspack.c | 3285 cmsBool _cmsRegisterFormattersPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterFormattersPlugin() argument 3287 …Type* ctx = ( _cmsFormattersPluginChunkType*) _cmsContextGetClientChunk(ContextID, FormattersPlugi… in _cmsRegisterFormattersPlugin() 3298 fl = (cmsFormattersFactoryList*) _cmsPluginMalloc(ContextID, sizeof(cmsFormattersFactoryList)); in _cmsRegisterFormattersPlugin() 3309 cmsFormatter _cmsGetFormatter(cmsContext ContextID, in _cmsGetFormatter() argument 3314 …Type* ctx = ( _cmsFormattersPluginChunkType*) _cmsContextGetClientChunk(ContextID, FormattersPlugi… in _cmsGetFormatter()
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/ |
D | lcms2_plugin.h | 99 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 …]
|
D | lcms2.h | 1020 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); 1061 typedef void (* cmsLogErrorHandlerFunction)(cmsContext ContextID, cmsUInt32Number ErrorCode, const… 1065 CMSAPI void CMSEXPORT cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandle… 1128 CMSAPI cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions… 1151 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number … 1152 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number… 1153 CMSAPI cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma); [all …]
|