Searched refs:tab_pos (Results 1 – 1 of 1) sorted by relevance
115 const int tab_pos = v >> (kGammaTabFix + 2); // integer part in Interpolate() local117 const int v0 = kLinearToGammaTab[tab_pos]; in Interpolate()118 const int v1 = kLinearToGammaTab[tab_pos + 1]; in Interpolate()120 assert(tab_pos + 1 < kGammaTabSize + 1); in Interpolate()212 const int tab_pos = (int)v; in LinearToGammaF() local213 const float x = v - (float)tab_pos; // fractional part in LinearToGammaF()214 const float v0 = kLinearToGammaTabF[tab_pos + 0]; in LinearToGammaF()215 const float v1 = kLinearToGammaTabF[tab_pos + 1]; in LinearToGammaF()