Home
last modified time | relevance | path

Searched refs:SkDiv255Round (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/opts/
DSkBlitRow_opts_mips_dsp.cpp759 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_mips_dsp()
DSkBlitRow_opts_arm_neon.cpp720 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_neon()
/external/skia/src/core/
DSkMathPriv.h76 static inline unsigned SkDiv255Round(unsigned prod) { in SkDiv255Round() function
DSkXfermode.cpp46 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()