Home
last modified time | relevance | path

Searched refs:kGammaTabSize (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/enc/
Dpicture_csp_enc.c84 #define kGammaTabSize (1 << (kGammaFix - kGammaTabFix)) macro
86 static int kLinearToGammaTab[kGammaTabSize + 1];
99 for (v = 0; v <= kGammaTabSize; ++v) { in InitGammaTables()
116 assert(tab_pos + 1 < kGammaTabSize + 1); in Interpolate()
176 static uint32_t kLinearToGammaTabS[kGammaTabSize + 2];
186 const double scale = 1. / kGammaTabSize; in InitGammaTablesS()
201 for (v = 0; v <= kGammaTabSize; ++v) { in InitGammaTablesS()
214 kLinearToGammaTabS[kGammaTabSize + 1] = kLinearToGammaTabS[kGammaTabSize]; in InitGammaTablesS()
226 const uint32_t v = value * kGammaTabSize; in LinearToGammaS()