Home
last modified time | relevance | path

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

/external/skqp/tests/
DSRGBReadWritePixelsTest.cpp47 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_conversion() local
48 float lower = SkTMax(0.f, (float) inputComponent - error); in check_conversion()
49 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion()
72 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_double_conversion() local
73 float lower = SkTMax(0.f, (float) inputComponent - error); in check_double_conversion()
74 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion()
/external/skia/tests/
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()