Lines Matching refs:lower
48 float lower = SkTMax(0.f, (float) inputComponent - error); in check_conversion() local
50 lower = CONVERT(lower / 255.f); in check_conversion()
52 SkASSERT(lower >= 0.f && lower <= 255.f); in check_conversion()
55 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion()
73 float lower = SkTMax(0.f, (float) inputComponent - error); in check_double_conversion() local
75 lower = FORWARD(lower / 255.f); in check_double_conversion()
77 SkASSERT(lower >= 0.f && lower <= 255.f); in check_double_conversion()
80 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
81 lower = SkTMax(0.f, (float) lowerComponent - error); in check_double_conversion()
83 lower = BACKWARD(lowerComponent / 255.f); in check_double_conversion()
85 SkASSERT(lower >= 0.f && lower <= 255.f); in check_double_conversion()
88 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()