Lines Matching defs:SkNx
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
62 AI static void Load4(const void* vptr, SkNx* a, SkNx* b, SkNx* c, SkNx* d) { in Load4() argument
73 AI static void Load3(const void* vptr, SkNx* a, SkNx* b, SkNx* c) { in Load3() argument
83 AI static void Load2(const void* vptr, SkNx* a, SkNx* b) { in Load2() argument
92 AI static void Store4(void* vptr, const SkNx& a, const SkNx& b, const SkNx& c, const SkNx& d) { in Store4() argument
97 AI static void Store3(void* vptr, const SkNx& a, const SkNx& b, const SkNx& c) { in Store3() argument
102 AI static void Store2(void* vptr, const SkNx& a, const SkNx& b) { in Store2() argument
113 AI SkNx abs() const { return { fLo. abs(), fHi. abs() }; } in abs() argument
114 AI SkNx sqrt() const { return { fLo. sqrt(), fHi. sqrt() }; } in sqrt() argument
115 AI SkNx floor() const { return { fLo. floor(), fHi. floor() }; } in floor() argument
140 AI SkNx saturatedAdd(const SkNx& y) const { in saturatedAdd() argument
144 AI SkNx mulHi(const SkNx& m) const { in mulHi() argument
147 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() argument
150 AI static SkNx Min(const SkNx& x, const SkNx& y) { in Min() argument
153 AI static SkNx Max(const SkNx& x, const SkNx& y) { in Max() argument