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.c171 #define MAX_Y_T ((256 << SFIX) - 1) macro
181 static uint32_t kGammaToLinearTabS[MAX_Y_T + 1]; // size scales with Y_FIX
189 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()