Home
last modified time | relevance | path

Searched refs:yChannel (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/tests/
H A DVkYcbcrSamplerTest.cpp88 float yChannel = (static_cast<float>(y2) - 16.0) / 219.0; in DEF_GPUTEST() local
94 int expectedR = round_and_clamp((yChannel + 1.5748f * vChannel) * 255.0); in DEF_GPUTEST()
95 int expectedG = round_and_clamp((yChannel - 0.13397432f / 0.7152f * uChannel - in DEF_GPUTEST()
98 int expectedB = round_and_clamp((yChannel + 1.8556f * uChannel) * 255.0); in DEF_GPUTEST()

Completed in 1 milliseconds