Searched refs:kGammaTabFix (Results 1 – 1 of 1) sorted by relevance
81 #define kGammaTabFix 7 // fixed-point fractional bits precision macro82 #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()
Completed in 5 milliseconds