Home
last modified time | relevance | path

Searched refs:CONSTEXPR (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/math/include/math/
Dmat2.h27 #define CONSTEXPR constexpr macro
29 #define CONSTEXPR macro
155 CONSTEXPR TMat22();
170 explicit CONSTEXPR TMat22(U v);
185 explicit CONSTEXPR TMat22(const TVec2<U>& v);
191 explicit CONSTEXPR TMat22(const TMat22<U>& rhs);
205 CONSTEXPR TMat22(const TVec2<A>& v0, const TVec2<B>& v1);
221 CONSTEXPR TMat22(A m00, B m01, C m10, D m11);
227 explicit CONSTEXPR TMat22(U const* rawArray);
232 static CONSTEXPR TMat22<T> rotate(T radian) { in rotate()
[all …]
Dmat3.h28 #define CONSTEXPR constexpr macro
30 #define CONSTEXPR macro
164 CONSTEXPR TMat33();
180 explicit CONSTEXPR TMat33(U v);
196 explicit CONSTEXPR TMat33(const TVec3<U>& v);
202 explicit CONSTEXPR TMat33(const TMat33<U>& rhs);
216 CONSTEXPR TMat33(const TVec3<A>& v0, const TVec3<B>& v1, const TVec3<C>& v2);
234 CONSTEXPR TMat33(
243 explicit CONSTEXPR TMat33(const TQuaternion<U>& q);
249 explicit CONSTEXPR TMat33(U const* rawArray);
[all …]
Dmat4.h32 #define CONSTEXPR constexpr macro
34 #define CONSTEXPR macro
176 CONSTEXPR TMat44();
192 explicit CONSTEXPR TMat44(U v);
208 explicit CONSTEXPR TMat44(const TVec4<U>& v);
212 explicit CONSTEXPR TMat44(const TMat44<U>& rhs);
225CONSTEXPR TMat44(const TVec4<A>& v0, const TVec4<B>& v1, const TVec4<C>& v2, const TVec4<D>& v3);
245 CONSTEXPR TMat44(
255 explicit CONSTEXPR TMat44(const TQuaternion<U>& q);
261 explicit CONSTEXPR TMat44(U const* rawArray);
[all …]
Dhalf.h37 #define CONSTEXPR constexpr macro
39 #define CONSTEXPR macro
86 CONSTEXPR half() noexcept { } in half()
87 CONSTEXPR half(float v) noexcept : mBits(ftoh(v)) { } in half()
88 CONSTEXPR operator float() const noexcept { return htof(mBits); }
96 friend CONSTEXPR half operator"" _hf(long double v);
100 static CONSTEXPR fp16 ftoh(float v) noexcept;
101 static CONSTEXPR float htof(fp16 v) noexcept;
105 inline CONSTEXPR half::fp16 half::ftoh(float v) noexcept { in ftoh()
133 inline CONSTEXPR float half::htof(half::fp16 in) noexcept { in htof()
[all …]
DTVecHelpers.h33 #define CONSTEXPR constexpr macro
35 #define CONSTEXPR macro
247 CONSTEXPR VECTOR<T> operator -() const {
339 CONSTEXPR VECTOR<bool> PURE equal(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in equal()
349 CONSTEXPR VECTOR<bool> PURE notEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in notEqual()
359 CONSTEXPR VECTOR<bool> PURE lessThan(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in lessThan()
369 CONSTEXPR VECTOR<bool> PURE lessThanEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in lessThanEqual()
379 CONSTEXPR VECTOR<bool> PURE greaterThan(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in greaterThan()
389 CONSTEXPR VECTOR<bool> PURE greaterThanEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in greaterThanEqual()
416 friend inline CONSTEXPR T PURE dot(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in dot()
[all …]
DTMatHelpers.h47 #define CONSTEXPR constexpr macro
49 #define CONSTEXPR macro
130 CONSTEXPR MATRIX PURE fastInverse2(const MATRIX& x) { in fastInverse2()
164 CONSTEXPR MATRIX PURE fastInverse3(const MATRIX& x) { in fastInverse3()
242 CONSTEXPR MATRIX_R PURE multiply(const MATRIX_A& lhs, const MATRIX_B& rhs) { in multiply()
264 CONSTEXPR MATRIX PURE transpose(const MATRIX& m) { in transpose()
278 CONSTEXPR typename MATRIX::value_type PURE trace(const MATRIX& m) { in trace()
289 CONSTEXPR typename MATRIX::col_type PURE diag(const MATRIX& m) { in diag()
399 friend CONSTEXPR BASE<T> PURE operator *(const BASE<T>& lhs, const BASE<U>& rhs) {
429 friend inline CONSTEXPR BASE<T> PURE inverse(const BASE<T>& matrix) { in inverse()
[all …]
/frameworks/av/cmds/stagefright/
DSineSource.h28 static const CONSTEXPR double kFrequency = 500.0;
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h192 static const CONSTEXPR double value = I0Term<N-1>::value / (4. * N * N);
197 static const CONSTEXPR double value = 1.;
202 static const CONSTEXPR double value = I0ATerm<N-1>::value * (2.*N-1.) * (2.*N-1.) / (8. * N);
207 static const CONSTEXPR double value =
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;
DAudioMixerBase.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h260 static const CONSTEXPR float TONEGEN_GAIN = 0.9; // Default gain passed to WaveGenerator().
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h211 static const CONSTEXPR float ASPECT_RATIO_TOLERANCE = 0.01;