Home
last modified time | relevance | path

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

/external/webp/sharpyuv/
Dsharpyuv_csp.c50 matrix->rgb_to_u[0] = ToFixed16(-kr * scale_u); in SharpYuvComputeConversionMatrix()
51 matrix->rgb_to_u[1] = ToFixed16(-kg * scale_u); in SharpYuvComputeConversionMatrix()
52 matrix->rgb_to_u[2] = ToFixed16((1 - kb) * scale_u); in SharpYuvComputeConversionMatrix()
53 matrix->rgb_to_u[3] = ToFixed16(add_uv); in SharpYuvComputeConversionMatrix()
Dsharpyuv.c262 const int u = RGBToYUVComponent(r, g, b, yuv_matrix->rgb_to_u, sfix); in ConvertWRGBToYUV()
509 scaled_matrix.rgb_to_u[i] = in SharpYuvConvert()
510 (yuv_matrix->rgb_to_u[i] * yuv_max + rgb_round) / rgb_max; in SharpYuvConvert()
517 scaled_matrix.rgb_to_u[3] = Shift(yuv_matrix->rgb_to_u[3], sfix); in SharpYuvConvert()
Dsharpyuv.h60 int rgb_to_u[4]; member