Searched refs:rgb_to_u (Results 1 – 3 of 3) sorted by relevance
50 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()
262 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()
60 int rgb_to_u[4]; member