/device/google/contexthub/firmware/os/algos/common/math/ |
D | vec.h | 49 struct Vec3 { struct 58 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument 66 static inline void vec3Add(struct Vec3 *v, const struct Vec3 *w) { in vec3Add() 75 static inline void vec3AddVecs(struct Vec3 *u, const struct Vec3 *v, in vec3AddVecs() 76 const struct Vec3 *w) { in vec3AddVecs() 86 static inline void vec3Sub(struct Vec3 *v, const struct Vec3 *w) { in vec3Sub() 95 static inline void vec3SubVecs(struct Vec3 *u, const struct Vec3 *v, in vec3SubVecs() 96 const struct Vec3 *w) { in vec3SubVecs() 106 static inline void vec3ScalarMul(struct Vec3 *v, float c) { in vec3ScalarMul() 114 static inline float vec3Dot(const struct Vec3 *v, const struct Vec3 *w) { in vec3Dot() [all …]
|
D | mat.h | 73 void initMatrixColumns(struct Mat33 *A, const struct Vec3 *v1, 74 const struct Vec3 *v2, const struct Vec3 *v3); 78 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v); 127 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals,
|
D | mat.c | 63 void initMatrixColumns(struct Mat33 *A, const struct Vec3 *v1, in initMatrixColumns() 64 const struct Vec3 *v2, const struct Vec3 *v3) { in initMatrixColumns() 82 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v) { in mat33Apply() 305 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, in mat33GetEigenbasis()
|
D | kasa.c | 84 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius, in kasaFit() 120 struct Vec3 v; in kasaFit()
|
D | kasa.h | 48 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius,
|
/device/google/contexthub/firmware/os/algos/ |
D | fusion.c | 137 static int fusion_init_complete(struct Fusion *fusion, int what, const struct Vec3 *d, float dT) { in fusion_init_complete() 148 struct Vec3 unityD = *d; in fusion_init_complete() 162 struct Vec3 unityD = *d; in fusion_init_complete() 176 struct Vec3 scaledD = *d; in fusion_init_complete() 200 struct Vec3 up = fusion->mData[0]; in fusion_init_complete() 202 struct Vec3 east; in fusion_init_complete() 210 struct Vec3 north; in fusion_init_complete() 233 static void matrixCross(struct Mat33 *out, struct Vec3 *p, float diag) { in matrixCross() 261 static void fusionPredict(struct Fusion *fusion, const struct Vec3 *w) { in fusionPredict() 265 struct Vec3 b = fusion->x1; in fusionPredict() [all …]
|
/device/google/contexthub/firmware/os/inc/algos/ |
D | fusion.h | 42 struct Vec3 x1; 48 struct Vec3 Ba, Bm; 51 struct Vec3 mData[3]; 77 void fusionHandleGyro(struct Fusion *fusion, const struct Vec3 *w, float dT); 78 int fusionHandleAcc(struct Fusion *fusion, const struct Vec3 *a, float dT); 79 int fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT); 85 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias);
|
/device/generic/vulkan-cereal/third-party/glm/include/glm/simd/ |
D | matrix.h | 321 __m128 Vec3 = _mm_shuffle_ps(Temp3, Temp3, _MM_SHUFFLE(2, 2, 2, 0)); in glm_mat4_determinant_highp() local 330 __m128 Mul02 = _mm_mul_ps(Vec3, Fac2); in glm_mat4_determinant_highp() 342 __m128 Mul05 = _mm_mul_ps(Vec3, Fac4); in glm_mat4_determinant_highp() 354 __m128 Mul08 = _mm_mul_ps(Vec3, Fac5); in glm_mat4_determinant_highp() 661 __m128 Vec3 = _mm_shuffle_ps(Temp3, Temp3, _MM_SHUFFLE(2, 2, 2, 0)); in glm_mat4_inverse() local 670 __m128 Mul02 = _mm_mul_ps(Vec3, Fac2); in glm_mat4_inverse() 682 __m128 Mul05 = _mm_mul_ps(Vec3, Fac4); in glm_mat4_inverse() 694 __m128 Mul08 = _mm_mul_ps(Vec3, Fac5); in glm_mat4_inverse() 882 __m128 Vec3 = _mm_shuffle_ps(Temp3, Temp3, _MM_SHUFFLE(2, 2, 2, 0)); in glm_mat4_inverse_lowp() local 891 __m128 Mul02 = _mm_mul_ps(Vec3, Fac2); in glm_mat4_inverse_lowp() [all …]
|
/device/generic/vulkan-cereal/third-party/glm/include/glm/detail/ |
D | func_matrix.inl | 335 tvec4<T, P> Vec3(m[1][3], m[0][3], m[0][3], m[0][3]); local 337 tvec4<T, P> Inv0(Vec1 * Fac0 - Vec2 * Fac1 + Vec3 * Fac2); 338 tvec4<T, P> Inv1(Vec0 * Fac0 - Vec2 * Fac3 + Vec3 * Fac4); 339 tvec4<T, P> Inv2(Vec0 * Fac1 - Vec1 * Fac3 + Vec3 * Fac5);
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 63 struct Vec3 eigenvals; in moc_eigen_test() 162 struct Vec3 bias; in magCalUpdate()
|
/device/google/cuttlefish/guest/commands/sensor_injection/ |
D | main.cpp | 85 Event::EventPayload::Vec3 vec3; in InjectOrientation()
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 346 struct Vec3 g, a; in updateOutput() 449 struct Vec3 a, w, m; in drainSamples()
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 395 struct Vec3 eigenvals; in accEigenTest() 497 struct Vec3 bias; in accelCalRun()
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 127 ahs10::Vec3* vec3 = &payload->vec3; in parseQemuSensorEventLocked()
|