Home
last modified time | relevance | path

Searched refs:fVec (Results 1 – 18 of 18) sorted by relevance

/external/skia/include/private/
DSkNx_neon.h33 AI SkNx(float32x2_t vec) : fVec(vec) {} in SkNx()
36 AI SkNx(float val) : fVec(vdup_n_f32(val)) {} in SkNx()
37 AI SkNx(float a, float b) { fVec = (float32x2_t) { a, b }; } in SkNx()
40 AI void store(void* ptr) const { vst1_f32((float*)ptr, fVec); } in store()
50 a.fVec, in Store2()
51 b.fVec, in Store2()
58 a.fVec, in Store3()
59 b.fVec, in Store3()
60 c.fVec, in Store3()
67 a.fVec, in Store4()
[all …]
DSkNx_sse.h40 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx()
43 AI SkNx(float val) : fVec(_mm_set1_ps(val)) {} in SkNx()
47 AI SkNx(float a, float b) : fVec(_mm_setr_ps(a,b,0,0)) {} in SkNx()
49 AI void store(void* ptr) const { _mm_storel_pi((__m64*)ptr, fVec); } in store()
58 auto vals = _mm_unpacklo_ps(a.fVec, b.fVec); in Store2()
76 AI SkNx operator - () const { return _mm_xor_ps(_mm_set1_ps(-0.0f), fVec); }
78 AI SkNx operator + (const SkNx& o) const { return _mm_add_ps(fVec, o.fVec); }
79 AI SkNx operator - (const SkNx& o) const { return _mm_sub_ps(fVec, o.fVec); }
80 AI SkNx operator * (const SkNx& o) const { return _mm_mul_ps(fVec, o.fVec); }
81 AI SkNx operator / (const SkNx& o) const { return _mm_div_ps(fVec, o.fVec); }
[all …]
DSkHalf.h47 : [hs] "w" (hs.fVec)); // w: read-only NEON register in SkHalfToFloat_finite_ftz()
66 float32x4_t vec = fs.fVec; in SkFloatToHalf_finite_ftz()
/external/skqp/include/private/
DSkNx_neon.h33 AI SkNx(float32x2_t vec) : fVec(vec) {} in SkNx()
36 AI SkNx(float val) : fVec(vdup_n_f32(val)) {} in SkNx()
37 AI SkNx(float a, float b) { fVec = (float32x2_t) { a, b }; } in SkNx()
40 AI void store(void* ptr) const { vst1_f32((float*)ptr, fVec); } in store()
50 a.fVec, in Store2()
51 b.fVec, in Store2()
58 a.fVec, in Store3()
59 b.fVec, in Store3()
60 c.fVec, in Store3()
67 a.fVec, in Store4()
[all …]
DSkNx_sse.h40 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx()
43 AI SkNx(float val) : fVec(_mm_set1_ps(val)) {} in SkNx()
47 AI SkNx(float a, float b) : fVec(_mm_setr_ps(a,b,0,0)) {} in SkNx()
49 AI void store(void* ptr) const { _mm_storel_pi((__m64*)ptr, fVec); } in store()
58 auto vals = _mm_unpacklo_ps(a.fVec, b.fVec); in Store2()
76 AI SkNx operator - () const { return _mm_xor_ps(_mm_set1_ps(-0.0f), fVec); }
78 AI SkNx operator + (const SkNx& o) const { return _mm_add_ps(fVec, o.fVec); }
79 AI SkNx operator - (const SkNx& o) const { return _mm_sub_ps(fVec, o.fVec); }
80 AI SkNx operator * (const SkNx& o) const { return _mm_mul_ps(fVec, o.fVec); }
81 AI SkNx operator / (const SkNx& o) const { return _mm_div_ps(fVec, o.fVec); }
[all …]
DSkHalf.h47 : [hs] "w" (hs.fVec)); // w: read-only NEON register in SkHalfToFloat_finite_ftz()
66 float32x4_t vec = fs.fVec; in SkFloatToHalf_finite_ftz()
/external/skqp/src/opts/
DSk4px_NEON.h11 return Sk16h(vmovl_u8(vget_low_u8 (this->fVec)), in widen()
12 vmovl_u8(vget_high_u8(this->fVec))); in widen()
16 return Sk16h(vmull_u8(vget_low_u8 (this->fVec), vget_low_u8 (other.fVec)), in mulWiden()
17 vmull_u8(vget_high_u8(this->fVec), vget_high_u8(other.fVec))); in mulWiden()
22 return Sk16b(vcombine_u8(vaddhn_u16(this->fLo.fVec, o.fLo.fVec), in addNarrowHi()
23 vaddhn_u16(this->fHi.fVec, o.fHi.fVec))); in addNarrowHi()
28 return Sk16b(vcombine_u8(vraddhn_u16(this->fLo.fVec, vrshrq_n_u16(this->fLo.fVec, 8)), in div255()
29 vraddhn_u16(this->fHi.fVec, vrshrq_n_u16(this->fHi.fVec, 8)))); in div255()
33 auto as = vshrq_n_u32((uint32x4_t)fVec, SK_A32_SHIFT); // ___3 ___2 ___1 ___0 in alphas()
DSk4px_SSE2.h11 return Sk16h(_mm_unpacklo_epi8(this->fVec, _mm_setzero_si128()), in widen()
12 _mm_unpackhi_epi8(this->fVec, _mm_setzero_si128())); in widen()
21 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec)); in addNarrowHi()
29 return Sk4px(_mm_packus_epi16(_mm_mulhi_epu16(_mm_add_epi16(fLo.fVec, _128), _257), in div255()
30 _mm_mulhi_epu16(_mm_add_epi16(fHi.fVec, _128), _257))); in div255()
40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
53 __m128i as = fVec; // 3xxx 2xxx 1xxx 0xxx in alphas()
/external/skia/src/opts/
DSk4px_NEON.h11 return Sk16h(vmovl_u8(vget_low_u8 (this->fVec)), in widen()
12 vmovl_u8(vget_high_u8(this->fVec))); in widen()
16 return Sk16h(vmull_u8(vget_low_u8 (this->fVec), vget_low_u8 (other.fVec)), in mulWiden()
17 vmull_u8(vget_high_u8(this->fVec), vget_high_u8(other.fVec))); in mulWiden()
22 return Sk16b(vcombine_u8(vaddhn_u16(this->fLo.fVec, o.fLo.fVec), in addNarrowHi()
23 vaddhn_u16(this->fHi.fVec, o.fHi.fVec))); in addNarrowHi()
28 return Sk16b(vcombine_u8(vraddhn_u16(this->fLo.fVec, vrshrq_n_u16(this->fLo.fVec, 8)), in div255()
29 vraddhn_u16(this->fHi.fVec, vrshrq_n_u16(this->fHi.fVec, 8)))); in div255()
33 auto as = vshrq_n_u32((uint32x4_t)fVec, SK_A32_SHIFT); // ___3 ___2 ___1 ___0 in alphas()
DSk4px_SSE2.h11 return Sk16h(_mm_unpacklo_epi8(this->fVec, _mm_setzero_si128()), in widen()
12 _mm_unpackhi_epi8(this->fVec, _mm_setzero_si128())); in widen()
21 return Sk4px(_mm_packus_epi16(r.fLo.fVec, r.fHi.fVec)); in addNarrowHi()
29 return Sk4px(_mm_packus_epi16(_mm_mulhi_epu16(_mm_add_epi16(fLo.fVec, _128), _257), in div255()
30 _mm_mulhi_epu16(_mm_add_epi16(fHi.fVec, _128), _257))); in div255()
40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
53 __m128i as = fVec; // 3xxx 2xxx 1xxx 0xxx in alphas()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp77 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
78 fVec = new UVector(status); in SPUStringPool()
79 if (fVec == NULL) { in SPUStringPool()
92 for (i=fVec->size()-1; i>=0; i--) { in ~SPUStringPool()
93 SPUString *s = static_cast<SPUString *>(fVec->elementAt(i)); in ~SPUStringPool()
96 delete fVec; in ~SPUStringPool()
102 return fVec->size(); in size()
106 SPUString *retString = (SPUString *)fVec->elementAt(index); in getByIndex()
133 fVec->sort(SPUStringCompare, status); in sort()
148 fVec->addElement(hashedString, status); in addString()
Duspoof_conf.h79 UVector *fVec; // Elements are SPUString *
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSpoofChecker.java1051 fVec = new Vector<>();
1056 return fVec.size();
1061 SPUString retString = fVec.elementAt(index);
1073 fVec.addElement(hashedString);
1080 Collections.sort(fVec, SPUStringComparator.INSTANCE);
1083 private Vector<SPUString> fVec; // Elements are SPUString *
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java1096 fVec = new Vector<>();
1101 return fVec.size();
1106 SPUString retString = fVec.elementAt(index);
1118 fVec.addElement(hashedString);
1125 Collections.sort(fVec, SPUStringComparator.INSTANCE);
1128 private Vector<SPUString> fVec; // Elements are SPUString *
/external/skqp/bench/
DMathBench.cpp450 SkVector fVec[ARRAY]; member in NormalizeBench
456 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench()
475 accum += fVec[i].normalize(); in onDraw()
/external/skia/bench/
DMathBench.cpp450 SkVector fVec[ARRAY]; member in NormalizeBench
456 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench()
475 accum += fVec[i].normalize(); in onDraw()
/external/skqp/src/core/
DSkCanvas.cpp1558 __m128 lLtT = _mm_unpacklo_ps(devRect.fVec, devClip.fVec); in is_nan_or_clipped()
1559 __m128 RrBb = _mm_unpackhi_ps(devClip.fVec, devRect.fVec); in is_nan_or_clipped()
1563 float32x4_t lLtT = vzipq_f32(devRect.fVec, devClip.fVec).val[0]; in is_nan_or_clipped()
1564 float32x4_t RrBb = vzipq_f32(devClip.fVec, devRect.fVec).val[1]; in is_nan_or_clipped()
/external/skia/src/core/
DSkCanvas.cpp1555 __m128 lLtT = _mm_unpacklo_ps(devRect.fVec, devClip.fVec); in is_nan_or_clipped()
1556 __m128 RrBb = _mm_unpackhi_ps(devClip.fVec, devRect.fVec); in is_nan_or_clipped()
1560 float32x4_t lLtT = vzipq_f32(devRect.fVec, devClip.fVec).val[0]; in is_nan_or_clipped()
1561 float32x4_t RrBb = vzipq_f32(devClip.fVec, devRect.fVec).val[1]; in is_nan_or_clipped()