Lines Matching refs:upper
71 float upper = SkTMin(255.f, srcComponent + error);
74 upper = linear_to_srgb(upper / 255.f);
77 upper = srgb_to_linear(upper / 255.f);
80 upper *= alpha;
82 SkASSERT(upper >= 0.f && upper <= 255.f);
85 dstComponent > SkScalarCeilToInt(upper)) {
88 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f);