Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/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.c152 cmsBool _Remove1Op(cmsPipeline* Lut, cmsStageSignature UnaryOp) in _Remove1Op() argument
154 cmsStage** pt = &Lut ->Elements; in _Remove1Op()
172 cmsBool _Remove2Op(cmsPipeline* Lut, cmsStageSignature Op1, cmsStageSignature Op2) in _Remove2Op() argument
178 pt1 = &Lut ->Elements; in _Remove2Op()
221 cmsBool _MultiplyMatrix(cmsPipeline* Lut) in _MultiplyMatrix() argument
228 pt1 = &Lut->Elements; in _MultiplyMatrix()
263 …cmsStage* Multmat = cmsStageAllocMatrix(Lut->ContextID, 3, 3, (const cmsFloat64Number*) &res, NULL… in _MultiplyMatrix()
284 cmsBool PreOptimize(cmsPipeline* Lut) in PreOptimize() argument
293 Opt |= _Remove1Op(Lut, cmsSigIdentityElemType); in PreOptimize()
296 Opt |= _Remove2Op(Lut, cmsSigXYZ2LabElemType, cmsSigLab2XYZElemType); in PreOptimize()
[all …]
Dcmsxform.c156 if (p -> Lut) in cmsDeleteTransform()
157 cmsPipelineFree(p -> Lut); in cmsDeleteTransform()
286 cmsPipelineEvalFloat(fIn, fOut, p->Lut); in FloatXFORM()
292 cmsPipelineEvalFloat(fIn, fOut, p->Lut); in FloatXFORM()
411 p->Lut->Eval16Fn(wIn, wOut, p->Lut->Data); in PrecalculatedXFORM()
436 for (i=0; i < p ->Lut->OutputChannels; i++) { in TransformOnePixelWithGamutCheck()
442 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); in TransformOnePixelWithGamutCheck()
525 p->Lut->Eval16Fn(wIn, wOut, p->Lut->Data); in CachedXFORM()
778 p->Lut = lut; in AllocEmptyTransform()
781 if (p->Lut != NULL) { in AllocEmptyTransform()
[all …]
Dcmscnvrt.c532 cmsPipeline* Lut = NULL; in DefaultICCintents() local
592 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
593 if (Lut == NULL) goto Error; in DefaultICCintents()
612 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
613 if (Lut == NULL) goto Error; in DefaultICCintents()
618 Lut = _cmsReadOutputLUT(hProfile, Intent); in DefaultICCintents()
619 if (Lut == NULL) goto Error; in DefaultICCintents()
629 if (!cmsPipelineCat(Result, Lut)) in DefaultICCintents()
632 cmsPipelineFree(Lut); in DefaultICCintents()
633 Lut = NULL; in DefaultICCintents()
[all …]
Dcmsvirt.c972 nc2 ->ColorantCount = cmsPipelineOutputChannels(v ->Lut); in CreateNamedColorDevicelink()
1027 cmsBool CheckOne(const cmsAllowedLUT* Tab, const cmsPipeline* Lut) in CheckOne() argument
1032 for (n=0, mpe = Lut ->Elements; mpe != NULL; mpe = mpe ->Next, n++) { in CheckOne()
1043 const cmsAllowedLUT* FindCombination(const cmsPipeline* Lut, cmsBool IsV4, cmsTagSignature Destinat… in FindCombination() argument
1054 if (CheckOne(Tab, Lut)) return Tab; in FindCombination()
1078 mpe = cmsPipelineGetPtrToFirstStage(xform ->Lut); in cmsTransform2DeviceLink()
1089 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()
1666 void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut, in _cmsPipelineSetOptimizationParameters() argument
1673 Lut ->Eval16Fn = Eval16; in _cmsPipelineSetOptimizationParameters()
1674 Lut ->DupDataFn = DupPrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1675 Lut ->FreeDataFn = FreePrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1676 Lut ->Data = PrivateData; in _cmsPipelineSetOptimizationParameters()
Dcmstypes.c1592 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeA2B() local
1595 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeA2B()
1606 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeB2A() local
1609 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeB2A()
2692 cmsPipeline* Lut = (cmsPipeline*) Ptr; in Type_LUTA2B_Write() local
2703 if (Lut ->Elements != NULL) in Type_LUTA2B_Write()
2704 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCurveSetElemType, &B)) in Type_LUTA2B_Write()
2705 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSi… in Type_LUTA2B_Write()
2706 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
2707 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 5, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
[all …]
Dlcms2_internal.h963 cmsPipeline** Lut,
1035 cmsPipeline* Lut; member
Dcmsps2.c912 DeviceLink = cmsPipelineDup(v ->Lut); in WriteInputLUT()
1326 DeviceLink = cmsPipelineDup(v ->Lut); in WriteOutputLUT()
Dcmsnamed.c753 cmsStage* mpe = v ->Lut->Elements; in cmsGetNamedColorList()
/external/pdfium/third_party/lcms/
D0005-old-fix-e-with-tilde.patch15 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data);
D0027-changes-from-beginning-of-time.patch141 return Lut;
150 cmsPipelineFree(Lut);
D0026-more-unsupported-characters.patch5 @@ -1764,8 +1764,8 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUI…
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h549 typedef cmsBool (* _cmsOPToptimizeFn)(cmsPipeline** Lut,
558 CMSAPI void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut,
600 cmsPipeline** Lut,
608 cmsPipeline** Lut,
Dlcms2.h1226 CMSAPI cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUIn…
/external/icu/icu4c/source/data/locales/
Dlu.txt168 "Lut",