Lines Matching refs:fixed_y_t

171 typedef uint16_t fixed_y_t;   // unsigned type with extra YFIX precision for W  typedef
260 static fixed_y_t clip_y(int y) { in clip_y()
261 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()
265 static fixed_y_t clip_fixed_t(fixed_t v) { in clip_fixed_t()
267 const fixed_y_t w = clip_y(y); in clip_fixed_t()
290 static WEBP_INLINE void UpdateW(const fixed_y_t* src, fixed_y_t* dst, int len) { in UpdateW()
296 *dst++ = (fixed_y_t)(LinearToGammaF(Y) + .5); in UpdateW()
301 static WEBP_INLINE void UpdateChroma(const fixed_y_t* src1, in UpdateChroma()
302 const fixed_y_t* src2, in UpdateChroma()
303 fixed_t* dst, fixed_y_t* tmp, int len) { in UpdateChroma()
340 static WEBP_INLINE fixed_y_t UpLift(uint8_t a) { in UpLift()
341 return ((fixed_y_t)a << YFIX) | (1 << (YFIX - 1)); in UpLift()
349 fixed_y_t* const dst) { in ImportOneRow()
362 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows()
367 fixed_y_t* const out1, in InterpolateTwoRows()
368 fixed_y_t* const out2) { in InterpolateTwoRows()
417 static int ConvertWRGBToYUV(const fixed_y_t* const best_y, in ConvertWRGBToYUV()
470 fixed_y_t* const tmp_buffer = SAFE_ALLOC(w * 3, 2, fixed_y_t); // scratch in PreprocessARGB()
471 fixed_y_t* const best_y = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB()
472 fixed_y_t* const target_y = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB()
473 fixed_y_t* const best_rgb_y = SAFE_ALLOC(w, 2, fixed_y_t); in PreprocessARGB()
492 fixed_y_t* const src1 = tmp_buffer; in PreprocessARGB()
493 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB()
497 fixed_y_t* const dst_y = best_y + j * w; in PreprocessARGB()
521 fixed_y_t* const src1 = tmp_buffer; in PreprocessARGB()
522 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB()