Home
last modified time | relevance | path

Searched +full:1 +full:p (Results 1 – 25 of 752) sorted by relevance

12345678910>>...31

/device/generic/vulkan-cereal/include/glm/detail/
Dtype_mat2x2.inl11 template <typename T, precision P>
12 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2()
15 this->value[0] = col_type(1, 0);
16 this->value[1] = col_type(0, 1);
22 template <typename T, precision P>
23 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, P> const & m)
26 this->value[1] = m.value[1];
30 template <typename T, precision P>
32 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, Q> const & m)
35 this->value[1] = m.value[1];
[all …]
Dtype_mat2x4.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4()
13 this->value[0] = col_type(1, 0, 0, 0);
14 this->value[1] = col_type(0, 1, 0, 0);
20 template <typename T, precision P>
21 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x4<T, P> const & m)
24 this->value[1] = m.value[1];
28 template <typename T, precision P>
30 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x4<T, Q> const & m)
33 this->value[1] = m.value[1];
[all …]
Dtype_mat2x3.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3()
13 this->value[0] = col_type(1, 0, 0);
14 this->value[1] = col_type(0, 1, 0);
20 template <typename T, precision P>
21 GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3(tmat2x3<T, P> const & m)
24 this->value[1] = m.value[1];
28 template <typename T, precision P>
30 GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3(tmat2x3<T, Q> const & m)
33 this->value[1] = m.value[1];
[all …]
Dtype_mat3x3.inl11 template <typename T, precision P>
12 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3()
15 this->value[0] = col_type(1, 0, 0);
16 this->value[1] = col_type(0, 1, 0);
17 this->value[2] = col_type(0, 0, 1);
23 template <typename T, precision P>
24 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3(tmat3x3<T, P> const & m)
27 this->value[1] = m.value[1];
32 template <typename T, precision P>
34 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3(tmat3x3<T, Q> const & m)
[all …]
Dtype_mat3x2.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2()
13 this->value[0] = col_type(1, 0);
14 this->value[1] = col_type(0, 1);
21 template <typename T, precision P>
22 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2(tmat3x2<T, P> const & m)
25 this->value[1] = m.value[1];
30 template <typename T, precision P>
32 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2(tmat3x2<T, Q> const & m)
35 this->value[1] = m.value[1];
[all …]
Dtype_mat4x2.inl7 template<typename T, precision P>
8 const tmat4x2<T, P> tmat4x2<T, P>::ZERO(static_cast<T>(0));
10 template<typename T, precision P>
11 const tmat4x2<T, P> tmat4x2<T, P>::IDENTITY(static_cast<T>(1));
16 template <typename T, precision P>
17 GLM_FUNC_QUALIFIER tmat4x2<T, P>::tmat4x2()
20 this->value[0] = col_type(1, 0);
21 this->value[1] = col_type(0, 1);
29 template <typename T, precision P>
30 GLM_FUNC_QUALIFIER tmat4x2<T, P>::tmat4x2(tmat4x2<T, P> const & m)
[all …]
D_swizzle.hpp18 // The size 1 buffer is assumed to aligned to the actual members so that the
20 char _buffer[1];
23 …template <int N, typename T, precision P, template <typename, precision> class vecType, int E0, in…
28 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, b…
29 struct _swizzle_base1<2, T, P, vecType, E0,E1,-1,-2, Aligned> : public _swizzle_base0<T, 2>
31 …GLM_FUNC_QUALIFIER vecType<T, P> operator ()() const { return vecType<T, P>(this->elem(E0), this-… in operator ()()
34 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, i…
35 struct _swizzle_base1<3, T, P, vecType, E0,E1,E2,-1, Aligned> : public _swizzle_base0<T, 3>
37 …GLM_FUNC_QUALIFIER vecType<T, P> operator ()() const { return vecType<T, P>(this->elem(E0), this-… in operator ()()
40 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, i…
[all …]
Dtype_mat3x4.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4()
13 this->value[0] = col_type(1, 0, 0, 0);
14 this->value[1] = col_type(0, 1, 0, 0);
15 this->value[2] = col_type(0, 0, 1, 0);
21 template <typename T, precision P>
22 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4(tmat3x4<T, P> const & m)
25 this->value[1] = m.value[1];
30 template <typename T, precision P>
32 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4(tmat3x4<T, Q> const & m)
[all …]
Dtype_mat4x3.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3()
13 this->value[0] = col_type(1, 0, 0);
14 this->value[1] = col_type(0, 1, 0);
15 this->value[2] = col_type(0, 0, 1);
22 template <typename T, precision P>
23 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, P> const & m)
26 this->value[1] = m.value[1];
32 template <typename T, precision P>
34 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, Q> const & m)
[all …]
Dtype_mat4x4.inl11 template <typename T, precision P>
12 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4()
15 this->value[0] = col_type(1, 0, 0, 0);
16 this->value[1] = col_type(0, 1, 0, 0);
17 this->value[2] = col_type(0, 0, 1, 0);
18 this->value[3] = col_type(0, 0, 0, 1);
24 template <typename T, precision P>
25 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(tmat4x4<T, P> const & m)
28 this->value[1] = m[1];
34 template <typename T, precision P>
[all …]
Dfunc_matrix.inl10 template <template <typename, precision> class matType, typename T, precision P, bool Aligned>
13 GLM_FUNC_QUALIFIER static matType<T, P> call(matType<T, P> const& x, matType<T, P> const& y)
15 matType<T, P> result(uninitialize);
22 template <template <class, precision> class matType, typename T, precision P, bool Aligned>
25 template <typename T, precision P, bool Aligned>
26 struct compute_transpose<tmat2x2, T, P, Aligned>
28 GLM_FUNC_QUALIFIER static tmat2x2<T, P> call(tmat2x2<T, P> const & m)
30 tmat2x2<T, P> result(uninitialize);
32 result[0][1] = m[1][0];
33 result[1][0] = m[0][1];
[all …]
Dtype_vec4.hpp18 template <typename T, precision P = defaultp>
24 typedef tvec4<T, P> type;
25 typedef tvec4<bool, P> bool_type;
47 struct { T s, t, p, q; }; member
49 typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<P>::value>::type data;
52 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, x, y, z, w)
53 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, r, g, b, a)
54 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, s, t, p, q)
55 _GLM_SWIZZLE4_3_MEMBERS(T, P, glm::tvec3, x, y, z, w)
56 _GLM_SWIZZLE4_3_MEMBERS(T, P, glm::tvec3, r, g, b, a)
[all …]
/device/generic/vulkan-cereal/include/glm/gtx/
Dmatrix_major_storage.inl6 template <typename T, precision P>
7 GLM_FUNC_QUALIFIER tmat2x2<T, P> rowMajor2
9 tvec2<T, P> const & v1,
10 tvec2<T, P> const & v2
13 tmat2x2<T, P> Result;
15 Result[1][0] = v1.y;
16 Result[0][1] = v2.x;
17 Result[1][1] = v2.y;
21 template <typename T, precision P>
22 GLM_FUNC_QUALIFIER tmat2x2<T, P> rowMajor2(
[all …]
Dmatrix_operation.inl6 template <typename T, precision P>
7 GLM_FUNC_QUALIFIER tmat2x2<T, P> diagonal2x2
9 tvec2<T, P> const & v
12 tmat2x2<T, P> Result(static_cast<T>(1));
14 Result[1][1] = v[1];
18 template <typename T, precision P>
19 GLM_FUNC_QUALIFIER tmat2x3<T, P> diagonal2x3
21 tvec2<T, P> const & v
24 tmat2x3<T, P> Result(static_cast<T>(1));
26 Result[1][1] = v[1];
[all …]
Dtransform2.inl6 template <typename T, precision P>
7 GLM_FUNC_QUALIFIER tmat3x3<T, P> shearX2D(tmat3x3<T, P> const& m, T s)
9 tmat3x3<T, P> r(1);
10 r[1][0] = s;
14 template <typename T, precision P>
15 GLM_FUNC_QUALIFIER tmat3x3<T, P> shearY2D(tmat3x3<T, P> const& m, T s)
17 tmat3x3<T, P> r(1);
18 r[0][1] = s;
22 template <typename T, precision P>
23 GLM_FUNC_QUALIFIER tmat4x4<T, P> shearX3D(tmat4x4<T, P> const& m, T s, T t)
[all …]
Ddual_quaternion.inl11 template <typename T, precision P>
12 …GLM_FUNC_QUALIFIER typename tdualquat<T, P>::part_type & tdualquat<T, P>::operator[](typename tdua…
18 template <typename T, precision P>
19 …LM_FUNC_QUALIFIER typename tdualquat<T, P>::part_type const & tdualquat<T, P>::operator[](typename…
28 template <typename T, precision P>
29 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat()
31 : real(tquat<T, P>())
32 , dual(tquat<T, P>(0, 0, 0, 0))
38 template <typename T, precision P>
39 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tdualquat<T, P> const & d)
[all …]
Dquaternion.inl9 template <typename T, precision P>
10 GLM_FUNC_QUALIFIER tvec3<T, P> cross(tvec3<T, P> const& v, tquat<T, P> const& q)
15 template <typename T, precision P>
16 GLM_FUNC_QUALIFIER tvec3<T, P> cross(tquat<T, P> const& q, tvec3<T, P> const& v)
21 template <typename T, precision P>
22 GLM_FUNC_QUALIFIER tquat<T, P> squad
24 tquat<T, P> const & q1,
25 tquat<T, P> const & q2,
26 tquat<T, P> const & s1,
27 tquat<T, P> const & s2,
[all …]
Dmatrix_transform_2d.inl10 template <typename T, precision P>
11 GLM_FUNC_QUALIFIER tmat3x3<T, P> translate(
12 tmat3x3<T, P> const & m,
13 tvec2<T, P> const & v)
15 tmat3x3<T, P> Result(m);
16 Result[2] = m[0] * v[0] + m[1] * v[1] + m[2];
21 template <typename T, precision P>
22 GLM_FUNC_QUALIFIER tmat3x3<T, P> rotate(
23 tmat3x3<T, P> const & m,
30 tmat3x3<T, P> Result(uninitialize);
[all …]
/device/generic/vulkan-cereal/include/glm/gtc/
Dquaternion.inl12 template <typename T, precision P, bool Aligned>
13 struct compute_dot<tquat, T, P, Aligned>
15 static GLM_FUNC_QUALIFIER T call(tquat<T, P> const& x, tquat<T, P> const& y)
17 tvec4<T, P> tmp(x.x * y.x, x.y * y.y, x.z * y.z, x.w * y.w);
22 template <typename T, precision P, bool Aligned>
25 static tquat<T, P> call(tquat<T, P> const& q, tquat<T, P> const& p)
27 return tquat<T, P>(q.w + p.w, q.x + p.x, q.y + p.y, q.z + p.z);
31 template <typename T, precision P, bool Aligned>
34 static tquat<T, P> call(tquat<T, P> const& q, tquat<T, P> const& p)
36 return tquat<T, P>(q.w - p.w, q.x - p.x, q.y - p.y, q.z - p.z);
[all …]
Dquaternion_simd.inl10 template <precision P>
11 struct compute_quat_mul<float, P, true>
13 static tquat<float, P> call(tquat<float, P> const& q1, tquat<float, P> const& q2)
18 …__m128 const mul0 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(0, 1, 2, 3)));
19 …__m128 const mul1 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(1, 0, 3, 2)));
20 …__m128 const mul2 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(2, 3, 0, 1)));
31 __m128 const add4 = _mm_add_ss(add0, _mm_shuffle_ps(add0, add0, 1));
35 __m128 const add5 = _mm_add_ss(add1, _mm_shuffle_ps(add1, add1, 1));
39 __m128 const add6 = _mm_add_ss(add2, _mm_shuffle_ps(add2, add2, 1));
43 __m128 const add7 = _mm_add_ss(add3, _mm_shuffle_ps(add3, add3, 1));
[all …]
/device/ti/beagle_x15/gpu/
Dlibsrv_init.so ... P Hh @ P Hh P Hh " P @! P @ P Hv @ ' Hv 1 ' Hv # P B ...
/device/google/crosshatch/json-c/
Dprintbuf.c31 static int printbuf_extend(struct printbuf *p, int min_size);
35 struct printbuf *p; in printbuf_new() local
37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new()
38 if(!p) return NULL; in printbuf_new()
39 p->size = 32; in printbuf_new()
40 p->bpos = 0; in printbuf_new()
41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new()
42 free(p); in printbuf_new()
45 return p; in printbuf_new()
50 * Extend the buffer p so it has a size of at least min_size.
[all …]
/device/google/coral/json-c/
Dprintbuf.c31 static int printbuf_extend(struct printbuf *p, int min_size);
35 struct printbuf *p; in printbuf_new() local
37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new()
38 if(!p) return NULL; in printbuf_new()
39 p->size = 32; in printbuf_new()
40 p->bpos = 0; in printbuf_new()
41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new()
42 free(p); in printbuf_new()
45 return p; in printbuf_new()
50 * Extend the buffer p so it has a size of at least min_size.
[all …]
/device/google/bonito/json-c/
Dprintbuf.c31 static int printbuf_extend(struct printbuf *p, int min_size);
35 struct printbuf *p; in printbuf_new() local
37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new()
38 if(!p) return NULL; in printbuf_new()
39 p->size = 32; in printbuf_new()
40 p->bpos = 0; in printbuf_new()
41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new()
42 free(p); in printbuf_new()
45 return p; in printbuf_new()
50 * Extend the buffer p so it has a size of at least min_size.
[all …]
/device/google/sunfish/json-c/
Dprintbuf.c31 static int printbuf_extend(struct printbuf *p, int min_size);
35 struct printbuf *p; in printbuf_new() local
37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new()
38 if(!p) return NULL; in printbuf_new()
39 p->size = 32; in printbuf_new()
40 p->bpos = 0; in printbuf_new()
41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new()
42 free(p); in printbuf_new()
45 return p; in printbuf_new()
50 * Extend the buffer p so it has a size of at least min_size.
[all …]

12345678910>>...31