Home | History | Annotate | Download | only in src

Lines Matching defs:Lut

1581 // Decide which LUT type to use on writting
1585 cmsPipeline* Lut = (cmsPipeline*) Data;
1588 if (Lut ->SaveAs8Bits) return cmsSigLut8Type;
1599 cmsPipeline* Lut = (cmsPipeline*) Data;
1602 if (Lut ->SaveAs8Bits) return cmsSigLut8Type;
1630 cmsBool Read8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels)
1660 if (!cmsPipelineInsertStage(lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, nChannels, Tables)))
1741 // That will create a MPE LUT with Matrix, pre tables, CLUT and post tables.
1742 // 8 bit lut may be scaled easely to v4 PCS, but we need also to properly adjust
1856 // Disassemble the LUT into components.
1881 cmsSignalError(mpe->ContextID, cmsERROR_UNKNOWN_EXTENSION, "LUT is not suitable to be saved as LUT8");
1974 cmsBool Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries)
1999 if (!cmsPipelineInsertStage(lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, nChannels, Tables)))
2062 // Allocates an empty LUT
2144 // Disassemble the LUT into components.
2170 cmsSignalError(mpe->ContextID, cmsERROR_UNKNOWN_EXTENSION, "LUT is not suitable to be saved as LUT16");
2500 // Allocates an empty LUT
2681 cmsPipeline* Lut = (cmsPipeline*) Ptr;
2692 if (Lut ->Elements != NULL)
2693 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCurveSetElemType, &B))
2694 if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSigCurveSetElemType, &M, &Matrix, &B))
2695 if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType, &A, &CLUT, &B))
2696 if (!cmsPipelineCheckAndRetreiveStages(Lut, 5, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType,
2699 cmsSignalError(self->ContextID, cmsERROR_NOT_SUITABLE, "LUT is not suitable to be saved as LutAToB");
2704 inputChan = cmsPipelineInputChannels(Lut);
2705 outputChan = cmsPipelineOutputChannels(Lut);
2730 if (!WriteCLUT(self, io, Lut ->SaveAs8Bits ? 1 : 2, CLUT)) return FALSE;
2820 // Allocates an empty LUT
2869 cmsPipeline* Lut = (cmsPipeline*) Ptr;
2880 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCurveSetElemType, &B))
2881 if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSigCurveSetElemType, &B, &Matrix, &M))
2882 if (!cmsPipelineCheckAndRetreiveStages(Lut, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType, &B, &CLUT, &A))
2883 if (!cmsPipelineCheckAndRetreiveStages(Lut, 5, cmsSigCurveSetElemType, cmsSigMatrixElemType, cmsSigCurveSetElemType,
2885 cmsSignalError(self->ContextID, cmsERROR_NOT_SUITABLE, "LUT is not suitable to be saved as LutBToA");
2889 inputChan = cmsPipelineInputChannels(Lut);
2890 outputChan = cmsPipelineOutputChannels(Lut);
2912 if (!WriteCLUT(self, io, Lut ->SaveAs8Bits ? 1 : 2, CLUT)) return FALSE;
2978 a lut tag. The second colorant listed is the colorant of the second device channel
2979 of a lut tag, and so on.
4469 // Allocates an empty LUT
4500 cmsPipeline* Lut = (cmsPipeline*) Ptr;
4501 cmsStage* Elem = Lut ->Elements;
4507 inputChan = cmsPipelineInputChannels(Lut);
4508 outputChan = cmsPipelineOutputChannels(Lut);
4509 ElemCount = cmsPipelineStageCount(Lut);