Searched refs:div255 (Results 1 – 9 of 9) 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 …]
146 static __m128i div255(__m128i x) { return div255_part2(div255_part1(x)); } in div255() function149 static __m128i scale(__m128i x, __m128i y) { return div255(_mm_mullo_epi16(x, y)); } in scale()193 return div255(_mm_add_epi16(_mm_mullo_epi16(inv(c),d), in blit_mask_d32_a8()
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;
181 int correct = (av * bv).div255()[0]; in DEF_TEST()
94 Wide.div255() -> SkPx // 16-bit -> 8 bit96 // A faster approximation of (SkPx * Alpha).div255().