Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp_enc.c86 #define kGammaTabSize (1 << (kGammaFix - kGammaTabFix)) macro
88 static int kLinearToGammaTab[kGammaTabSize + 1];
102 for (v = 0; v <= kGammaTabSize; ++v) { in WEBP_DSP_INIT_FUNC()
119 assert(tab_pos + 1 < kGammaTabSize + 1); in Interpolate()
179 static uint32_t kLinearToGammaTabS[kGammaTabSize + 2];
190 const double scale = 1. / kGammaTabSize; in WEBP_DSP_INIT_FUNC()
205 for (v = 0; v <= kGammaTabSize; ++v) { in WEBP_DSP_INIT_FUNC()
218 kLinearToGammaTabS[kGammaTabSize + 1] = kLinearToGammaTabS[kGammaTabSize]; in WEBP_DSP_INIT_FUNC()
230 const uint32_t v = value * kGammaTabSize; in LinearToGammaS()