Searched refs:SkDiv255Round (Results 1 – 4 of 4) sorted by relevance
759 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_mips_dsp()
720 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_neon()
76 static inline unsigned SkDiv255Round(unsigned prod) { in SkDiv255Round() function
46 return SkDiv255Round(prod); in clamp_div255round()532 return sc + dc - SkDiv255Round(ds); in darken_byte()535 return dc + sc - SkDiv255Round(sd); in darken_byte()554 return sc + dc - SkDiv255Round(ds); in lighten_byte()557 return dc + sc - SkDiv255Round(sd); in lighten_byte()671 return clamp_signed_byte(sc + dc - 2 * SkDiv255Round(tmp)); in difference_byte()709 return SkDiv255Round(r * 77 + g * 150 + b * 28); in Lum()