Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsopt.c727 cmsFloat64Number Val, Slope, beta; in SlopeLimiting() local
739 Slope = (Val - BeginVal) / AtBegin; in SlopeLimiting()
740 beta = Val - Slope * AtBegin; in SlopeLimiting()
743 g ->Table16[i] = _cmsQuickSaturateWord(i * Slope + beta); in SlopeLimiting()
747 Slope = (EndVal - Val) / AtBegin; // AtBegin holds the X interval, which is same in both cases in SlopeLimiting()
748 beta = Val - Slope * AtEnd; in SlopeLimiting()
751 g ->Table16[i] = _cmsQuickSaturateWord(i * Slope + beta); in SlopeLimiting()