Searched refs:gam_quat (Results 1 – 2 of 2) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | results_holder.c | 34 long gam_quat[4]; member 68 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat)); in inv_store_gaming_quaternion() 264 inv_q29_mult(rh.gam_quat[1], rh.gam_quat[3]) - inv_q29_mult(rh.gam_quat[2], rh.gam_quat[0]); in inv_get_gravity_6x() 266 inv_q29_mult(rh.gam_quat[2], rh.gam_quat[3]) + inv_q29_mult(rh.gam_quat[1], rh.gam_quat[0]); in inv_get_gravity_6x() 268 … (inv_q29_mult(rh.gam_quat[3], rh.gam_quat[3]) + inv_q29_mult(rh.gam_quat[0], rh.gam_quat[0])) - in inv_get_gravity_6x() 278 memcpy(data, rh.gam_quat, sizeof(rh.gam_quat)); in inv_get_6axis_quaternion() 290 inv_q_mult(rh.compass_correction, rh.gam_quat, rh.nav_quat); in inv_get_quaternion() 381 rh.gam_quat[0] = 1L<<30; in inv_init_results_holder()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | results_holder.c | 30 long gam_quat[4]; member 70 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat)); in inv_store_gaming_quaternion() 283 inv_q29_mult(rh.gam_quat[1], rh.gam_quat[3]) - inv_q29_mult(rh.gam_quat[2], rh.gam_quat[0]); in inv_get_gravity_6x() 285 inv_q29_mult(rh.gam_quat[2], rh.gam_quat[3]) + inv_q29_mult(rh.gam_quat[1], rh.gam_quat[0]); in inv_get_gravity_6x() 287 … (inv_q29_mult(rh.gam_quat[3], rh.gam_quat[3]) + inv_q29_mult(rh.gam_quat[0], rh.gam_quat[0])) - in inv_get_gravity_6x() 479 rh.gam_quat[0] = 1L<<30; in inv_init_results_holder()
|