Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp_enc.c81 #define kGammaTabFix 7 // fixed-point fractional bits precision macro
82 #define kGammaTabScale (1 << kGammaTabFix)
84 #define kGammaTabSize (1 << (kGammaFix - kGammaTabFix))
93 const double scale = (double)(1 << kGammaTabFix) / kGammaScale; in InitGammaTables()
111 const int tab_pos = v >> (kGammaTabFix + 2); // integer part in Interpolate()
124 return (y + kGammaTabRounder) >> kGammaTabFix; // descale in LinearToGamma()