Lines Matching defs:SkNx
24 struct SkNx { struct
25 typedef SkNx<N/2, T> Half; argument
29 AI SkNx() = default; argument
30 AI SkNx(const Half& lo, const Half& hi) : fLo(lo), fHi(hi) {} in SkNx() function
32 AI SkNx(T v) : fLo(v), fHi(v) {} in SkNx() argument
34 AI SkNx(T a, T b) : fLo(a) , fHi(b) { static_assert(N==2, ""); } in SkNx() function
35 AI SkNx(T a, T b, T c, T d) : fLo(a,b), fHi(c,d) { static_assert(N==4, ""); } in SkNx() function
36 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
39 AI SkNx(T a, T b, T c, T d, T e, T f, T g, T h, in SkNx() function
50 AI static SkNx Load(const void* vptr) { in Load() argument
60 AI static void Load4(const void* vptr, SkNx* a, SkNx* b, SkNx* c, SkNx* d) { in Load4() argument
71 AI static void Load3(const void* vptr, SkNx* a, SkNx* b, SkNx* c) { in Load3() argument
81 AI static void Store4(void* vptr, const SkNx& a, const SkNx& b, const SkNx& c, const SkNx& d) { in Store4() argument
90 AI SkNx abs() const { return { fLo. abs(), fHi. abs() }; } in abs() argument
91 AI SkNx sqrt() const { return { fLo. sqrt(), fHi. sqrt() }; } in sqrt() argument
92 AI SkNx rsqrt() const { return { fLo. rsqrt(), fHi. rsqrt() }; } in rsqrt() argument
93 AI SkNx floor() const { return { fLo. floor(), fHi. floor() }; } in floor() argument
94 AI SkNx invert() const { return { fLo.invert(), fHi.invert() }; } in invert() argument
119 AI SkNx saturatedAdd(const SkNx& y) const { in saturatedAdd() argument
122 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() argument
126 AI static SkNx Min(const SkNx& x, const SkNx& y) { in Min() argument
129 AI static SkNx Max(const SkNx& x, const SkNx& y) { in Max() argument