Searched refs:MAX_Y_T (Results 1 – 1 of 1) sorted by relevance
171 #define MAX_Y_T ((256 << SFIX) - 1) macro181 static uint32_t kGammaToLinearTabS[MAX_Y_T + 1]; // size scales with Y_FIX189 const double norm = 1. / MAX_Y_T; in WEBP_DSP_INIT_FUNC()194 for (v = 0; v <= MAX_Y_T; ++v) { in WEBP_DSP_INIT_FUNC()215 (uint32_t)(MAX_Y_T * value) + (1 << GAMMA_TO_LINEAR_BITS >> 1); in WEBP_DSP_INIT_FUNC()247 return (v << GAMMA_TO_LINEAR_BITS) / MAX_Y_T; in GammaToLinearS()250 return (MAX_Y_T * value) >> GAMMA_TO_LINEAR_BITS; in LinearToGammaS()262 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()