Searched refs:thenElse (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/opts/ |
D | SkXfermode_opts.h | 82 auto colors = (both + isLite.thenElse(lite, dark)).div255(); in XFERMODE() 97 colors = (sda < dsa).thenElse(srcover, dstover); in XFERMODE() 110 colors = (dsa < sda).thenElse(srcover, dstover); in XFERMODE() 139 auto colors = (d == Sk4f(0)).thenElse(dstover, in XFERMODE() 140 (s == sa).thenElse(srcover, in XFERMODE() 155 auto colors = (d == da).thenElse(dstover, in XFERMODE() 156 (s == Sk4f(0)).thenElse(srcover, in XFERMODE() 167 auto m = (da > Sk4f(0)).thenElse(d / da, Sk4f(0)), in XFERMODE() 178 liteSrc = d*sa + da*(s2-sa)*(Sk4f(4)*d <= da).thenElse(darkDst, liteDst); // Case 2 or 3? in XFERMODE() 181 auto colors = s*ida + d*isa + (s2 <= sa).thenElse(darkSrc, liteSrc); // Case 1 or 2/3? in XFERMODE()
|
D | SkNx_neon.h | 217 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 257 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 295 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 352 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
|
D | SkNx_sse.h | 123 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 221 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 283 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
|
/external/skia/src/core/ |
D | Sk4px.h | 70 Wide thenElse(const Wide& t, const Wide& e) const { return INHERITED::thenElse(t,e); } in thenElse() function 88 Sk4px thenElse(const Sk4px& t, const Sk4px& e) const { return INHERITED::thenElse(t,e); } in thenElse() function
|
D | SkNx.h | 79 SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function 80 return SkNx(fLo.thenElse(t.fLo, e.fLo), fHi.thenElse(t.fHi, e.fHi)); in thenElse() 142 SkNx thenElse(const SkNx& t, const SkNx& e) const { return fVal != 0 ? t : e; } in thenElse() function
|
D | SkBitmapFilter.h | 108 return over2.thenElse(Sk4f(0), over1.thenElse(poly1, poly0)); in evalcore_n()
|
D | SkXfermode.cpp | 96 Sk4f rc = (two * d <= da).thenElse(two * s * d, in overlay_4f() 128 auto colors = (d == Sk4f(0)).thenElse(dstover, in colordodge_4f() 129 (s == sa).thenElse(srcover, in colordodge_4f() 145 auto colors = (d == da).thenElse(dstover, in colorburn_4f() 146 (s == Sk4f(0)).thenElse(srcover, in colorburn_4f() 158 Sk4f m = (da > Sk4f(0)).thenElse(d / da, Sk4f(0)); in softlight_4f() 169 Sk4f liteSrc = d * sa + da * (s2 - sa) * (Sk4f(4) * d <= da).thenElse(darkDst, in softlight_4f() 172 return color_alpha(s * ida + d * isa + (s2 <= sa).thenElse(darkSrc, liteSrc), // Case 1 or 2/3? in softlight_4f()
|
/external/skia/site/dev/contrib/ |
D | simd.md | 35 …cision reciprocal and sqrt, all the usual comparison operators, and a `.thenElse()` method acting …
|