Home
last modified time | relevance | path

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

/external/skia/tests/
DSRGBReadWritePixelsTest.cpp45 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_conversion() local
46 float lower = SkTMax(0.f, (float) inputComponent - error); in check_conversion()
47 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion()
70 uint8_t inputComponent = (uint8_t) ((input & (0xff << (c*8))) >> (c*8)); in check_double_conversion() local
71 float lower = SkTMax(0.f, (float) inputComponent - error); in check_double_conversion()
72 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion()