/third_party/flutter/skia/include/private/ |
D | SkNx.h | 26 struct SkNx { struct 27 typedef SkNx<N/2, T> Half; argument 31 AI SkNx() = default; argument 32 AI SkNx(const Half& lo, const Half& hi) : fLo(lo), fHi(hi) {} in SkNx() argument 34 AI SkNx(T v) : fLo(v), fHi(v) {} in SkNx() function 36 AI SkNx(T a, T b) : fLo(a) , fHi(b) { static_assert(N==2, ""); } in SkNx() function 37 AI SkNx(T a, T b, T c, T d) : fLo(a,b), fHi(c,d) { static_assert(N==4, ""); } in SkNx() function 38 AI SkNx(T a, T b, T c, T d, T e, T f, T g, T h) : fLo(a,b,c,d), fHi(e,f,g,h) { in SkNx() argument 41 AI SkNx(T a, T b, T c, T d, T e, T f, T g, T h, in SkNx() function 52 AI static SkNx Load(const void* vptr) { in Load() argument [all …]
|
D | SkNx_neon.h | 31 class SkNx<2, float> { 33 AI SkNx(float32x2_t vec) : fVec(vec) {} in SkNx() function 35 AI SkNx() {} in SkNx() function 36 AI SkNx(float val) : fVec(vdup_n_f32(val)) {} in SkNx() function 37 AI SkNx(float a, float b) { fVec = (float32x2_t) { a, b }; } in SkNx() function 39 AI static SkNx Load(const void* ptr) { return vld1_f32((const float*)ptr); } in Load() 42 AI static void Load2(const void* ptr, SkNx* x, SkNx* y) { in Load2() 48 AI static void Store2(void* dst, const SkNx& a, const SkNx& b) { in Store2() 56 AI static void Store3(void* dst, const SkNx& a, const SkNx& b, const SkNx& c) { in Store3() 65 AI static void Store4(void* dst, const SkNx& a, const SkNx& b, const SkNx& c, const SkNx& d) { in Store4() [all …]
|
D | SkNx_sse.h | 38 class SkNx<2, float> { 40 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx() function 42 AI SkNx() {} in SkNx() function 43 AI SkNx(float val) : fVec(_mm_set1_ps(val)) {} in SkNx() function 44 AI static SkNx Load(const void* ptr) { in Load() 47 AI SkNx(float a, float b) : fVec(_mm_setr_ps(a,b,0,0)) {} in SkNx() function 51 AI static void Load2(const void* ptr, SkNx* x, SkNx* y) { in Load2() 53 *x = SkNx{m[0], m[2]}; in Load2() 54 *y = SkNx{m[1], m[3]}; in Load2() 57 AI static void Store2(void* dst, const SkNx& a, const SkNx& b) { in Store2() [all …]
|
/third_party/skia/include/private/ |
D | SkNx.h | 26 struct SkNx { struct 27 typedef SkNx<N/2, T> Half; argument 31 AI SkNx() = default; argument 32 AI SkNx(const Half& lo, const Half& hi) : fLo(lo), fHi(hi) {} in SkNx() argument 34 AI SkNx(T v) : fLo(v), fHi(v) {} in SkNx() function 36 AI SkNx(T a, T b) : fLo(a) , fHi(b) { static_assert(N==2, ""); } in SkNx() function 37 AI SkNx(T a, T b, T c, T d) : fLo(a,b), fHi(c,d) { static_assert(N==4, ""); } in SkNx() function 38 AI SkNx(T a, T b, T c, T d, T e, T f, T g, T h) : fLo(a,b,c,d), fHi(e,f,g,h) { in SkNx() function 41 AI SkNx(T a, T b, T c, T d, T e, T f, T g, T h, in SkNx() argument 52 AI static SkNx Load(const void* vptr) { in Load() argument [all …]
|
D | SkNx_neon.h | 31 class SkNx<2, float> { 33 AI SkNx(float32x2_t vec) : fVec(vec) {} in SkNx() function 35 AI SkNx() {} in SkNx() function 36 AI SkNx(float val) : fVec(vdup_n_f32(val)) {} in SkNx() function 37 AI SkNx(float a, float b) { fVec = (float32x2_t) { a, b }; } in SkNx() function 39 AI static SkNx Load(const void* ptr) { return vld1_f32((const float*)ptr); } in Load() 42 AI static void Load2(const void* ptr, SkNx* x, SkNx* y) { in Load2() 48 AI static void Store2(void* dst, const SkNx& a, const SkNx& b) { in Store2() 56 AI static void Store3(void* dst, const SkNx& a, const SkNx& b, const SkNx& c) { in Store3() 65 AI static void Store4(void* dst, const SkNx& a, const SkNx& b, const SkNx& c, const SkNx& d) { in Store4() [all …]
|
D | SkNx_sse.h | 38 class SkNx<2, float> { 40 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx() function 42 AI SkNx() {} in SkNx() function 43 AI SkNx(float val) : fVec(_mm_set1_ps(val)) {} in SkNx() function 44 AI static SkNx Load(const void* ptr) { in Load() 47 AI SkNx(float a, float b) : fVec(_mm_setr_ps(a,b,0,0)) {} in SkNx() function 51 AI static void Load2(const void* ptr, SkNx* x, SkNx* y) { in Load2() 53 *x = SkNx{m[0], m[2]}; in Load2() 54 *y = SkNx{m[1], m[3]}; in Load2() 57 AI static void Store2(void* dst, const SkNx& a, const SkNx& b) { in Store2() [all …]
|
D | BUILD.bazel | 24 "SkNx.h",
|
/third_party/skia/tests/ |
D | SkNxTest.cpp | 16 auto assert_nearly_eq = [&](float eps, const SkNx<N, float>& v, in test_Nf() 30 auto assert_eq = [&](const SkNx<N, float>& v, float a, float b, float c, float d) { in test_Nf() 35 SkNx<N,float> a = SkNx<N,float>::Load(vals), in test_Nf() 38 SkNx<N,float> d; in test_Nf() 51 assert_eq(SkNx<N,float>(0)-a, -3, -4, -5, -6); in test_Nf() 53 SkNx<N,float> fours(4); in test_Nf() 57 assert_eq(SkNx<N,float>::Min(a, fours), 3, 4, 4, 4); in test_Nf() 58 assert_eq(SkNx<N,float>::Max(a, fours), 4, 4, 5, 6); in test_Nf() 79 auto assert_eq = [&](const SkNx<N,T>& v, T a, T b, T c, T d, T e, T f, T g, T h) { in test_Ni() 106 SkNx<N,T> a = SkNx<N,T>::Load(vals), in test_Ni() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkNxTest.cpp | 16 auto assert_nearly_eq = [&](float eps, const SkNx<N, float>& v, in test_Nf() 30 auto assert_eq = [&](const SkNx<N, float>& v, float a, float b, float c, float d) { in test_Nf() 35 SkNx<N,float> a = SkNx<N,float>::Load(vals), in test_Nf() 38 SkNx<N,float> d; in test_Nf() 51 assert_eq(SkNx<N,float>(0)-a, -3, -4, -5, -6); in test_Nf() 53 SkNx<N,float> fours(4); in test_Nf() 60 assert_eq(SkNx<N,float>::Min(a, fours), 3, 4, 4, 4); in test_Nf() 61 assert_eq(SkNx<N,float>::Max(a, fours), 4, 4, 5, 6); in test_Nf() 82 auto assert_eq = [&](const SkNx<N,T>& v, T a, T b, T c, T d, T e, T f, T g, T h) { in test_Ni() 100 SkNx<N,T> a = SkNx<N,T>::Load(vals), in test_Ni() [all …]
|
/third_party/skia/src/opts/ |
D | SkUtils_opts.h | 24 SkNx<N,T>(value).store(buffer); in memsetT()
|
/third_party/flutter/skia/src/opts/ |
D | SkUtils_opts.h | 24 SkNx<N,T>(value).store(buffer); in memsetT()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 131 template<int N> static inline SkNx<N,float> lerp(const SkNx<N,float>& a, const SkNx<N,float>& b, in lerp() 132 const SkNx<N,float>& t) { in lerp()
|
/third_party/skia/src/core/ |
D | SkScan_Hairline.cpp | 361 typedef SkNx<2, uint32_t> Sk2x32;
|
/third_party/flutter/skia/src/core/ |
D | SkScan_Hairline.cpp | 352 typedef SkNx<2, uint32_t> Sk2x32;
|
/third_party/flutter/skia/gn/ |
D | core.gni | 456 "$_include/private/SkNx.h",
|
/third_party/skia/gn/ |
D | core.gni | 479 "$_include/private/SkNx.h",
|
/third_party/flutter/engine/flutter/ci/licenses_golden/ |
D | licenses_skia | 2715 FILE: ../../../third_party/skia/include/private/SkNx.h
|