Searched refs:kGammaTabSize (Results 1 – 1 of 1) sorted by relevance
84 #define kGammaTabSize (1 << (kGammaFix - kGammaTabFix)) macro86 static int kLinearToGammaTab[kGammaTabSize + 1];99 for (v = 0; v <= kGammaTabSize; ++v) { in InitGammaTables()116 assert(tab_pos + 1 < kGammaTabSize + 1); in Interpolate()178 static float kLinearToGammaTabF[kGammaTabSize + 2];185 const double scale = 1. / kGammaTabSize; in InitGammaTablesF()197 for (v = 0; v <= kGammaTabSize; ++v) { in InitGammaTablesF()208 kLinearToGammaTabF[kGammaTabSize + 1] = kLinearToGammaTabF[kGammaTabSize]; in InitGammaTablesF()218 const float v = value * kGammaTabSize; in LinearToGammaF()