Searched refs:upperComponent (Results 1 – 2 of 2) sorted by relevance
79 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() local82 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()
81 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() local84 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()