Home
last modified time | relevance | path

Searched refs:Lut (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsio1.c159 cmsPipeline* Lut; in BuildGrayInputMatrixPipeline() local
165 Lut = cmsPipelineAlloc(ContextID, 1, 3); in BuildGrayInputMatrixPipeline()
166 if (Lut == NULL) 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()
201 return Lut; in BuildGrayInputMatrixPipeline()
209 cmsPipelineFree(Lut); in BuildGrayInputMatrixPipeline()
217 cmsPipeline* Lut; in BuildRGBInputMatrixShaper() local
[all …]
Dcmsopt.c119 cmsBool _Remove1Op(cmsPipeline* Lut, cmsStageSignature UnaryOp) in _Remove1Op() argument
121 cmsStage** pt = &Lut ->Elements; in _Remove1Op()
139 cmsBool _Remove2Op(cmsPipeline* Lut, cmsStageSignature Op1, cmsStageSignature Op2) in _Remove2Op() argument
145 pt1 = &Lut ->Elements; in _Remove2Op()
168 cmsBool PreOptimize(cmsPipeline* Lut) in PreOptimize() argument
177 Opt |= _Remove1Op(Lut, cmsSigIdentityElemType); in PreOptimize()
180 Opt |= _Remove2Op(Lut, cmsSigXYZ2LabElemType, cmsSigLab2XYZElemType); in PreOptimize()
183 Opt |= _Remove2Op(Lut, cmsSigLab2XYZElemType, cmsSigXYZ2LabElemType); in PreOptimize()
186 Opt |= _Remove2Op(Lut, cmsSigLabV4toV2, cmsSigLabV2toV4); in PreOptimize()
189 Opt |= _Remove2Op(Lut, cmsSigLabV2toV4, cmsSigLabV4toV2); in PreOptimize()
[all …]
Dcmsxform.c156 if (p -> Lut) in cmsDeleteTransform()
157 cmsPipelineFree(p -> Lut); in cmsDeleteTransform()
238 cmsPipelineEvalFloat(fIn, fOut, p -> Lut); in FloatXFORM()
244 cmsPipelineEvalFloat(fIn, fOut, p -> Lut); in FloatXFORM()
319 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); in PrecalculatedXFORM()
339 for (i=0; i < p ->Lut->OutputChannels; i++) { in TransformOnePixelWithGamutCheck()
345 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); in TransformOnePixelWithGamutCheck()
405 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); in CachedXFORM()
599 p ->Lut = lut; in AllocEmptyTransform()
606 …if (Plugin ->Factory(&p->xform, &p->UserData, &p ->FreeUserData, &p ->Lut, InputFormat, OutputForm… in AllocEmptyTransform()
[all …]
Dcmscnvrt.c528 cmsPipeline* Lut = NULL; in DefaultICCintents() local
588 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
589 if (Lut == NULL) goto Error; in DefaultICCintents()
608 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
609 if (Lut == NULL) goto Error; in DefaultICCintents()
614 Lut = _cmsReadOutputLUT(hProfile, Intent); in DefaultICCintents()
615 if (Lut == NULL) goto Error; in DefaultICCintents()
625 if (!cmsPipelineCat(Result, Lut)) in DefaultICCintents()
628 cmsPipelineFree(Lut); in DefaultICCintents()
629 Lut = NULL; in DefaultICCintents()
[all …]
Dcmsvirt.c957 nc2 ->ColorantCount = cmsPipelineOutputChannels(v ->Lut); in CreateNamedColorDevicelink()
1010 cmsBool CheckOne(const cmsAllowedLUT* Tab, const cmsPipeline* Lut) in CheckOne() argument
1015 for (n=0, mpe = Lut ->Elements; mpe != NULL; mpe = mpe ->Next, n++) { in CheckOne()
1026 const cmsAllowedLUT* FindCombination(const cmsPipeline* Lut, cmsBool IsV4, cmsTagSignature Destinat… in FindCombination() argument
1037 if (CheckOne(Tab, Lut)) return Tab; in FindCombination()
1061 mpe = cmsPipelineGetPtrToFirstStage(xform ->Lut); in cmsTransform2DeviceLink()
1072 LUT = cmsPipelineDup(xform ->Lut); in cmsTransform2DeviceLink()
Dcmslut.c110 cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...) in cmsPipelineCheckAndRetreiveStages() argument
119 if (cmsPipelineStageCount(Lut) != n) return FALSE; in cmsPipelineCheckAndRetreiveStages()
124 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages()
138 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages()
1618 void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut, in _cmsPipelineSetOptimizationParameters() argument
1625 Lut ->Eval16Fn = Eval16; in _cmsPipelineSetOptimizationParameters()
1626 Lut ->DupDataFn = DupPrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1627 Lut ->FreeDataFn = FreePrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1628 Lut ->Data = PrivateData; in _cmsPipelineSetOptimizationParameters()
Dcmstypes.c1571 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeA2B() local
1574 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeA2B()
1585 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeB2A() local
1588 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeB2A()
2664 cmsPipeline* Lut = (cmsPipeline*) Ptr; in Type_LUTA2B_Write() local
2675 if (Lut ->Elements != NULL) in Type_LUTA2B_Write()
2676 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCurveSetElemType, &B)) in Type_LUTA2B_Write()
2677 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSi… in Type_LUTA2B_Write()
2678 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
2679 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 5, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
[all …]
Dlcms2_internal.h896 cmsPipeline** Lut,
968 cmsPipeline* Lut; member
Dcmsps2.c912 DeviceLink = cmsPipelineDup(v ->Lut); in WriteInputLUT()
1327 DeviceLink = cmsPipelineDup(v ->Lut); in WriteOutputLUT()
Dcmsnamed.c709 cmsStage* mpe = v ->Lut->Elements; in cmsGetNamedColorList()
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2_plugin.h549 typedef cmsBool (* _cmsOPToptimizeFn)(cmsPipeline** Lut,
558 CMSAPI void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut,
583 cmsPipeline** Lut,
Dlcms2.h1213 CMSAPI cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUIn…
/external/icu/icu4c/source/data/locales/
Dlu.txt169 "Lut",