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

/external/webp/src/enc/
H A Dpicture_csp_enc.c111 const int tab_pos = v >> (kGammaTabFix + 2); // integer part local
113 const int v0 = kLinearToGammaTab[tab_pos];
114 const int v1 = kLinearToGammaTab[tab_pos + 1];
116 assert(tab_pos + 1 < kGammaTabSize + 1);
219 const int tab_pos = (int)v; local
220 const float x = v - (float)tab_pos; // fractional part
221 const float v0 = kLinearToGammaTabF[tab_pos + 0];
222 const float v1 = kLinearToGammaTabF[tab_pos + 1];

Completed in 217 milliseconds