Home
last modified time | relevance | path

Searched refs:div255 (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/opts/
DSkXfermode_opts.h34 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 …]
DSkOpts_sse41.cpp146 static __m128i div255(__m128i x) { return div255_part2(div255_part1(x)); } in div255() function
149 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()
DSk4px_none.h65 inline Sk4px Sk4px::Wide::div255() const { in div255() function
DSk4px_SSE2.h48 inline Sk4px Sk4px::Wide::div255() const { in div255() function
DSk4px_NEON.h60 inline Sk4px Sk4px::Wide::div255() const { in div255() function
/external/skia/src/effects/
DSkEmbossMask.cpp39 static inline unsigned div255(unsigned x) { in div255() function
146 add = div255(add * hilite); in Emboss()
/external/skia/src/core/
DSk4px.h61 Sk4px div255() const;
/external/skia/tests/
DSkNxTest.cpp181 int correct = (av * bv).div255()[0]; in DEF_TEST()
/external/skia/site/dev/contrib/
Dsimd.md94 Wide.div255() -> SkPx // 16-bit -> 8 bit
96 // A faster approximation of (SkPx * Alpha).div255().