Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp_enc.c168 typedef uint16_t fixed_y_t; // unsigned type with extra SFIX precision for W typedef
261 static fixed_y_t clip_y(int y) { in clip_y()
262 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()
280 static WEBP_INLINE void UpdateW(const fixed_y_t* src, fixed_y_t* dst, int w) { in UpdateW()
287 dst[i] = (fixed_y_t)LinearToGammaS(Y); in UpdateW()
291 static void UpdateChroma(const fixed_y_t* src1, const fixed_y_t* src2, in UpdateChroma()
311 static void StoreGray(const fixed_y_t* rgb, fixed_y_t* y, int w) { in StoreGray()
320 static WEBP_INLINE fixed_y_t Filter2(int A, int B, int W0) { in Filter2()
327 static WEBP_INLINE fixed_y_t UpLift(uint8_t a) { // 8bit -> SFIX in UpLift()
328 return ((fixed_y_t)a << SFIX) | SHALF; in UpLift()
[all …]