Searched defs:tab_pos (Results 1 - 1 of 1) sorted by relevance

/external/webp/src/enc/
H A Dpicture_csp.c115 const int tab_pos = v >> (kGammaTabFix + 2); // integer part local
117 const int v0 = kLinearToGammaTab[tab_pos];
118 const int v1 = kLinearToGammaTab[tab_pos + 1];
120 assert(tab_pos + 1 < kGammaTabSize + 1);
212 const int tab_pos = (int)v; local
213 const float x = v - (float)tab_pos; // fractional part
214 const float v0 = kLinearToGammaTabF[tab_pos + 0];
215 const float v1 = kLinearToGammaTabF[tab_pos + 1];

Completed in 67 milliseconds