Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp_enc.c396 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
402 const fixed_t* const best_uv_base = best_uv; in ConvertWRGBToYUV()
407 for (best_uv = best_uv_base, j = 0; j < picture->height; ++j) { in ConvertWRGBToYUV()
411 const int r = best_uv[off + 0 * uv_w] + W; in ConvertWRGBToYUV()
412 const int g = best_uv[off + 1 * uv_w] + W; in ConvertWRGBToYUV()
413 const int b = best_uv[off + 2 * uv_w] + W; in ConvertWRGBToYUV()
417 best_uv += (j & 1) * 3 * uv_w; in ConvertWRGBToYUV()
420 for (best_uv = best_uv_base, j = 0; j < uv_h; ++j) { in ConvertWRGBToYUV()
423 const int r = best_uv[off + 0 * uv_w]; in ConvertWRGBToYUV()
424 const int g = best_uv[off + 1 * uv_w]; in ConvertWRGBToYUV()
[all …]