Home
last modified time | relevance | path

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

/third_party/skia/tests/
H A DSRGBReadWritePixelsTest.cpp49 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_conversion() local
50 float lower = std::max(0.f, (float) inputComponent - error); in check_conversion()
51 float upper = std::min(255.f, (float) inputComponent + error); in check_conversion()
74 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_double_conversion() local
75 float lower = std::max(0.f, (float) inputComponent - error); in check_double_conversion()
76 float upper = std::min(255.f, (float) inputComponent + error); in check_double_conversion()

Completed in 2 milliseconds