Home | History | Annotate | Download | only in src

Lines Matching refs:NewLUT

1750     cmsPipeline* NewLUT = NULL;
1770 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels);
1771 if (NewLUT == NULL) goto Error;
1788 if (!cmsPipelineInsertStage(NewLUT, cmsAT_BEGIN, cmsStageAllocMatrix(self ->ContextID, 3, 3, Matrix, NULL)))
1793 if (!Read8bitTables(self ->ContextID, io, NewLUT, InputChannels)) goto Error;
1824 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, cmsStageAllocCLut16bit(self ->ContextID, CLUTpoints, InputChannels, OutputChannels, T)))
1831 if (!Read8bitTables(self ->ContextID, io, NewLUT, OutputChannels)) goto Error;
1834 return NewLUT;
1837 if (NewLUT != NULL) cmsPipelineFree(NewLUT);
1849 cmsPipeline* NewLUT = (cmsPipeline*) Ptr;
1857 mpe = NewLUT -> Elements;
1891 if (!_cmsWriteUInt8Number(io, (cmsUInt8Number) NewLUT ->InputChannels)) return FALSE;
1892 if (!_cmsWriteUInt8Number(io, (cmsUInt8Number) NewLUT ->OutputChannels)) return FALSE;
1924 if (!Write8bitTables(self ->ContextID, io, NewLUT ->InputChannels, PreMPE)) return FALSE;
1926 nTabSize = uipow(NewLUT->OutputChannels, clutPoints, NewLUT ->InputChannels);
1942 if (!Write8bitTables(self ->ContextID, io, NewLUT ->OutputChannels, PostMPE)) return FALSE;
2044 cmsPipeline* NewLUT = NULL;
2063 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels);
2064 if (NewLUT == NULL) goto Error;
2081 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, cmsStageAllocMatrix(self ->ContextID, 3, 3, Matrix, NULL)))
2092 if (!Read16bitTables(self ->ContextID, io, NewLUT, InputChannels, InputEntries)) goto Error;
2109 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, cmsStageAllocCLut16bit(self ->ContextID, CLUTpoints, InputChannels, OutputChannels, T))) {
2118 if (!Read16bitTables(self ->ContextID, io, NewLUT, OutputChannels, OutputEntries)) goto Error;
2121 return NewLUT;
2124 if (NewLUT != NULL) cmsPipelineFree(NewLUT);
2137 cmsPipeline* NewLUT = (cmsPipeline*) Ptr;
2145 mpe = NewLUT -> Elements;
2174 InputChannels = cmsPipelineInputChannels(NewLUT);
2175 OutputChannels = cmsPipelineOutputChannels(NewLUT);
2481 cmsPipeline* NewLUT = NULL;
2501 NewLUT = cmsPipelineAlloc(self ->ContextID, inputChan, outputChan);
2502 if (NewLUT == NULL) return NULL;
2505 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetA, inputChan)))
2510 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadCLUT(self, io, BaseOffset + offsetC, inputChan, outputChan)))
2515 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetM, outputChan)))
2520 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadMatrix(self, io, BaseOffset + offsetMat)))
2525 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetB, outputChan)))
2530 return NewLUT;
2532 cmsPipelineFree(NewLUT);
2800 cmsPipeline* NewLUT = NULL;
2821 NewLUT = cmsPipelineAlloc(self ->ContextID, inputChan, outputChan);
2822 if (NewLUT == NULL) return NULL;
2825 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetB, inputChan)))
2830 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadMatrix(self, io, BaseOffset + offsetMat)))
2835 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetM, inputChan)))
2840 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadCLUT(self, io, BaseOffset + offsetC, inputChan, outputChan)))
2845 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetA, outputChan)))
2850 return NewLUT;
2852 cmsPipelineFree(NewLUT);
4411 cmsPipeline *NewLUT = (cmsPipeline *) Cargo;
4439 if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, (cmsStage*) TypeHandler ->ReadPtr(self, io, &nItems, SizeOfTag)))
4456 cmsPipeline *NewLUT = NULL;
4470 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChans, OutputChans);
4471 if (NewLUT == NULL) return NULL;
4474 if (!ReadPositionTable(self, io, ElementCount, BaseOffset, NewLUT, ReadMPEElem)) goto Error;
4478 return NewLUT;
4482 if (NewLUT != NULL) cmsPipelineFree(NewLUT);