Searched refs:div255 (Results 1 – 8 of 8) sorted by relevance
34 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE()37 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE()48 XFERMODE(Multiply) { return (s * d.alphas().inv() + d * s.alphas().inv() + s*d).div255(); } in XFERMODE()51 auto m = Sk4px::Wide::Min(s * d.alphas(), d * s.alphas()).div255(); in XFERMODE()73 auto srcover = s + (d * sa.inv()).div255(); in XFERMODE()82 auto colors = (both + isLite.thenElse(lite, dark)).div255(); in XFERMODE()91 auto sda = (s*da).div255(), in XFERMODE()92 dsa = (d*sa).div255(); in XFERMODE()94 auto srcover = s + (d * sa.inv()).div255(), in XFERMODE()95 dstover = d + (s * da.inv()).div255(); in XFERMODE()[all …]
65 inline Sk4px Sk4px::Wide::div255() const { in div255() function
48 inline Sk4px Sk4px::Wide::div255() const { in div255() function
60 inline Sk4px Sk4px::Wide::div255() const { in div255() function
39 static inline unsigned div255(unsigned x) { in div255() function146 add = div255(add * hilite); in Emboss()
61 Sk4px div255() const;
178 int correct = (av * bv).div255()[0]; in DEF_TEST()
94 Wide.div255() -> SkPx // 16-bit -> 8 bit96 // A faster approximation of (SkPx * Alpha).div255().