Home
last modified time | relevance | path

Searched refs:q2 (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/src/algos/
Dquat.c41 float q2 = q->y; in quatToMatrix() local
44 float sq_q2 = 2.0f * q2 * q2; in quatToMatrix()
46 float q1_q2 = 2.0f * q1 * q2; in quatToMatrix()
49 float q2_q0 = 2.0f * q2 * q0; in quatToMatrix()
50 float q2_q3 = 2.0f * q2 * q3; in quatToMatrix()
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp1035 float q0, q1, q2, q3; in calculate_rv_4th_element() local
1038 q2 = mPendingEvents[sensors_id].data[1]; in calculate_rv_4th_element()
1041 q0 = 1 - q1*q1 - q2*q2 - q3*q3; in calculate_rv_4th_element()