Searched refs:saturated_add (Results 1 - 3 of 3) sorted by relevance
/external/skia/src/gpu/ |
H A D | GrBlend.cpp | 34 static inline unsigned saturated_add(unsigned a, unsigned b) { function 45 unsigned r = saturated_add(GrColorUnpackR(src), GrColorUnpackR(dst)); 46 unsigned g = saturated_add(GrColorUnpackG(src), GrColorUnpackG(dst)); 47 unsigned b = saturated_add(GrColorUnpackB(src), GrColorUnpackB(dst)); 48 unsigned a = saturated_add(GrColorUnpackA(src), GrColorUnpackA(dst));
|
/external/skia/src/core/ |
H A D | SkScan_AntiPath.cpp | 480 static inline void saturated_add(uint8_t* ptr, U8CPU add) { 493 saturated_add(alpha, startAlpha); 525 saturated_add(alpha, stopAlpha);
|
H A D | SkXfermode.cpp | 37 static inline unsigned saturated_add(unsigned a, unsigned b) { function 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));
|
Completed in 94 milliseconds