Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp.c168 #define MAX_Y_T ((256 << SFIX) - 1) macro
177 static float kGammaToLinearTabF[MAX_Y_T + 1]; // size scales with Y_FIX
184 const double norm = 1. / MAX_Y_T; in InitGammaTablesF()
186 for (v = 0; v <= MAX_Y_T; ++v) { in InitGammaTablesF()
190 kLinearToGammaTabF[v] = (float)(MAX_Y_T * pow(scale * v, 1. / kGammaF)); in InitGammaTablesF()
216 const float norm = 1.f / MAX_Y_T; in GammaToLinearF()
220 return (int)(MAX_Y_T * value + .5); in LinearToGammaF()
232 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()