Lines Matching refs:best_y
341 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
353 out1[0] = Filter2(cur_uv[0], prev_uv[0], best_y[0]); in InterpolateTwoRows()
354 out2[0] = Filter2(cur_uv[0], next_uv[0], best_y[w]); in InterpolateTwoRows()
356 WebPSharpYUVFilterRow(cur_uv, prev_uv, len, best_y + 0 + 1, out1 + 1); in InterpolateTwoRows()
357 WebPSharpYUVFilterRow(cur_uv, next_uv, len, best_y + w + 1, out2 + 1); in InterpolateTwoRows()
362 best_y[w - 1 + 0]); in InterpolateTwoRows()
364 best_y[w - 1 + w]); in InterpolateTwoRows()
389 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
403 const int W = best_y[i]; in ConvertWRGBToYUV()
409 best_y += w; in ConvertWRGBToYUV()
456 fixed_y_t* best_y = best_y_base; in PreprocessARGB() local
489 StoreGray(src1, best_y + 0, w); in PreprocessARGB()
490 StoreGray(src2, best_y + w, w); in PreprocessARGB()
496 best_y += 2 * w; in PreprocessARGB()
511 best_y = best_y_base; in PreprocessARGB()
520 InterpolateTwoRows(best_y, prev_uv, cur_uv, next_uv, w, src1, src2); in PreprocessARGB()
530 diff_y_sum += WebPSharpYUVUpdateY(target_y, best_rgb_y, best_y, 2 * w); in PreprocessARGB()
533 best_y += 2 * w; in PreprocessARGB()