Lines Matching refs:lower
49 float lower = SkTMax(0.f, (float) inputComponent - error); in check_conversion() local
51 lower = CONVERT(lower / 255.f); in check_conversion()
53 SkASSERT(lower >= 0.f && lower <= 255.f); in check_conversion()
56 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion()
74 float lower = SkTMax(0.f, (float) inputComponent - error); in check_double_conversion() local
76 lower = FORWARD(lower / 255.f); in check_double_conversion()
78 SkASSERT(lower >= 0.f && lower <= 255.f); in check_double_conversion()
81 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
82 lower = SkTMax(0.f, (float) lowerComponent - error); in check_double_conversion()
84 lower = BACKWARD(lowerComponent / 255.f); in check_double_conversion()
86 SkASSERT(lower >= 0.f && lower <= 255.f); in check_double_conversion()
89 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()