Searched refs:grav (Results 1 – 5 of 5) sorted by relevance
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 39 float inv_compass_angle(const long *compass, const long *grav, const float *quat) in inv_compass_angle() argument 46 cgcross[1] = (float)compass[1] * grav[2] - (float)compass[2] * grav[1]; in inv_compass_angle() 47 cgcross[2] = (float)compass[2] * grav[0] - (float)compass[0] * grav[2]; in inv_compass_angle() 48 cgcross[3] = (float)compass[0] * grav[1] - (float)compass[1] * grav[0]; in inv_compass_angle() 697 void inv_get_cross_product_vec(float *cgcross, float compass[3], float grav[3]) { in inv_get_cross_product_vec() 699 cgcross[0] = (float)compass[1] * grav[2] - (float)compass[2] * grav[1]; in inv_get_cross_product_vec() 700 cgcross[1] = (float)compass[2] * grav[0] - (float)compass[0] * grav[2]; in inv_get_cross_product_vec() 701 cgcross[2] = (float)compass[0] * grav[1] - (float)compass[1] * grav[0]; in inv_get_cross_product_vec()
|
D | ml_math_func.h | 100 float inv_compass_angle(const long *compass, const long *grav, 115 void inv_get_cross_product_vec(float *cgcross, float compass[3], float grav[3]);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 39 float inv_compass_angle(const long *compass, const long *grav, const float *quat) in inv_compass_angle() argument 46 cgcross[1] = (float)compass[1] * grav[2] - (float)compass[2] * grav[1]; in inv_compass_angle() 47 cgcross[2] = (float)compass[2] * grav[0] - (float)compass[0] * grav[2]; in inv_compass_angle() 48 cgcross[3] = (float)compass[0] * grav[1] - (float)compass[1] * grav[0]; in inv_compass_angle() 697 void inv_get_cross_product_vec(float *cgcross, float compass[3], float grav[3]) { in inv_get_cross_product_vec() 699 cgcross[0] = (float)compass[1] * grav[2] - (float)compass[2] * grav[1]; in inv_get_cross_product_vec() 700 cgcross[1] = (float)compass[2] * grav[0] - (float)compass[0] * grav[2]; in inv_get_cross_product_vec() 701 cgcross[2] = (float)compass[0] * grav[1] - (float)compass[1] * grav[0]; in inv_get_cross_product_vec()
|
D | ml_math_func.h | 100 float inv_compass_angle(const long *compass, const long *grav, 115 void inv_get_cross_product_vec(float *cgcross, float compass[3], float grav[3]);
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlFIFO.c | 1763 long grav[3]; in inv_get_linear_accel() local 1770 result = inv_get_gravity(grav); in inv_get_linear_accel() 1786 x = la[kk] - grav[kk]; in inv_get_linear_accel() 1795 data[kk] = la[kk] - grav[kk] - fifo_obj.acc_bias_filt[kk]; in inv_get_linear_accel()
|