Lines Matching refs:best_y
362 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
371 const int W0 = FixedYToW(best_y[0]); in InterpolateTwoRows()
372 const int W1 = FixedYToW(best_y[w]); in InterpolateTwoRows()
379 const int W0 = FixedYToW(best_y[i + 0]); in InterpolateTwoRows()
380 const int W1 = FixedYToW(best_y[i + w]); in InterpolateTwoRows()
390 const int W0 = FixedYToW(best_y[i + 0]); in InterpolateTwoRows()
391 const int W1 = FixedYToW(best_y[i + w]); in InterpolateTwoRows()
417 static int ConvertWRGBToYUV(const fixed_y_t* const best_y, in ConvertWRGBToYUV() argument
429 const int W = FixedYToW(best_y[i + j * w]); in ConvertWRGBToYUV()
471 fixed_y_t* const best_y = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB() local
479 if (best_y == NULL || best_uv == NULL || in PreprocessARGB()
497 fixed_y_t* const dst_y = best_y + j * w; in PreprocessARGB()
526 InterpolateTwoRows(best_y + j * w, prev_uv, cur_uv, next_uv, in PreprocessARGB()
540 const int new_y = (int)best_y[off] + diff_y; in PreprocessARGB()
541 best_y[off] = clip_y(new_y); in PreprocessARGB()
560 ok = ConvertWRGBToYUV(best_y, best_uv, picture); in PreprocessARGB()
563 WebPSafeFree(best_y); in PreprocessARGB()