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()227 const uint32_t tab_pos = v >> GAMMA_TO_LINEAR_BITS; in LinearToGammaS() local229 const uint32_t x = v - (tab_pos << GAMMA_TO_LINEAR_BITS); // fractional part in LinearToGammaS()231 const uint32_t v0 = kLinearToGammaTabS[tab_pos + 0]; in LinearToGammaS()232 const uint32_t v1 = kLinearToGammaTabS[tab_pos + 1]; in LinearToGammaS()