Searched refs:tab_pos (Results 1 – 1 of 1) sorted by relevance
111 const int tab_pos = v >> (kGammaTabFix + 2); // integer part in Interpolate() local113 const int v0 = kLinearToGammaTab[tab_pos]; in Interpolate()114 const int v1 = kLinearToGammaTab[tab_pos + 1]; in Interpolate()116 assert(tab_pos + 1 < kGammaTabSize + 1); in Interpolate()219 const int tab_pos = (int)v; in LinearToGammaF() local220 const float x = v - (float)tab_pos; // fractional part in LinearToGammaF()221 const float v0 = kLinearToGammaTabF[tab_pos + 0]; in LinearToGammaF()222 const float v1 = kLinearToGammaTabF[tab_pos + 1]; in LinearToGammaF()