Home
last modified time | relevance | path

Searched refs:Lut (Results 1 – 19 of 19) 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.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()
188 cmsBool _MultiplyMatrix(cmsPipeline* Lut) in _MultiplyMatrix() argument
195 pt1 = &Lut->Elements; in _MultiplyMatrix()
230 …cmsStage* Multmat = cmsStageAllocMatrix(Lut->ContextID, 3, 3, (const cmsFloat64Number*) &res, NULL… in _MultiplyMatrix()
251 cmsBool PreOptimize(cmsPipeline* Lut) in PreOptimize() argument
260 Opt |= _Remove1Op(Lut, cmsSigIdentityElemType); in PreOptimize()
263 Opt |= _Remove2Op(Lut, cmsSigXYZ2LabElemType, cmsSigLab2XYZElemType); in PreOptimize()
[all …]
Dcmsxform.c156 if (p -> Lut) in cmsDeleteTransform()
157 cmsPipelineFree(p -> Lut); in cmsDeleteTransform()
284 cmsPipelineEvalFloat(fIn, fOut, p->Lut); in FloatXFORM()
290 cmsPipelineEvalFloat(fIn, fOut, p->Lut); in FloatXFORM()
405 p->Lut->Eval16Fn(wIn, wOut, p->Lut->Data); in PrecalculatedXFORM()
430 for (i=0; i < p ->Lut->OutputChannels; i++) { in TransformOnePixelWithGamutCheck()
436 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); in TransformOnePixelWithGamutCheck()
517 p->Lut->Eval16Fn(wIn, wOut, p->Lut->Data); in CachedXFORM()
770 p->Lut = lut; in AllocEmptyTransform()
773 if (p->Lut != NULL) { in AllocEmptyTransform()
[all …]
Dcmscnvrt.c531 cmsPipeline* Lut = NULL; in DefaultICCintents() local
591 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
592 if (Lut == NULL) goto Error; in DefaultICCintents()
611 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
612 if (Lut == NULL) goto Error; in DefaultICCintents()
617 Lut = _cmsReadOutputLUT(hProfile, Intent); in DefaultICCintents()
618 if (Lut == NULL) goto Error; in DefaultICCintents()
628 if (!cmsPipelineCat(Result, Lut)) in DefaultICCintents()
631 cmsPipelineFree(Lut); in DefaultICCintents()
632 Lut = NULL; in DefaultICCintents()
[all …]
Dcmsvirt.c964 nc2 ->ColorantCount = cmsPipelineOutputChannels(v ->Lut); in CreateNamedColorDevicelink()
1019 cmsBool CheckOne(const cmsAllowedLUT* Tab, const cmsPipeline* Lut) in CheckOne() argument
1024 for (n=0, mpe = Lut ->Elements; mpe != NULL; mpe = mpe ->Next, n++) { in CheckOne()
1035 const cmsAllowedLUT* FindCombination(const cmsPipeline* Lut, cmsBool IsV4, cmsTagSignature Destinat… in FindCombination() argument
1046 if (CheckOne(Tab, Lut)) return Tab; in FindCombination()
1070 mpe = cmsPipelineGetPtrToFirstStage(xform ->Lut); in cmsTransform2DeviceLink()
1081 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()
1662 void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut, in _cmsPipelineSetOptimizationParameters() argument
1669 Lut ->Eval16Fn = Eval16; in _cmsPipelineSetOptimizationParameters()
1670 Lut ->DupDataFn = DupPrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1671 Lut ->FreeDataFn = FreePrivateDataFn; in _cmsPipelineSetOptimizationParameters()
1672 Lut ->Data = PrivateData; in _cmsPipelineSetOptimizationParameters()
Dcmstypes.c1585 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeA2B() local
1588 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeA2B()
1599 cmsPipeline* Lut = (cmsPipeline*) Data; in DecideLUTtypeB2A() local
1602 if (Lut ->SaveAs8Bits) return cmsSigLut8Type; in DecideLUTtypeB2A()
2681 cmsPipeline* Lut = (cmsPipeline*) Ptr; in Type_LUTA2B_Write() local
2692 if (Lut ->Elements != NULL) in Type_LUTA2B_Write()
2693 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCurveSetElemType, &B)) in Type_LUTA2B_Write()
2694 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSi… in Type_LUTA2B_Write()
2695 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
2696 …if (!cmsPipelineCheckAndRetreiveStages(Lut, 5, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigC… in Type_LUTA2B_Write()
[all …]
Dlcms2_internal.h911 cmsPipeline** Lut,
983 cmsPipeline* Lut; member
Dcmsps2.c912 DeviceLink = cmsPipelineDup(v ->Lut); in WriteInputLUT()
1327 DeviceLink = cmsPipelineDup(v ->Lut); in WriteOutputLUT()
Dcmsnamed.c742 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);
D0013-memory-leak-OptimizeByResampling.patch5 @@ -612,7 +612,7 @@ cmsBool OptimizeByResampling(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt3
D0026-more-unsupported-characters.patch5 @@ -1756,8 +1756,8 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUI…
37 @@ -1756,8 +1756,8 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUI…
D0027-changes-from-beginning-of-time.patch141 return Lut;
150 cmsPipelineFree(Lut);
D0011-memory-leak-AllocEmptyTransform.patch16 p->Lut = lut;
D0020-avoid-fixed-inf.patch86 @@ -1746,7 +1761,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.h1218 CMSAPI cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUIn…
/external/icu/icu4c/source/data/locales/
Dlu.txt168 "Lut",