Lines Matching refs:NewLUT
1366 cmsPipeline* NewLUT;
1372 NewLUT = (cmsPipeline*) _cmsMallocZero(ContextID, sizeof(cmsPipeline));
1373 if (NewLUT == NULL) return NULL;
1376 NewLUT -> InputChannels = InputChannels;
1377 NewLUT -> OutputChannels = OutputChannels;
1379 NewLUT ->Eval16Fn = _LUTeval16;
1380 NewLUT ->EvalFloatFn = _LUTevalFloat;
1381 NewLUT ->DupDataFn = NULL;
1382 NewLUT ->FreeDataFn = NULL;
1383 NewLUT ->Data = NewLUT;
1384 NewLUT ->ContextID = ContextID;
1386 if (!BlessLUT(NewLUT))
1388 _cmsFree(ContextID, NewLUT);
1392 return NewLUT;
1454 cmsPipeline* NewLUT;
1460 NewLUT = cmsPipelineAlloc(lut ->ContextID, lut ->InputChannels, lut ->OutputChannels);
1461 if (NewLUT == NULL) return NULL;
1470 cmsPipelineFree(NewLUT);
1475 NewLUT ->Elements = NewMPE;
1486 NewLUT ->Eval16Fn = lut ->Eval16Fn;
1487 NewLUT ->EvalFloatFn = lut ->EvalFloatFn;
1488 NewLUT ->DupDataFn = lut ->DupDataFn;
1489 NewLUT ->FreeDataFn = lut ->FreeDataFn;
1491 if (NewLUT ->DupDataFn != NULL)
1492 NewLUT ->Data = NewLUT ->DupDataFn(lut ->ContextID, lut->Data);
1495 NewLUT ->SaveAs8Bits = lut ->SaveAs8Bits;
1497 if (!BlessLUT(NewLUT))
1499 _cmsFree(lut->ContextID, NewLUT);
1503 return NewLUT;