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.c400 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
406 const fixed_t* const best_uv_base = best_uv; in ConvertWRGBToYUV()
411 for (best_uv = best_uv_base, j = 0; j < picture->height; ++j) { in ConvertWRGBToYUV()
415 const int r = best_uv[off + 0 * uv_w] + W; in ConvertWRGBToYUV()
416 const int g = best_uv[off + 1 * uv_w] + W; in ConvertWRGBToYUV()
417 const int b = best_uv[off + 2 * uv_w] + W; in ConvertWRGBToYUV()
421 best_uv += (j & 1) * 3 * uv_w; in ConvertWRGBToYUV()
424 for (best_uv = best_uv_base, j = 0; j < uv_h; ++j) { in ConvertWRGBToYUV()
427 const int r = best_uv[off + 0 * uv_w]; in ConvertWRGBToYUV()
428 const int g = best_uv[off + 1 * uv_w]; in ConvertWRGBToYUV()
[all …]