Home
last modified time | relevance | path

Searched refs:tvec4 (Results 1 – 25 of 79) sorted by relevance

1234

/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_vec4.hpp19 struct tvec4 struct
24 typedef tvec4<T, P> type; argument
25 typedef tvec4<bool, P> bool_type; argument
58 _GLM_SWIZZLE4_4_MEMBERS(T, P, glm::tvec4, x, y, z, w) argument
59 _GLM_SWIZZLE4_4_MEMBERS(T, P, glm::tvec4, r, g, b, a)
60 _GLM_SWIZZLE4_4_MEMBERS(T, P, glm::tvec4, s, t, p, q)
77 GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P, tvec4, tvec2, tvec3, tvec4)
92 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4() GLM_DEFAULT_CTOR;
93 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(tvec4<T, P> const& v) GLM_DEFAULT;
95 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(tvec4<T, Q> const& v);
[all …]
Dfunc_common_simd.inl14 struct compute_abs_vector<float, P, tvec4, true>
16 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
18 tvec4<float, P> result(uninitialize);
25 struct compute_abs_vector<int, P, tvec4, true>
27 GLM_FUNC_QUALIFIER static tvec4<int, P> call(tvec4<int, P> const & v)
29 tvec4<int, P> result(uninitialize);
36 struct compute_floor<float, P, tvec4, true>
38 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
40 tvec4<float, P> result(uninitialize);
47 struct compute_ceil<float, P, tvec4, true>
[all …]
Dtype_vec4.inl40 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const & a, tvec4<T, P> const & b)
42 return tvec4<T, P>(a.x + b.x, a.y + b.y, a.z + b.z, a.w + b.w);
49 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const & a, tvec4<T, P> const & b)
51 return tvec4<T, P>(a.x - b.x, a.y - b.y, a.z - b.z, a.w - b.w);
58 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const & a, tvec4<T, P> const & b)
60 return tvec4<T, P>(a.x * b.x, a.y * b.y, a.z * b.z, a.w * b.w);
67 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const & a, tvec4<T, P> const & b)
69 return tvec4<T, P>(a.x / b.x, a.y / b.y, a.z / b.z, a.w / b.w);
76 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const & a, tvec4<T, P> const & b)
78 return tvec4<T, P>(a.x % b.x, a.y % b.y, a.z % b.z, a.w % b.w);
[all …]
Dtype_vec4_simd.inl11 struct _swizzle_base1<4, float, P, glm::tvec4, E0,E1,E2,E3, true> : public _swizzle_base0<float, 4>
13 GLM_FUNC_QUALIFIER tvec4<float, P> operator ()() const
17 tvec4<float, P> Result(uninitialize);
28 struct _swizzle_base1<4, int32, P, glm::tvec4, E0,E1,E2,E3, true> : public _swizzle_base0<int32, 4>
30 GLM_FUNC_QUALIFIER tvec4<int32, P> operator ()() const
34 tvec4<int32, P> Result(uninitialize);
41 …struct _swizzle_base1<4, uint32, P, glm::tvec4, E0,E1,E2,E3, true> : public _swizzle_base0<uint32,…
43 GLM_FUNC_QUALIFIER tvec4<uint32, P> operator ()() const
47 tvec4<uint32, P> Result(uninitialize);
57 static tvec4<float, P> call(tvec4<float, P> const & a, tvec4<float, P> const & b)
[all …]
Dfunc_geometric_simd.inl12 struct compute_length<tvec4, float, P, true>
14 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const & v)
21 struct compute_distance<tvec4, float, P, true>
23 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const & p0, tvec4<float, P> const & p1)
30 struct compute_dot<tvec4, float, P, true>
32 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const& x, tvec4<float, P> const& y)
47 tvec4<float, P> result(uninitialize);
54 struct compute_normalize<float, P, tvec4, true>
56 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
58 tvec4<float, P> result(uninitialize);
[all …]
Dglm.cpp113 template struct tvec4<uint8, lowp>; variable
114 template struct tvec4<uint16, lowp>; variable
115 template struct tvec4<uint32, lowp>; variable
116 template struct tvec4<uint64, lowp>; variable
117 template struct tvec4<int8, lowp>; variable
118 template struct tvec4<int16, lowp>; variable
119 template struct tvec4<int32, lowp>; variable
120 template struct tvec4<int64, lowp>; variable
121 template struct tvec4<float32, lowp>; variable
122 template struct tvec4<float64, lowp>; variable
[all …]
Dtype_vec.hpp107 template <typename T, precision P> struct tvec4;
349 typedef tvec4<float, highp> highp_vec4;
355 typedef tvec4<float, mediump> mediump_vec4;
361 typedef tvec4<float, lowp> lowp_vec4;
367 typedef tvec4<double, highp> highp_dvec4;
373 typedef tvec4<double, mediump> mediump_dvec4;
379 typedef tvec4<double, lowp> lowp_dvec4;
385 typedef tvec4<int, highp> highp_ivec4;
391 typedef tvec4<int, mediump> mediump_ivec4;
397 typedef tvec4<int, lowp> lowp_ivec4;
[all …]
Dfunc_exponential_simd.inl12 struct compute_sqrt<tvec4, float, P, true>
14 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
16 tvec4<float, P> result(uninitialize);
23 struct compute_sqrt<tvec4, float, aligned_lowp, true>
25 GLM_FUNC_QUALIFIER static tvec4<float, aligned_lowp> call(tvec4<float, aligned_lowp> const & v)
27 tvec4<float, aligned_lowp> result(uninitialize);
Dfunc_matrix_simd.inl64 …aligned_lowp> outerProduct<float, aligned_lowp, tvec4, tvec4>(tvec4<float, aligned_lowp> const & c…
72 …mediump> outerProduct<float, aligned_mediump, tvec4, tvec4>(tvec4<float, aligned_mediump> const & …
80 …gned_highp> outerProduct<float, aligned_highp, tvec4, tvec4>(tvec4<float, aligned_highp> const & c…
D_vectorize.hpp45 struct functor1<R, T, P, tvec4>
47 GLM_FUNC_QUALIFIER static tvec4<R, P> call(R (*Func) (T x), tvec4<T, P> const & v) in call()
49 return tvec4<R, P>(Func(v.x), Func(v.y), Func(v.z), Func(v.w)); in call()
84 struct functor2<T, P, tvec4>
86 …GLM_FUNC_QUALIFIER static tvec4<T, P> call(T (*Func) (T x, T y), tvec4<T, P> const & a, tvec4<T, P… in call()
88 return tvec4<T, P>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z), Func(a.w, b.w)); in call()
123 struct functor2_vec_sca<T, P, tvec4>
125 GLM_FUNC_QUALIFIER static tvec4<T, P> call(T (*Func) (T x, T y), tvec4<T, P> const & a, T b) in call()
127 return tvec4<T, P>(Func(a.x, b), Func(a.y, b), Func(a.z, b), Func(a.w, b)); in call()
Dfunc_integer_simd.inl12 struct compute_bitfieldReverseStep<uint32, P, tvec4, true, true>
14 …GLM_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Sh…
33 struct compute_bitfieldBitCountStep<uint32, P, tvec4, true, true>
35 …GLM_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Sh…
D_noise.hpp39 GLM_FUNC_QUALIFIER tvec4<T, P> permute(tvec4<T, P> const & x) in permute()
69 GLM_FUNC_QUALIFIER tvec4<T, P> taylorInvSqrt(tvec4<T, P> const & r) in taylorInvSqrt()
94 GLM_FUNC_QUALIFIER tvec4<T, P> fade(tvec4<T, P> const & t) in fade()
Dfunc_matrix.hpp50 struct outerProduct_trait<T, P, tvec2, tvec4>
68 struct outerProduct_trait<T, P, tvec3, tvec4>
74 struct outerProduct_trait<T, P, tvec4, tvec2>
80 struct outerProduct_trait<T, P, tvec4, tvec3>
86 struct outerProduct_trait<T, P, tvec4, tvec4>
Dfunc_matrix.inl237 tvec4<T, P> DetCof(
325 tvec4<T, P> Fac0(Coef00, Coef00, Coef02, Coef03);
326 tvec4<T, P> Fac1(Coef04, Coef04, Coef06, Coef07);
327 tvec4<T, P> Fac2(Coef08, Coef08, Coef10, Coef11);
328 tvec4<T, P> Fac3(Coef12, Coef12, Coef14, Coef15);
329 tvec4<T, P> Fac4(Coef16, Coef16, Coef18, Coef19);
330 tvec4<T, P> Fac5(Coef20, Coef20, Coef22, Coef23);
332 tvec4<T, P> Vec0(m[1][0], m[0][0], m[0][0], m[0][0]);
333 tvec4<T, P> Vec1(m[1][1], m[0][1], m[0][1], m[0][1]);
334 tvec4<T, P> Vec2(m[1][2], m[0][2], m[0][2], m[0][2]);
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dnoise.inl13 GLM_FUNC_QUALIFIER tvec4<T, P> grad4(T const & j, tvec4<T, P> const & ip)
17 tvec4<T, P> s = tvec4<T, P>(lessThan(tvec4<T, P>(pXYZ, pW), tvec4<T, P>(0.0)));
19 return tvec4<T, P>(pXYZ, pW);
27tvec4<T, P> Pi = glm::floor(tvec4<T, P>(Position.x, Position.y, Position.x, Position.y)) + tvec4<T…
28tvec4<T, P> Pf = glm::fract(tvec4<T, P>(Position.x, Position.y, Position.x, Position.y)) - tvec4<T…
29 Pi = mod(Pi, tvec4<T, P>(289)); // To avoid truncation effects in permutation
30 tvec4<T, P> ix(Pi.x, Pi.z, Pi.x, Pi.z);
31 tvec4<T, P> iy(Pi.y, Pi.y, Pi.w, Pi.w);
32 tvec4<T, P> fx(Pf.x, Pf.z, Pf.x, Pf.z);
33 tvec4<T, P> fy(Pf.y, Pf.y, Pf.w, Pf.w);
[all …]
Dtype_aligned.hpp31 template <typename T, precision P> struct tvec4;
193 typedef tvec4<float, aligned_highp> aligned_highp_vec4;
196 typedef tvec4<float, aligned_mediump> aligned_mediump_vec4;
199 typedef tvec4<float, aligned_lowp> aligned_lowp_vec4;
202 typedef tvec4<double, aligned_highp> aligned_highp_dvec4;
205 typedef tvec4<double, aligned_mediump> aligned_mediump_dvec4;
208 typedef tvec4<double, aligned_lowp> aligned_lowp_dvec4;
211 typedef tvec4<int, aligned_highp> aligned_highp_ivec4;
214 typedef tvec4<int, aligned_mediump> aligned_mediump_ivec4;
217 typedef tvec4<int, aligned_lowp> aligned_lowp_ivec4;
[all …]
Dcolor_space.inl22 struct compute_rgbToSrgb<T, P, tvec4>
24 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const& ColorRGB, T GammaCorrection)
26 …return tvec4<T, P>(compute_rgbToSrgb<T, P, tvec3>::call(tvec3<T, P>(ColorRGB), GammaCorrection), C…
43 struct compute_srgbToRgb<T, P, tvec4>
45 GLM_FUNC_QUALIFIER static tvec4<T, P> call(tvec4<T, P> const& ColorSRGB, T Gamma)
47 …return tvec4<T, P>(compute_srgbToRgb<T, P, tvec3>::call(tvec3<T, P>(ColorSRGB), Gamma), ColorSRGB.…
Dtype_precision.hpp263 typedef tvec4<i8, defaultp> i8vec4;
280 typedef tvec4<i16, defaultp> i16vec4;
297 typedef tvec4<i32, defaultp> i32vec4;
314 typedef tvec4<i64, defaultp> i64vec4;
535 typedef tvec4<u8, defaultp> u8vec4;
552 typedef tvec4<u16, defaultp> u16vec4;
569 typedef tvec4<u32, defaultp> u32vec4;
586 typedef tvec4<u64, defaultp> u64vec4;
633 typedef tvec4<float, defaultp> fvec4;
650 typedef tvec4<f32, defaultp> f32vec4;
[all …]
Dquaternion.hpp157 GLM_FUNC_DECL tvec4<T, P> operator*(tquat<T, P> const & q, tvec4<T, P> const & v);
160 GLM_FUNC_DECL tvec4<T, P> operator*(tvec4<T, P> const & v, tquat<T, P> const & q);
330 GLM_FUNC_DECL tvec4<bool, P> lessThan(tquat<T, P> const & x, tquat<T, P> const & y);
338 GLM_FUNC_DECL tvec4<bool, P> lessThanEqual(tquat<T, P> const & x, tquat<T, P> const & y);
346 GLM_FUNC_DECL tvec4<bool, P> greaterThan(tquat<T, P> const & x, tquat<T, P> const & y);
354 GLM_FUNC_DECL tvec4<bool, P> greaterThanEqual(tquat<T, P> const & x, tquat<T, P> const & y);
362 GLM_FUNC_DECL tvec4<bool, P> equal(tquat<T, P> const & x, tquat<T, P> const & y);
370 GLM_FUNC_DECL tvec4<bool, P> notEqual(tquat<T, P> const & x, tquat<T, P> const & y);
382 GLM_FUNC_DECL tvec4<bool, P> isnan(tquat<T, P> const & x);
392 GLM_FUNC_DECL tvec4<bool, P> isinf(tquat<T, P> const & x);
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcompatibility.hpp42 …plate <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const tv… in lerp()
45 …name T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& … in lerp()
50 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> saturate(const tvec4<T, P>& x){r… in saturate()
55 …plate <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> atan2(const tvec4<T, P>& x, const t… in atan2()
61 …template <typename T, precision P> GLM_FUNC_DECL tvec4<bool, P> isfinite(const tvec4<T, P>& x); …
66 …typedef tvec4<bool, highp> bool4; //!< \brief boolean type with 4 components. (From GLM_GTX_co…
82 …typedef tvec4<int, highp> int4; //!< \brief integer vector with 4 components. (From GLM_GTX_co…
98 …typedef tvec4<float, highp> float4; //!< \brief single-precision floating-point vector with 4 c…
114 …typedef tvec4<double, highp> double4; //!< \brief double-precision floating-point vector with 4 …
Drotate_vector.hpp60 GLM_FUNC_DECL tvec4<T, P> rotate(
61 tvec4<T, P> const & v,
89 GLM_FUNC_DECL tvec4<T, P> rotateX(
90 tvec4<T, P> const & v,
96 GLM_FUNC_DECL tvec4<T, P> rotateY(
97 tvec4<T, P> const & v,
103 GLM_FUNC_DECL tvec4<T, P> rotateZ(
104 tvec4<T, P> const & v,
Dmatrix_major_storage.hpp59 tvec4<T, P> const & v1,
60 tvec4<T, P> const & v2,
61 tvec4<T, P> const & v3,
62 tvec4<T, P> const & v4);
101 tvec4<T, P> const & v1,
102 tvec4<T, P> const & v2,
103 tvec4<T, P> const & v3,
104 tvec4<T, P> const & v4);
Drotate_vector.inl67 GLM_FUNC_QUALIFIER tvec4<T, P> rotate
69 tvec4<T, P> const & v,
126 GLM_FUNC_QUALIFIER tvec4<T, P> rotateX
128 tvec4<T, P> const & v,
132 tvec4<T, P> Result = v;
142 GLM_FUNC_QUALIFIER tvec4<T, P> rotateY
144 tvec4<T, P> const & v,
148 tvec4<T, P> Result = v;
158 GLM_FUNC_QUALIFIER tvec4<T, P> rotateZ
160 tvec4<T, P> const & v,
[all …]
Dvector_query.inl31 struct compute_areCollinear<T, P, tvec4>
33 …GLM_FUNC_QUALIFIER static bool call(tvec4<T, P> const & v0, tvec4<T, P> const & v1, T const & epsi…
66 struct compute_isCompNull<T, P, tvec4>
68 GLM_FUNC_QUALIFIER static tvec4<bool, P> call(tvec4<T, P> const & v, T const & epsilon)
70 return tvec4<bool, P>(
169 GLM_FUNC_QUALIFIER tvec4<bool, P> isCompNull
171 tvec4<T, P> const & v,
175 return tvec4<bool, P>(
/external/oboe/samples/RhythmGame/third_party/glm/
Dfwd.hpp315 typedef tvec4<i8, lowp> lowp_i8vec4;
332 typedef tvec4<i8, mediump> mediump_i8vec4;
349 typedef tvec4<i8, highp> highp_i8vec4;
394 typedef tvec4<i16, lowp> lowp_i16vec4;
411 typedef tvec4<i16, mediump> mediump_i16vec4;
428 typedef tvec4<i16, highp> highp_i16vec4;
474 typedef tvec4<i32, lowp> lowp_i32vec4;
491 typedef tvec4<i32, mediump> mediump_i32vec4;
508 typedef tvec4<i32, highp> highp_i32vec4;
553 typedef tvec4<i32, lowp> lowp_i32vec4;
[all …]

1234