Home | History | Annotate | Download | only in src

Lines Matching full:clut

32 // Optimization for 8 bits, Shaper-CLUT (3 inputs only)
46 // Generic optimization for 16 bits Shaper-CLUT-Shaper (any inputs)
320 // Sampler implemented by another LUT. This is a clean way to precalculate the devicelink 3D CLUT for
369 cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[],
372 _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data;
378 if (CLUT -> Type != cmsSigCLutElemType) {
379 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) Attempt to PatchLUT on non-lut stage");
384 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on PatchLUT", nChannelsIn);
440 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on PatchLUT", nChannelsIn);
472 cmsStage *PreLin = NULL, *CLUT = NULL, *PostLin = NULL;
488 // Check if the LUT comes as Prelin, CLUT or Postlin. We allow all combinations
489 if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType, &PreLin, &CLUT, &PostLin))
490 if (!cmsPipelineCheckAndRetreiveStages(Lut, 2, cmsSigCurveSetElemType, cmsSigCLutElemType, &PreLin, &CLUT))
491 if (!cmsPipelineCheckAndRetreiveStages(Lut, 2, cmsSigCLutElemType, cmsSigCurveSetElemType, &CLUT, &PostLin))
492 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCLutElemType, &CLUT))
534 PatchLUT(CLUT, WhiteIn, WhiteOut, nOuts, nIns);
541 // prelinearization curves, a CLUT of nGridPoints and optional postlinearization tables.
554 cmsStage* CLUT;
613 // Allocate the CLUT
614 CLUT = cmsStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL);
615 if (CLUT == NULL) return FALSE;
617 // Add the CLUT to the destination LUT
618 if (!cmsPipelineInsertStage(Dest, cmsAT_END, CLUT)) {
647 if (!cmsStageSampleCLut16bit(CLUT, XFormSampler16, (void*) Src, 0)) {
670 DataCLUT = (_cmsStageCLutData*) CLUT ->Data;
1057 // Allocate the CLUT for result
1060 // Add the CLUT to the destination LUT
1744 // A CLUT is being asked, so force this specific optimization