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_enc.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()
188 for (v = 0; v <= MAX_Y_T; ++v) { in InitGammaTablesF()
205 kLinearToGammaTabF[v] = (float)(MAX_Y_T * value); in InitGammaTablesF()
231 const float norm = 1.f / MAX_Y_T; in GammaToLinearF()
235 return (int)(MAX_Y_T * value + .5); in LinearToGammaF()
247 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()