/third_party/flutter/skia/src/core/ |
D | SkVMBlitter.cpp | 77 skvm::I32 div255(skvm::I32 v) { in div255() function 85 return div255(add(mul(x, inv(t)), in mix() 119 skvm::I32 r = div255(mul(c.r, splat(31))), in pack_565() 120 g = div255(mul(c.g, splat(63))), in pack_565() 121 b = div255(mul(c.b, splat(31))); in pack_565() 195 src.r = add(src.r, div255(mul(dst.r, inv(src.a)))); in Builder() 196 src.g = add(src.g, div255(mul(dst.g, inv(src.a)))); in Builder() 197 src.b = add(src.b, div255(mul(dst.b, inv(src.a)))); in Builder() 198 src.a = add(src.a, div255(mul(dst.a, inv(src.a)))); in Builder()
|
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 | 1199 return skvx::div255( skvx::cast<uint16_t>(s) * skvx::cast<uint16_t>( c ) in blend_row_A8_opaque()
|
/third_party/flutter/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 | 2986 SI U16 div255(U16 v) { 3011 SI U16 lerp(U16 from, U16 to, U16 t) { return div255( from*inv(t) + to*t ); } 3185 r = div255(r * a); 3186 g = div255(g * a); 3187 b = div255(b * a); 3190 dr = div255(dr * da); 3191 dg = div255(dg * da); 3192 db = div255(db * da); 3237 BLEND_MODE(srcatop) { return div255( s*da + d*inv(sa) ); } 3238 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
|
/third_party/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 | 3097 SI U16 div255(U16 v) { 3114 return div255(v); 3132 SI U16 lerp(U16 from, U16 to, U16 t) { return div255( from*inv(t) + to*t ); } 3407 BLEND_MODE(srcatop) { return div255( s*da + d*inv(sa) ); } 3408 BLEND_MODE(dstatop) { return div255( d*sa + s*inv(da) ); } 3409 BLEND_MODE(srcin) { return div255( s*da ); } 3410 BLEND_MODE(dstin) { return div255( d*sa ); } 3411 BLEND_MODE(srcout) { return div255( s*inv(da) ); } 3412 BLEND_MODE(dstout) { return div255( d*inv(sa) ); } 3413 BLEND_MODE(srcover) { return s + div255( d*inv(sa) ); } [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
|
/third_party/flutter/skia/src/effects/ |
D | SkEmbossMask.cpp | 41 static inline unsigned div255(unsigned x) { in div255() function 102 add = div255(add * hilite); in Emboss()
|
/third_party/skia/src/effects/ |
D | SkEmbossMask.cpp | 41 static inline unsigned div255(unsigned x) { in div255() function 102 add = div255(add * hilite); in Emboss()
|
/third_party/skia/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 | 1199 return skvx::div255( skvx::cast<uint16_t>(s) * skvx::cast<uint16_t>( c ) in blend_row_A8_opaque()
|
/third_party/boost/boost/gil/ |
D | channel_algorithm.hpp | 469 inline uint32_t div255(uint32_t in) { uint32_t tmp=in+128; return (tmp + (tmp>>8))>>8; } in div255() function 504 …uint8_t operator()(uint8_t a, uint8_t b) const { return uint8_t(detail::div255(uint32_t(a) * uint3… in operator ()()
|
/third_party/flutter/skia/tests/ |
D | SkVxTest.cpp | 153 uint8_t got = skvx::div255(skvx::Vec<8, uint16_t>(x) * in DEF_TEST()
|
D | SkNxTest.cpp | 192 int correct = (av * bv).div255()[0]; in DEF_TEST()
|
/third_party/skia/tests/ |
D | SkNxTest.cpp | 198 int correct = (av * bv).div255()[0]; in DEF_TEST()
|
D | SkVxTest.cpp | 133 uint8_t got = skvx::div255(skvx::Vec<8, uint16_t>(x) * in DEF_TEST()
|
/third_party/flutter/skia/include/private/ |
D | SkVx.h | 415 static inline Vec<N,uint8_t> div255(const Vec<N,uint16_t>& x) {
|