Home
last modified time | relevance | path

Searched refs:NewLUT (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/
D0016-check-LUT-and-MPE.patch52 cmsPipeline* NewLUT;
59 NewLUT ->Data = NewLUT;
60 NewLUT ->ContextID = ContextID;
62 - BlessLUT(NewLUT);
63 + if (!BlessLUT(NewLUT))
65 + _cmsFree(ContextID, NewLUT);
69 return NewLUT;
73 NewLUT ->SaveAs8Bits = lut ->SaveAs8Bits;
75 - BlessLUT(NewLUT);
76 + if (!BlessLUT(NewLUT))
[all …]
/external/pdfium/third_party/lcms2-2.6/src/
Dcmslut.c1350 cmsPipeline* NewLUT; in cmsPipelineAlloc() local
1356 NewLUT = (cmsPipeline*) _cmsMallocZero(ContextID, sizeof(cmsPipeline)); in cmsPipelineAlloc()
1357 if (NewLUT == NULL) return NULL; in cmsPipelineAlloc()
1360 NewLUT -> InputChannels = InputChannels; in cmsPipelineAlloc()
1361 NewLUT -> OutputChannels = OutputChannels; in cmsPipelineAlloc()
1363 NewLUT ->Eval16Fn = _LUTeval16; in cmsPipelineAlloc()
1364 NewLUT ->EvalFloatFn = _LUTevalFloat; in cmsPipelineAlloc()
1365 NewLUT ->DupDataFn = NULL; in cmsPipelineAlloc()
1366 NewLUT ->FreeDataFn = NULL; in cmsPipelineAlloc()
1367 NewLUT ->Data = NewLUT; in cmsPipelineAlloc()
[all …]
Dcmstypes.c1742 cmsPipeline* NewLUT = NULL; in Type_LUT8_Read() local
1762 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels); in Type_LUT8_Read()
1763 if (NewLUT == NULL) goto Error; in Type_LUT8_Read()
1780 …if (!cmsPipelineInsertStage(NewLUT, cmsAT_BEGIN, cmsStageAllocMatrix(self ->ContextID, 3, 3, Matri… in Type_LUT8_Read()
1785 if (!Read8bitTables(self ->ContextID, io, NewLUT, InputChannels)) goto Error; in Type_LUT8_Read()
1816 …if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, cmsStageAllocCLut16bit(self ->ContextID, CLUTpoints… in Type_LUT8_Read()
1823 if (!Read8bitTables(self ->ContextID, io, NewLUT, OutputChannels)) goto Error; in Type_LUT8_Read()
1826 return NewLUT; in Type_LUT8_Read()
1829 if (NewLUT != NULL) cmsPipelineFree(NewLUT); in Type_LUT8_Read()
1841 cmsPipeline* NewLUT = (cmsPipeline*) Ptr; in Type_LUT8_Write() local
[all …]