Lines Matching refs:NewLUT
1371 cmsPipeline* NewLUT; in cmsPipelineAlloc() local
1377 NewLUT = (cmsPipeline*) _cmsMallocZero(ContextID, sizeof(cmsPipeline)); in cmsPipelineAlloc()
1378 if (NewLUT == NULL) return NULL; in cmsPipelineAlloc()
1380 NewLUT -> InputChannels = InputChannels; in cmsPipelineAlloc()
1381 NewLUT -> OutputChannels = OutputChannels; in cmsPipelineAlloc()
1383 NewLUT ->Eval16Fn = _LUTeval16; in cmsPipelineAlloc()
1384 NewLUT ->EvalFloatFn = _LUTevalFloat; in cmsPipelineAlloc()
1385 NewLUT ->DupDataFn = NULL; in cmsPipelineAlloc()
1386 NewLUT ->FreeDataFn = NULL; in cmsPipelineAlloc()
1387 NewLUT ->Data = NewLUT; in cmsPipelineAlloc()
1388 NewLUT ->ContextID = ContextID; in cmsPipelineAlloc()
1390 if (!BlessLUT(NewLUT)) in cmsPipelineAlloc()
1392 _cmsFree(ContextID, NewLUT); in cmsPipelineAlloc()
1396 return NewLUT; in cmsPipelineAlloc()
1458 cmsPipeline* NewLUT; in cmsPipelineDup() local
1464 NewLUT = cmsPipelineAlloc(lut ->ContextID, lut ->InputChannels, lut ->OutputChannels); in cmsPipelineDup()
1465 if (NewLUT == NULL) return NULL; in cmsPipelineDup()
1474 cmsPipelineFree(NewLUT); in cmsPipelineDup()
1479 NewLUT ->Elements = NewMPE; in cmsPipelineDup()
1490 NewLUT ->Eval16Fn = lut ->Eval16Fn; in cmsPipelineDup()
1491 NewLUT ->EvalFloatFn = lut ->EvalFloatFn; in cmsPipelineDup()
1492 NewLUT ->DupDataFn = lut ->DupDataFn; in cmsPipelineDup()
1493 NewLUT ->FreeDataFn = lut ->FreeDataFn; in cmsPipelineDup()
1495 if (NewLUT ->DupDataFn != NULL) in cmsPipelineDup()
1496 NewLUT ->Data = NewLUT ->DupDataFn(lut ->ContextID, lut->Data); in cmsPipelineDup()
1499 NewLUT ->SaveAs8Bits = lut ->SaveAs8Bits; in cmsPipelineDup()
1501 if (!BlessLUT(NewLUT)) in cmsPipelineDup()
1503 _cmsFree(lut->ContextID, NewLUT); in cmsPipelineDup()
1507 return NewLUT; in cmsPipelineDup()