HomeSort by relevance Sort by last modified time
    Searched full:sk16b (Results 1 - 10 of 10) sorted by null

  /external/skia/src/opts/
Sk4px_NEON.h 10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b((uint8x16_t)vdupq_n_u32(px)); }
13 return Sk16b((uint8x16_t)vld1q_u32(px));
17 return Sk16b((uint8x16_t)vcombine_u32(px2, px2));
20 return Sk16b((uint8x16_t)vdupq_n_u32(*px));
49 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const {
56 return Sk16b(vcombine_u8(vaddhn_u16(this->fLo.fVec, o.fLo.fVec),
62 return Sk16b(vcombine_u8(vraddhn_u16(this->fLo.fVec, vrshrq_n_u16(this->fLo.fVec, 8)),
68 return Sk16b((uint8x16_t)vmulq_n_u32(as, 0x01010101)); // 3333 2222 1111 0000
78 return Sk16b((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // 3333 2222 1111 0000
86 return Sk16b((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // ____ ____ 1111 000
    [all...]
Sk4px_SSE2.h 10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b(_mm_set1_epi32(px)); }
13 return Sk16b(_mm_loadu_si128((const __m128i*)px));
16 return Sk16b(_mm_loadl_epi64((const __m128i*)px));
18 inline Sk4px Sk4px::Load1(const SkPMColor px[1]) { return Sk16b(_mm_cvtsi32_si128(*px)); }
39 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const {
64 return Sk16b(_mm_shuffle_epi8(this->fVec, splat));
70 return Sk16b(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat));
79 return Sk16b(as);
86 return Sk16b(as);
96 return Sk16b(_mm_and_si128(_mm_set1_epi32(0xFF << SK_A32_SHIFT), this->fVec))
    [all...]
Sk4px_none.h 15 Sk4px px4 = Sk16b();
21 Sk4px px4 = Sk16b();
27 Sk4px px2 = Sk16b();
33 Sk4px px1 = Sk16b();
53 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const {
59 return Sk16b(r[ 0], r[ 1], r[ 2], r[ 3],
73 return Sk16b((*this)[ 3], (*this)[ 3], (*this)[ 3], (*this)[ 3],
80 return Sk16b(a[0], a[0], a[0], a[0],
87 return Sk16b(a[0], a[0], a[0], a[0],
95 return Sk16b((*this)[ 0], (*this)[ 1], (*this)[ 2], 0
    [all...]
SkBlitRow_opts.h 33 Sk16b invA_16x(invA);
SkNx_neon.h 531 template<> AI /*static*/ Sk16b SkNx_cast<uint8_t, float>(const Sk16f& src) {
SkNx_sse.h 571 template<> AI /*static*/ Sk16b SkNx_cast<uint8_t, float>(const Sk16f& src) {
  /external/skia/src/core/
Sk4px.h 23 class Sk4px : public Sk16b {
25 static Sk4px DupAlpha(SkAlpha a) { return Sk16b(a); } // a -> aaaa aaaa aaaa aaaa
28 Sk4px(const Sk16b& v) : INHERITED(v) {}
36 Sk4px inv() const { return Sk16b(255) - *this; }
79 Wide mulWiden(const Sk16b&) const; // 8-bit x 8-bit -> 16-bit components.
92 Sk4px approxMulDiv255(const Sk16b& o) const {
224 typedef Sk16b INHERITED;
SkNx.h 351 typedef SkNx<16, uint8_t> Sk16b;
  /external/skia/tests/
SkNxTest.cpp 135 Sk16b aw(a), bw(b);
136 REPORTER_ASSERT(r, Sk16b::Min(aw, bw)[0] == SkTMin(a, b));
163 REPORTER_ASSERT(r, Sk16b(a).saturatedAdd(Sk16b(b))[0] == exact);
  /external/skia/site/dev/contrib/
simd.md 60 `SkPx`, our latest approach (there have been alpha `Sk16b` and beta `Sk4px` predecessors) to 8- and 16-bit SIMD tries to abstract over those idioms to again allow Skia developers to write one piece of clear graphics code that different backends can translate into their native intrinsics idiomatically.

Completed in 1172 milliseconds