Home
last modified time | relevance | path

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

/third_party/skia/tests/
DVkYcbcrSamplerTest.cpp95 int expectedG = round_and_clamp((yChannel - 0.13397432f / 0.7152f * uChannel - in DEF_GPUTEST() local
106 if (abs(g - expectedG) > kColorTolerance) { in DEF_GPUTEST()
107 ERRORF(reporter, "G should be %d, but is %d at (%d, %d)", expectedG, g, x, y); in DEF_GPUTEST()
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp391 int expectedG = round_and_clamp((yChannel - 0.13397432f / 0.7152f * uChannel - in DEF_GPUTEST() local
402 if (abs(g - expectedG) > kColorTolerance) { in DEF_GPUTEST()
403 ERRORF(reporter, "G should be %d, but is %d at (%d, %d)", expectedG, g, x, y); in DEF_GPUTEST()
DSkSLInterpreterTest.cpp117 float expectedR, float expectedG, float expectedB, float expectedA) { in test() argument
135 if (inoutColor[0] != expectedR || inoutColor[1] != expectedG || in test()
139 expectedG, expectedB, expectedA, inoutColor[0], inoutColor[1], inoutColor[2], in test()
144 REPORTER_ASSERT(r, inoutColor[1] == expectedG); in test()