Home
last modified time | relevance | path

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

/external/skqp/tests/
DSRGBReadWritePixelsTest.cpp79 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() local
82 upper = SkTMin(255.f, (float) upperComponent + error); in check_double_conversion()
84 upper = BACKWARD(upperComponent / 255.f); in check_double_conversion()
87 upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion()
91 if (outputComponent < lowerComponent || outputComponent > upperComponent) { in check_double_conversion()
/external/skia/tests/
DSRGBReadWritePixelsTest.cpp81 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() local
84 upper = std::min(255.f, (float) upperComponent + error); in check_double_conversion()
86 upper = BACKWARD(upperComponent / 255.f); in check_double_conversion()
89 upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion()
93 if (outputComponent < lowerComponent || outputComponent > upperComponent) { in check_double_conversion()