Lines Matching refs:saturated_add
37 static inline unsigned saturated_add(unsigned a, unsigned b) {
173 unsigned b = saturated_add(SkGetPackedB32(src), SkGetPackedB32(dst));
174 unsigned g = saturated_add(SkGetPackedG32(src), SkGetPackedG32(dst));
175 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst));
176 unsigned a = saturated_add(SkGetPackedA32(src), SkGetPackedA32(dst));