Home
last modified time | relevance | path

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

/external/webp/sharpyuv/
Dsharpyuv_csp.c33 float scale_u = cr; in SharpYuvComputeConversionMatrix() local
40 scale_u *= (224 << shift) / denom; in SharpYuvComputeConversionMatrix()
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()