Searched defs:qProd (Results 1 - 4 of 4) sorted by relevance
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlMathFunc.c | 97 void inv_q_mult(const long *q1, const long *q2, long *qProd) argument 100 qProd[0] = (long)(((long long)q1[0] * q2[0] - (long long)q1[1] * q2[1] - 103 qProd[1] = 106 qProd[2] = 109 qProd[3] = 153 void inv_q_multf(const float *q1, const float *q2, float *qProd) argument 156 qProd[0] = (q1[0] * q2[0] - q1[1] * q2[1] - q1[2] * q2[2] - q1[3] * q2[3]); 157 qProd[1] = (q1[0] * q2[1] + q1[1] * q2[0] + q1[2] * q2[3] - q1[3] * q2[2]); 158 qProd[2] = (q1[0] * q2[2] - q1[1] * q2[3] + q1[2] * q2[0] + q1[3] * q2[1]); 159 qProd[ [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 161 * @param[out] qProd Product after quaternion multiply. Length 4. 164 void inv_q_mult(const long *q1, const long *q2, long *qProd) argument 167 qProd[0] = inv_q30_mult(q1[0], q2[0]) - inv_q30_mult(q1[1], q2[1]) - 170 qProd[1] = inv_q30_mult(q1[0], q2[1]) + inv_q30_mult(q1[1], q2[0]) + 173 qProd[2] = inv_q30_mult(q1[0], q2[2]) - inv_q30_mult(q1[1], q2[3]) + 176 qProd[3] = inv_q30_mult(q1[0], q2[3]) + inv_q30_mult(q1[1], q2[2]) - 261 void inv_q_multf(const float *q1, const float *q2, float *qProd) argument 264 qProd[0] = 266 qProd[1] = 268 qProd[ [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 161 * @param[out] qProd Product after quaternion multiply. Length 4. 164 void inv_q_mult(const long *q1, const long *q2, long *qProd) argument 167 qProd[0] = inv_q30_mult(q1[0], q2[0]) - inv_q30_mult(q1[1], q2[1]) - 170 qProd[1] = inv_q30_mult(q1[0], q2[1]) + inv_q30_mult(q1[1], q2[0]) + 173 qProd[2] = inv_q30_mult(q1[0], q2[2]) - inv_q30_mult(q1[1], q2[3]) + 176 qProd[3] = inv_q30_mult(q1[0], q2[3]) + inv_q30_mult(q1[1], q2[2]) - 261 void inv_q_multf(const float *q1, const float *q2, float *qProd) argument 264 qProd[0] = 266 qProd[1] = 268 qProd[ [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 161 * @param[out] qProd Product after quaternion multiply. Length 4. 164 void inv_q_mult(const long *q1, const long *q2, long *qProd) argument 167 qProd[0] = inv_q30_mult(q1[0], q2[0]) - inv_q30_mult(q1[1], q2[1]) - 170 qProd[1] = inv_q30_mult(q1[0], q2[1]) + inv_q30_mult(q1[1], q2[0]) + 173 qProd[2] = inv_q30_mult(q1[0], q2[2]) - inv_q30_mult(q1[1], q2[3]) + 176 qProd[3] = inv_q30_mult(q1[0], q2[3]) + inv_q30_mult(q1[1], q2[2]) - 261 void inv_q_multf(const float *q1, const float *q2, float *qProd) argument 264 qProd[0] = 266 qProd[1] = 268 qProd[ [all...] |
Completed in 308 milliseconds