Home
last modified time | relevance | path

Searched refs:CONSTEXPR (Results 1 – 13 of 13) 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
168 CONSTEXPR TMat44();
184 explicit CONSTEXPR TMat44(U v);
200 explicit CONSTEXPR TMat44(const TVec4<U>& v);
204 explicit CONSTEXPR TMat44(const TMat44<U>& rhs);
217CONSTEXPR TMat44(const TVec4<A>& v0, const TVec4<B>& v1, const TVec4<C>& v2, const TVec4<D>& v3);
237 CONSTEXPR TMat44(
247 explicit CONSTEXPR TMat44(const TQuaternion<U>& q);
253 explicit CONSTEXPR TMat44(U const* rawArray);
[all …]
DTVecHelpers.h31 #define CONSTEXPR constexpr macro
33 #define CONSTEXPR macro
245 CONSTEXPR VECTOR<T> operator -() const {
326 CONSTEXPR VECTOR<bool> PURE equal(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in equal()
336 CONSTEXPR VECTOR<bool> PURE notEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in notEqual()
346 CONSTEXPR VECTOR<bool> PURE lessThan(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in lessThan()
356 CONSTEXPR VECTOR<bool> PURE lessThanEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in lessThanEqual()
366 CONSTEXPR VECTOR<bool> PURE greaterThan(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in greaterThan()
376 CONSTEXPR VECTOR<bool> PURE greaterThanEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in greaterThanEqual()
403 friend inline CONSTEXPR T PURE dot(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in dot()
[all …]
Dhalf.h36 #define CONSTEXPR constexpr macro
38 #define CONSTEXPR macro
85 CONSTEXPR half(float v) noexcept : mBits(ftoh(v)) { } in half()
86 CONSTEXPR operator float() const noexcept { return htof(mBits); }
94 friend CONSTEXPR half operator"" _hf(long double v);
98 static CONSTEXPR fp16 ftoh(float v) noexcept;
99 static CONSTEXPR float htof(fp16 v) noexcept;
103 inline CONSTEXPR half::fp16 half::ftoh(float v) noexcept { in ftoh()
131 inline CONSTEXPR float half::htof(half::fp16 in) noexcept { in htof()
153 inline CONSTEXPR android::half operator"" _hf(long double v) {
[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/include/media/
DAudioResampler.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;
DAudioMixerBase.h53 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h242 static const CONSTEXPR float TONEGEN_GAIN = 0.9; // Default gain passed to WaveGenerator().
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h208 static const CONSTEXPR float ASPECT_RATIO_TOLERANCE = 0.001;