Home
last modified time | relevance | path

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

/external/skia/tests/
DSRGBReadWritePixelsTest.cpp78 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion() local
79 lower = SkTMax(0.f, (float) lowerComponent - error); in check_double_conversion()
81 lower = BACKWARD(lowerComponent / 255.f); in check_double_conversion()
86 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
89 if (outputComponent < lowerComponent || outputComponent > upperComponent) { in check_double_conversion()