HomeSort by relevance Sort by last modified time
    Searched refs:Lut (Results 1 - 12 of 12) sorted by null

  /external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
cmsio1.c 31 // LUT tags
159 cmsPipeline* Lut;
165 Lut = cmsPipelineAlloc(ContextID, 1, 3);
166 if (Lut == NULL)
185 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, OneToThreeInputMatrix, NULL)) ||
186 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, LabCurves))) {
196 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC)) ||
197 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, GrayInputMatrix, NULL)))
201 return Lut;
209 cmsPipelineFree(Lut);
    [all...]
cmsxform.c 156 if (p -> Lut)
157 cmsPipelineFree(p -> Lut);
238 cmsPipelineEvalFloat(fIn, fOut, p -> Lut);
244 cmsPipelineEvalFloat(fIn, fOut, p -> Lut);
319 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data);
339 for (i=0; i < p ->Lut->OutputChannels; i++) {
345 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data);
405 p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data)
    [all...]
cmsopt.c 119 cmsBool _Remove1Op(cmsPipeline* Lut, cmsStageSignature UnaryOp)
121 cmsStage** pt = &Lut ->Elements;
139 cmsBool _Remove2Op(cmsPipeline* Lut, cmsStageSignature Op1, cmsStageSignature Op2)
145 pt1 = &Lut ->Elements;
168 cmsBool PreOptimize(cmsPipeline* Lut)
177 Opt |= _Remove1Op(Lut, cmsSigIdentityElemType);
180 Opt |= _Remove2Op(Lut, cmsSigXYZ2LabElemType, cmsSigLab2XYZElemType);
183 Opt |= _Remove2Op(Lut, cmsSigLab2XYZElemType, cmsSigXYZ2LabElemType);
186 Opt |= _Remove2Op(Lut, cmsSigLabV4toV2, cmsSigLabV2toV4);
189 Opt |= _Remove2Op(Lut, cmsSigLabV2toV4, cmsSigLabV4toV2)
    [all...]
cmscnvrt.c 30 // Link several profiles to obtain a single LUT modelling the whole color transform. Intents, Black point
435 // Handle PCS mismatches. A specialized stage is added to the LUT in such case
528 cmsPipeline* Lut = NULL;
540 // Allocate an empty LUT for holding the result. 0 as channel count means 'undefined'
584 // read the LUT to be applied. Settings don't apply here.
587 // Get the involved LUT from the profile
588 Lut = _cmsReadDevicelinkLUT(hProfile, Intent);
589 if (Lut == NULL) goto Error;
608 Lut = _cmsReadInputLUT(hProfile, Intent);
609 if (Lut == NULL) goto Error
    [all...]
cmsvirt.c 398 cmsPipeline* LUT;
429 LUT = cmsPipelineAlloc(ContextID, 4, 4);
430 if (LUT == NULL) goto Error;
440 if (!cmsPipelineInsertStage(LUT, cmsAT_BEGIN, _cmsStageAllocIdentityCurves(ContextID, nChannels)) ||
441 !cmsPipelineInsertStage(LUT, cmsAT_END, CLUT) ||
442 !cmsPipelineInsertStage(LUT, cmsAT_END, _cmsStageAllocIdentityCurves(ContextID, nChannels)))
448 if (!cmsWriteTag(hICC, cmsSigAToB0Tag, (void*) LUT)) goto Error;
452 cmsPipelineFree(LUT);
458 if (LUT != NULL)
459 cmsPipelineFree(LUT);
    [all...]
cmslut.c 104 // This function is quite useful to analyze the structure of a LUT and retrieve the MPE elements
105 // that conform the LUT. It should be called with the LUT, the number of expected elements and
110 cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
119 if (cmsPipelineStageCount(Lut) != n) return FALSE;
124 mpe = Lut ->Elements;
138 mpe = Lut ->Elements;
619 // Our resulting LUT would be same gridpoints on all dimensions
636 // Our resulting LUT would be same gridpoints on all dimensions
1280 cmsPipeline* lut = (cmsPipeline*) D; local
1306 cmsPipeline* lut = (cmsPipeline*) D; local
    [all...]
cmstypes.c     [all...]
lcms2_internal.h 855 // LUT reading & creation -------------------------------------------------------------------------------------------
885 // LUT optimization ------------------------------------------------------------------------------------------------
896 cmsPipeline** Lut,
903 // Hi level LUT building ----------------------------------------------------------------------------------------------
957 // Formatters, cannot be embedded into LUT because cache
    [all...]
cmsps2.c 569 // Following code dumps a LUT onto memory stream
912 DeviceLink = cmsPipelineDup(v ->Lut);
1051 cmsPipeline* lut = NULL; local
1075 // Read the lut with all necessary conversion stages
1076 lut = _cmsReadInputLUT(hProfile, Intent);
1077 if (lut == NULL) goto Error;
1080 // Tone curves + matrix can be implemented without any LUT
1081 if (cmsPipelineCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shaper, &Matrix)) {
1087 // We need a LUT for the rest
1096 // Get rid of LUT
    [all...]
cmsnamed.c 705 // Retrieve the named color list from a transform. Should be first element in the LUT
709 cmsStage* mpe = v ->Lut->Elements;
  /external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
lcms2_plugin.h 448 // a single LUT. Any custom intent in the chain redirects to custom function. If more than
540 // The function should return TRUE if any optimization is done on the LUT, this terminates
549 typedef cmsBool (* _cmsOPToptimizeFn)(cmsPipeline** Lut,
556 // duplicator and free functions should also be specified in order to duplicate the LUT construct. Use NULL to inhibit such functionality.
558 CMSAPI void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut,
583 cmsPipeline** Lut,
lcms2.h     [all...]

Completed in 412 milliseconds