Lines Matching refs:best_y
348 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
360 out1[0] = Filter2(cur_uv[0], prev_uv[0], best_y[0]); in InterpolateTwoRows()
361 out2[0] = Filter2(cur_uv[0], next_uv[0], best_y[w]); in InterpolateTwoRows()
363 WebPSharpYUVFilterRow(cur_uv, prev_uv, len, best_y + 0 + 1, out1 + 1); in InterpolateTwoRows()
364 WebPSharpYUVFilterRow(cur_uv, next_uv, len, best_y + w + 1, out2 + 1); in InterpolateTwoRows()
369 best_y[w - 1 + 0]); in InterpolateTwoRows()
371 best_y[w - 1 + w]); in InterpolateTwoRows()
396 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
410 const int W = best_y[i]; in ConvertWRGBToYUV()
416 best_y += w; in ConvertWRGBToYUV()
463 fixed_y_t* best_y = best_y_base; in PreprocessARGB() local
496 StoreGray(src1, best_y + 0, w); in PreprocessARGB()
497 StoreGray(src2, best_y + w, w); in PreprocessARGB()
503 best_y += 2 * w; in PreprocessARGB()
518 best_y = best_y_base; in PreprocessARGB()
527 InterpolateTwoRows(best_y, prev_uv, cur_uv, next_uv, w, src1, src2); in PreprocessARGB()
537 diff_y_sum += WebPSharpYUVUpdateY(target_y, best_rgb_y, best_y, 2 * w); in PreprocessARGB()
540 best_y += 2 * w; in PreprocessARGB()