Searched refs:div255 (Results 1 – 22 of 22) sorted by relevance
/external/skqp/src/opts/ |
D | SkXfermode_opts.h | 42 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE() 45 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE() 64 return (bw * aa + d * aa.inv()).div255(); in xfer_aa()
|
D | SkRasterPipeline_opts.h | 2434 SI U16 div255(U16 v) { 2459 SI U16 lerp(U16 from, U16 to, U16 t) { return div255( from*inv(t) + to*t ); } 2632 r = div255(r * a); 2633 g = div255(g * a); 2634 b = div255(b * a); 2637 dr = div255(dr * da); 2638 dg = div255(dg * da); 2639 db = div255(db * da); 2684 BLEND_MODE(srcatop) { return div255( s*da + d*inv(sa) ); } 2685 BLEND_MODE(dstatop) { return div255( d*sa + s*inv(da) ); } [all …]
|
D | Sk4px_none.h | 31 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
D | Sk4px_NEON.h | 26 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
D | Sk4px_SSE2.h | 24 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
/external/skia/src/opts/ |
D | SkXfermode_opts.h | 42 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE() 45 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE() 64 return (bw * aa + d * aa.inv()).div255(); in xfer_aa()
|
D | SkRasterPipeline_opts.h | 3048 SI U16 div255(U16 v) { 3071 SI U16 lerp(U16 from, U16 to, U16 t) { return div255( from*inv(t) + to*t ); } 3253 r = div255(r * a); 3254 g = div255(g * a); 3255 b = div255(b * a); 3258 dr = div255(dr * da); 3259 dg = div255(dg * da); 3260 db = div255(db * da); 3305 BLEND_MODE(srcatop) { return div255( s*da + d*inv(sa) ); } 3306 BLEND_MODE(dstatop) { return div255( d*sa + s*inv(da) ); } [all …]
|
D | Sk4px_none.h | 31 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
D | Sk4px_NEON.h | 26 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
D | Sk4px_SSE2.h | 24 inline Sk4px Sk4px::Wide::div255() const { in div255() function
|
/external/skqp/src/effects/ |
D | SkEmbossMask.cpp | 41 static inline unsigned div255(unsigned x) { in div255() function 102 add = div255(add * hilite); in Emboss()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 41 static inline unsigned div255(unsigned x) { in div255() function 102 add = div255(add * hilite); in Emboss()
|
/external/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 95 static unsigned div255(unsigned a, unsigned b) { in div255() function 113 dst[i] = a + div255(255 - a, dst[i]); in S32_srcover_da8()
|
D | Sk4px.h | 73 Sk4px div255() const;
|
D | SkBlitter_ARGB32.cpp | 1199 return skvx::div255( skvx::cast<uint16_t>(s) * skvx::cast<uint16_t>( c ) in blend_row_A8_opaque()
|
/external/skqp/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 96 static unsigned div255(unsigned a, unsigned b) { in div255() function 114 dst[i] = a + div255(255 - a, dst[i]); in S32_srcover_da8()
|
D | Sk4px.h | 73 Sk4px div255() const;
|
D | SkBlitter_ARGB32.cpp | 1184 return (s * aa + d * aa.inv()).div255(); in blend_row_A8_opaque()
|
/external/skia/tests/ |
D | SkVxTest.cpp | 128 uint8_t got = skvx::div255(skvx::Vec<8, uint16_t>(x) * in DEF_TEST()
|
D | SkNxTest.cpp | 198 int correct = (av * bv).div255()[0]; in DEF_TEST()
|
/external/skqp/tests/ |
D | SkNxTest.cpp | 192 int correct = (av * bv).div255()[0]; in DEF_TEST()
|
/external/skia/include/private/ |
D | SkVx.h | 628 SIN Vec<N,uint8_t> div255(const Vec<N,uint16_t>& x) {
|