Lines Matching refs:Interpolation
29 // This module incorporates several interpolation routines, for 1 to 8 channels on input and
30 // up to 65535 channels on output. The user may change those by using the interpolation plug-in
32 // Interpolation routines by default
38 // The interpolation plug-in memory chunk allocator/dup
77 // Set the interpolation method
82 p ->Interpolation.Lerp16 = NULL;
86 p ->Interpolation = ptr->Interpolators(p -> nInputs, p ->nOutputs, p ->dwFlags);
90 if (p ->Interpolation.Lerp16 == NULL)
91 p ->Interpolation = DefaultInterpolatorsFactory(p ->nInputs, p ->nOutputs, p ->dwFlags);
94 if (p ->Interpolation.Lerp16 == NULL) {
102 // This function precalculates as many parameters as possible to speed up the interpolation.
143 cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported interpolation (%d->%d channels)", InputChan, OutputChan);
175 // Inline fixed point interpolation
184 // Linear interpolation (Fixed-point optimized)
221 // Floating-point version of 1D interpolation
327 // Bilinear interpolation (16 bits) - cmsFloat32Number version
380 // Bilinear interpolation (16 bits) - optimized version
439 // Trilinear interpolation (16 bits) - cmsFloat32Number version
511 // Trilinear interpolation (16 bits) - optimized version
589 // Tetrahedral interpolation, using Sakamoto algorithm.
1405 cmsInterpFunction Interpolation;
1409 memset(&Interpolation, 0, sizeof(Interpolation));
1413 return Interpolation;
1422 Interpolation.LerpFloat = LinLerp1Dfloat;
1424 Interpolation.Lerp16 = LinLerp1D;
1430 Interpolation.LerpFloat = Eval1InputFloat;
1432 Interpolation.Lerp16 = Eval1Input;
1438 Interpolation.LerpFloat = BilinearInterpFloat;
1440 Interpolation.Lerp16 = BilinearInterp16;
1448 Interpolation.LerpFloat = TrilinearInterpFloat;
1450 Interpolation.Lerp16 = TrilinearInterp16;
1455 Interpolation.LerpFloat = TetrahedralInterpFloat;
1458 Interpolation.Lerp16 = TetrahedralInterp16;
1466 Interpolation.LerpFloat = Eval4InputsFloat;
1468 Interpolation.Lerp16 = Eval4Inputs;
1473 Interpolation.LerpFloat = Eval5InputsFloat;
1475 Interpolation.Lerp16 = Eval5Inputs;
1480 Interpolation.LerpFloat = Eval6InputsFloat;
1482 Interpolation.Lerp16 = Eval6Inputs;
1487 Interpolation.LerpFloat = Eval7InputsFloat;
1489 Interpolation.Lerp16 = Eval7Inputs;
1494 Interpolation.LerpFloat = Eval8InputsFloat;
1496 Interpolation.Lerp16 = Eval8Inputs;
1502 Interpolation.Lerp16 = NULL;
1505 return Interpolation;