Searched refs:Sk16b (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/opts/ |
D | Sk4px_NEON.h | 10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b((uint8x16_t)vdupq_n_u32(px)); } in DupPMColor() 13 return Sk16b((uint8x16_t)vld1q_u32(px)); in Load4() 17 return Sk16b((uint8x16_t)vcombine_u32(px2, px2)); in Load2() 20 return Sk16b((uint8x16_t)vdupq_n_u32(*px)); in Load1() 49 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 56 return Sk16b(vcombine_u8(vaddhn_u16(this->fLo.fVec, o.fLo.fVec), in addNarrowHi() 62 return Sk16b(vcombine_u8(vraddhn_u16(this->fLo.fVec, vrshrq_n_u16(this->fLo.fVec, 8)), in div255() 68 return Sk16b((uint8x16_t)vmulq_n_u32(as, 0x01010101)); // 3333 2222 1111 0000 in alphas() 78 return Sk16b((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // 3333 2222 1111 0000 in Load4Alphas() 86 return Sk16b((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // ____ ____ 1111 0000 in Load2Alphas() [all …]
|
D | Sk4px_none.h | 15 Sk4px px4 = Sk16b(); in DupPMColor() 21 Sk4px px4 = Sk16b(); in Load4() 27 Sk4px px2 = Sk16b(); in Load2() 33 Sk4px px1 = Sk16b(); in Load1() 53 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 59 return Sk16b(r[ 0], r[ 1], r[ 2], r[ 3], in addNarrowHi() 73 return Sk16b((*this)[ 3], (*this)[ 3], (*this)[ 3], (*this)[ 3], in alphas() 80 return Sk16b(a[0], a[0], a[0], a[0], in Load4Alphas() 87 return Sk16b(a[0], a[0], a[0], a[0], in Load2Alphas() 95 return Sk16b((*this)[ 0], (*this)[ 1], (*this)[ 2], 0, in zeroAlphas() [all …]
|
D | Sk4px_SSE2.h | 10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b(_mm_set1_epi32(px)); } in DupPMColor() 13 return Sk16b(_mm_loadu_si128((const __m128i*)px)); in Load4() 16 return Sk16b(_mm_loadl_epi64((const __m128i*)px)); in Load2() 18 inline Sk4px Sk4px::Load1(const SkPMColor px[1]) { return Sk16b(_mm_cvtsi32_si128(*px)); } in Load1() 39 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden() 64 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas() 70 return Sk16b(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat)); in Load4Alphas() 79 return Sk16b(as); in alphas() 86 return Sk16b(as); in Load4Alphas() 96 return Sk16b(_mm_and_si128(_mm_set1_epi32(0xFF << SK_A32_SHIFT), this->fVec)); in zeroColors() [all …]
|
D | SkBlitRow_opts.h | 26 Sk16b invA_16x(invA); in blit_row_color32()
|
/external/skia/src/core/ |
D | Sk4px.h | 23 class Sk4px : public Sk16b { 25 static Sk4px DupAlpha(SkAlpha a) { return Sk16b(a); } // a -> aaaa aaaa aaaa aaaa in DupAlpha() 28 Sk4px(const Sk16b& v) : INHERITED(v) {} in Sk4px() 36 Sk4px inv() const { return Sk16b(255) - *this; } in inv() 79 Wide mulWiden(const Sk16b&) const; // 8-bit x 8-bit -> 16-bit components. 92 Sk4px approxMulDiv255(const Sk16b& o) const { in approxMulDiv255() 224 typedef Sk16b INHERITED;
|
D | SkNx.h | 194 typedef SkNx<16, uint8_t> Sk16b; typedef
|
/external/skia/tests/ |
D | SkNxTest.cpp | 138 Sk16b aw(a), bw(b); in DEF_TEST() 139 REPORTER_ASSERT(r, Sk16b::Min(aw, bw)[0] == SkTMin(a, b)); in DEF_TEST() 166 REPORTER_ASSERT(r, Sk16b(a).saturatedAdd(Sk16b(b))[0] == exact); in DEF_TEST()
|
/external/skia/site/dev/contrib/ |
D | simd.md | 60 `SkPx`, our latest approach (there have been alpha `Sk16b` and beta `Sk4px` predecessors) to 8- and…
|