Home | History | Annotate | Download | only in opts

Lines Matching defs:Sk4px

8 inline Sk4px::Sk4px(SkPMColor px) : INHERITED(_mm_set1_epi32(px)) {}
10 inline Sk4px Sk4px::Load4(const SkPMColor px[4]) {
13 inline Sk4px Sk4px::Load2(const SkPMColor px[2]) {
16 inline Sk4px Sk4px::Load1(const SkPMColor px[1]) { return Sk16b(_mm_cvtsi32_si128(*px)); }
18 inline void Sk4px::store4(SkPMColor px[4]) const { _mm_storeu_si128((__m128i*)px, this->fVec); }
19 inline void Sk4px::store2(SkPMColor px[2]) const { _mm_storel_epi64((__m128i*)px, this->fVec); }
20 inline void Sk4px::store1(SkPMColor px[1]) const { *px = _mm_cvtsi128_si32(this->fVec); }
22 inline Sk4px::Wide Sk4px::widenLo() const {
27 inline Sk4px::Wide Sk4px::widenHi() const {
32 inline Sk4px::Wide Sk4px::mulWiden(const Sk16b& other) const {
33 return this->widenLo() * Sk4px(other).widenLo();
36 inline Sk4px Sk4px::Wide::addNarrowHi(const Sk16h& other) const {
37 Sk4px::Wide r = (*this + other) >> 8;
38 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec));
45 inline Sk4px Sk4px::alphas() const {
51 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) {
57 inline Sk4px Sk4px::alphas() const {
65 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) {
75 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) {
80 inline Sk4px Sk4px::zeroColors() const {
84 inline Sk4px Sk4px::zeroAlphas() const {