Lines Matching refs:Sk4px

10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b(_mm_set1_epi32(px)); }  in DupPMColor()
12 inline Sk4px Sk4px::Load4(const SkPMColor px[4]) { in Load4()
15 inline Sk4px Sk4px::Load2(const SkPMColor px[2]) { in Load2()
18 inline Sk4px Sk4px::Load1(const SkPMColor px[1]) { return Sk16b(_mm_cvtsi32_si128(*px)); } in Load1()
20 inline void Sk4px::store4(SkPMColor px[4]) const { _mm_storeu_si128((__m128i*)px, this->fVec); } in store4()
21 inline void Sk4px::store2(SkPMColor px[2]) const { _mm_storel_epi64((__m128i*)px, this->fVec); } in store2()
22 inline void Sk4px::store1(SkPMColor px[1]) const { *px = _mm_cvtsi128_si32(this->fVec); } in store1()
24 inline Sk4px::Wide Sk4px::widenLo() const { in widenLo()
29 inline Sk4px::Wide Sk4px::widenHi() const { in widenHi()
34 inline Sk4px::Wide Sk4px::widenLoHi() const { in widenLoHi()
39 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const { in mulWiden()
40 return this->widenLo() * Sk4px(other).widenLo(); in mulWiden()
43 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const { in addNarrowHi()
44 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi()
45 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec)); in addNarrowHi()
48 inline Sk4px Sk4px::Wide::div255() const { in div255()
53 return Sk4px(_mm_packus_epi16(_mm_mulhi_epu16(_mm_add_epi16(fLo.fVec, _128), _257), in div255()
61 inline Sk4px Sk4px::alphas() const { in alphas()
67 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
73 inline Sk4px Sk4px::alphas() const { in alphas()
82 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
90 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
95 inline Sk4px Sk4px::zeroColors() const { in zeroColors()
99 inline Sk4px Sk4px::zeroAlphas() const { in zeroAlphas()