Lines Matching refs:NewLUT
1332 cmsPipeline* NewLUT; in cmsPipelineAlloc() local
1337 NewLUT = (cmsPipeline*) _cmsMallocZero(ContextID, sizeof(cmsPipeline)); in cmsPipelineAlloc()
1338 if (NewLUT == NULL) return NULL; in cmsPipelineAlloc()
1341 NewLUT -> InputChannels = InputChannels; in cmsPipelineAlloc()
1342 NewLUT -> OutputChannels = OutputChannels; in cmsPipelineAlloc()
1344 NewLUT ->Eval16Fn = _LUTeval16; in cmsPipelineAlloc()
1345 NewLUT ->EvalFloatFn = _LUTevalFloat; in cmsPipelineAlloc()
1346 NewLUT ->DupDataFn = NULL; in cmsPipelineAlloc()
1347 NewLUT ->FreeDataFn = NULL; in cmsPipelineAlloc()
1348 NewLUT ->Data = NewLUT; in cmsPipelineAlloc()
1349 NewLUT ->ContextID = ContextID; in cmsPipelineAlloc()
1351 BlessLUT(NewLUT); in cmsPipelineAlloc()
1353 return NewLUT; in cmsPipelineAlloc()
1415 cmsPipeline* NewLUT; in cmsPipelineDup() local
1421 NewLUT = cmsPipelineAlloc(lut ->ContextID, lut ->InputChannels, lut ->OutputChannels); in cmsPipelineDup()
1422 if (NewLUT == NULL) return NULL; in cmsPipelineDup()
1431 cmsPipelineFree(NewLUT); in cmsPipelineDup()
1436 NewLUT ->Elements = NewMPE; in cmsPipelineDup()
1446 NewLUT ->Eval16Fn = lut ->Eval16Fn; in cmsPipelineDup()
1447 NewLUT ->EvalFloatFn = lut ->EvalFloatFn; in cmsPipelineDup()
1448 NewLUT ->DupDataFn = lut ->DupDataFn; in cmsPipelineDup()
1449 NewLUT ->FreeDataFn = lut ->FreeDataFn; in cmsPipelineDup()
1451 if (NewLUT ->DupDataFn != NULL) in cmsPipelineDup()
1452 NewLUT ->Data = NewLUT ->DupDataFn(lut ->ContextID, lut->Data); in cmsPipelineDup()
1455 NewLUT ->SaveAs8Bits = lut ->SaveAs8Bits; in cmsPipelineDup()
1457 BlessLUT(NewLUT); in cmsPipelineDup()
1458 return NewLUT; in cmsPipelineDup()