/external/skqp/src/opts/ |
D | Sk4px_SSE2.h | 10 inline Sk4px::Wide Sk4px::widen() const { in widen() 15 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 16 return this->widen() * Sk4px(other).widen(); in mulWiden() 19 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 20 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi() 21 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec)); in addNarrowHi() 24 inline Sk4px Sk4px::Wide::div255() const { in div255() 29 return Sk4px(_mm_packus_epi16(_mm_mulhi_epu16(_mm_add_epi16(fLo.fVec, _128), _257), in div255() 37 inline Sk4px Sk4px::alphas() const { in alphas() 43 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() [all …]
|
D | Sk4px_none.h | 12 inline Sk4px::Wide Sk4px::widen() const { in widen() 19 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 20 return this->widen() * Sk4px(other).widen(); in mulWiden() 23 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 24 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi() 31 inline Sk4px Sk4px::Wide::div255() const { in div255() 37 inline Sk4px Sk4px::alphas() const { in alphas() 45 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() 52 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
|
D | Sk4px_NEON.h | 10 inline Sk4px::Wide Sk4px::widen() const { in widen() 15 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 20 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 21 const Sk4px::Wide o(other); // Should be no code, but allows us to access fLo, fHi. in addNarrowHi() 26 inline Sk4px Sk4px::Wide::div255() const { in div255() 32 inline Sk4px Sk4px::alphas() const { in alphas() 37 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() 47 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
|
D | SkXfermode_opts.h | 28 struct Xfermode { Sk4px operator()(const Sk4px&, const Sk4px&) const; }; \ 29 inline Sk4px Xfermode::operator()(const Sk4px& d, const Sk4px& s) const 31 XFERMODE(Clear) { return Sk4px::DupPMColor(0); } in XFERMODE() 62 static Sk4px xfer_aa(const Sk4px& d, const Sk4px& s, const Sk4px& aa) { in xfer_aa() 63 Sk4px bw = Xfermode()(d, s); in xfer_aa() 69 template <> Sk4px xfer_aa<Xfermode>(const Sk4px& d, const Sk4px& s, const Sk4px& aa) 97 Sk4px::MapDstSrc(n, dst, src, Xfermode()); in xfer32() 99 Sk4px::MapDstSrcAlpha(n, dst, src, aa, xfer_aa<Xfermode>); in xfer32()
|
D | SkBlitMask_opts.h | 161 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color)); 162 auto fn = [&](const Sk4px& d, const Sk4px& aa) { 170 Sk4px::MapDstAlpha(w, dst, mask, fn); 181 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color)); 182 auto fn = [&](const Sk4px& d, const Sk4px& aa) { 190 Sk4px::MapDstAlpha(w, dst, mask, fn); 200 auto fn = [](const Sk4px& d, const Sk4px& aa) { 206 return Sk4px(Sk16b(aa) & Sk16b(0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255)) 210 Sk4px::MapDstAlpha(w, dst, mask, fn);
|
/external/skia/src/opts/ |
D | Sk4px_SSE2.h | 10 inline Sk4px::Wide Sk4px::widen() const { in widen() 15 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 16 return this->widen() * Sk4px(other).widen(); in mulWiden() 19 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 20 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi() 21 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec)); in addNarrowHi() 24 inline Sk4px Sk4px::Wide::div255() const { in div255() 29 return Sk4px(_mm_packus_epi16(_mm_mulhi_epu16(_mm_add_epi16(fLo.fVec, _128), _257), in div255() 37 inline Sk4px Sk4px::alphas() const { in alphas() 43 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() [all …]
|
D | Sk4px_none.h | 12 inline Sk4px::Wide Sk4px::widen() const { in widen() 19 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 20 return this->widen() * Sk4px(other).widen(); in mulWiden() 23 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 24 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi() 31 inline Sk4px Sk4px::Wide::div255() const { in div255() 37 inline Sk4px Sk4px::alphas() const { in alphas() 45 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() 52 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
|
D | Sk4px_NEON.h | 10 inline Sk4px::Wide Sk4px::widen() const { in widen() 15 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 20 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi() 21 const Sk4px::Wide o(other); // Should be no code, but allows us to access fLo, fHi. in addNarrowHi() 26 inline Sk4px Sk4px::Wide::div255() const { in div255() 32 inline Sk4px Sk4px::alphas() const { in alphas() 37 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas() 47 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
|
D | SkXfermode_opts.h | 28 struct Xfermode { Sk4px operator()(const Sk4px&, const Sk4px&) const; }; \ 29 inline Sk4px Xfermode::operator()(const Sk4px& d, const Sk4px& s) const 31 XFERMODE(Clear) { return Sk4px::DupPMColor(0); } in XFERMODE() 62 static Sk4px xfer_aa(const Sk4px& d, const Sk4px& s, const Sk4px& aa) { in xfer_aa() 63 Sk4px bw = Xfermode()(d, s); in xfer_aa() 69 template <> Sk4px xfer_aa<Xfermode>(const Sk4px& d, const Sk4px& s, const Sk4px& aa) 97 Sk4px::MapDstSrc(n, dst, src, Xfermode()); in xfer32() 99 Sk4px::MapDstSrcAlpha(n, dst, src, aa, xfer_aa<Xfermode>); in xfer32()
|
D | SkBlitMask_opts.h | 161 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color)); 162 auto fn = [&](const Sk4px& d, const Sk4px& aa) { 170 Sk4px::MapDstAlpha(w, dst, mask, fn); 181 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color)); 182 auto fn = [&](const Sk4px& d, const Sk4px& aa) { 190 Sk4px::MapDstAlpha(w, dst, mask, fn); 200 auto fn = [](const Sk4px& d, const Sk4px& aa) { 206 return Sk4px(Sk16b(aa) & Sk16b(0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255)) 210 Sk4px::MapDstAlpha(w, dst, mask, fn);
|
/external/skia/src/core/ |
D | Sk4px.h | 23 class Sk4px : public Sk16b { 25 Sk4px(const Sk16b& v) : INHERITED(v) {} in Sk4px() function 27 static Sk4px DupPMColor(SkPMColor c) { in DupPMColor() 30 Sk4px v; in DupPMColor() 35 Sk4px alphas() const; // ARGB argb XYZW xyzw -> AAAA aaaa XXXX xxxx 36 Sk4px inv() const { return Sk16b(255) - *this; } in inv() 39 static Sk4px Load4(const SkPMColor px[4]) { in Load4() 40 Sk4px v; in Load4() 44 static Sk4px Load2(const SkPMColor px[2]) { in Load2() 45 Sk4px v; in Load2() [all …]
|
/external/skqp/src/core/ |
D | Sk4px.h | 23 class Sk4px : public Sk16b { 25 Sk4px(const Sk16b& v) : INHERITED(v) {} in Sk4px() function 27 static Sk4px DupPMColor(SkPMColor c) { in DupPMColor() 30 Sk4px v; in DupPMColor() 35 Sk4px alphas() const; // ARGB argb XYZW xyzw -> AAAA aaaa XXXX xxxx 36 Sk4px inv() const { return Sk16b(255) - *this; } in inv() 39 static Sk4px Load4(const SkPMColor px[4]) { in Load4() 40 Sk4px v; in Load4() 44 static Sk4px Load2(const SkPMColor px[2]) { in Load2() 45 Sk4px v; in Load2() [all …]
|
D | SkBlitRow_D32.cpp | 319 Sk16h colorHighAndRound = (Sk4px::DupPMColor(color).widen() << 8) + Sk16h(128); in Color32() 322 Sk4px::MapSrc(count, dst, src, [&](const Sk4px& src4) -> Sk4px { in Color32()
|
D | SkBlitter_ARGB32.cpp | 1165 Sk4px::MapDstSrcAlpha(n, dst, src, mask, [](const Sk4px& d, const Sk4px& s, const Sk4px& aa) { in blend_row_A8() 1183 Sk4px::MapDstSrcAlpha(n, dst, src, mask, [](const Sk4px& d, const Sk4px& s, const Sk4px& aa) { in blend_row_A8_opaque()
|
/external/skia/tests/ |
D | SkNxTest.cpp | 188 Sk4px av = Sk16b(a), in DEF_TEST()
|
/external/skqp/tests/ |
D | SkNxTest.cpp | 188 Sk4px av = Sk16b(a), in DEF_TEST()
|
/external/skia/gn/ |
D | core.gni | 103 "$_src/core/Sk4px.h",
|
/external/skqp/gn/ |
D | core.gni | 16 "$_src/core/Sk4px.h",
|