/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
quaternion_supervisor.h | 23 void inv_set_quaternion(long *quat);
|
mag_disturb.h | 20 int inv_check_magnetic_disturbance(unsigned long delta_time, const long *quat,
|
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
quaternion_supervisor.h | 23 void inv_set_quaternion(long *quat);
|
mag_disturb.h | 19 int inv_check_magnetic_disturbance(unsigned long delta_time, const long *quat,
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
quat.js | 28 * @name quat 30 var quat = {}; variable 33 * Creates a new identity quat 35 * @returns {quat} a new quaternion 37 quat.create = function() { 52 * @param {quat} out the receiving quaternion. 55 * @returns {quat} out 57 quat.rotationTo = (function() { 69 quat.setAxisAngle(out, tmpvec3, Math.PI); 83 return quat.normalize(out, out) [all...] |
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/ |
quat-spec.js | 21 describe("quat", function() { 24 var quat = require("../../src/gl-matrix/quat.js"); 42 result = quat.slerp(out, [0, 0, 0, 1], [0, 1, 0, 0], 0.5); 46 it("should calculate proper quat", function() { 53 result = quat.slerp(out, [0, 0, 0, 1], [0, 0, 0, 1], 0.5); 57 it("should calculate proper quat", function() { 64 quat.rotateX(quatA, [1,0,0,0], Math.PI); // 180 deg 65 result = quat.slerp(out, [1,0,0,0], quatA, 1); 68 it("should calculate proper quat", function() [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
datalogger_outputs.c | 31 long quat[4]; member in struct:datalogger_output_s 178 q00 = inv_q29_mult(dl_out.quat[0], dl_out.quat[0]); 179 q12 = inv_q29_mult(dl_out.quat[1], dl_out.quat[2]); 180 q22 = inv_q29_mult(dl_out.quat[2], dl_out.quat[2]); 181 q03 = inv_q29_mult(dl_out.quat[0], dl_out.quat[3]); 254 values[0] = dl_out.quat[0] / 1073741824.f [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
matrix-interpolation.js | 43 function composeMatrix(translate, scale, skew, quat, perspective) { 56 var x = quat[0], y = quat[1], z = quat[2], w = quat[3]; 108 function quat(fromQ, toQ, f) { function 112 var quat = []; 114 quat = fromQ; 120 quat.push(fromQ[i] * (Math.cos(f * theta) - product * w) + 124 return quat; [all...] |
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/ |
gl-matrix.js | 34 exports.quat = require("./gl-matrix/quat.js");
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.h | 28 void convert_long_to_hex_char(long* quat, unsigned char* hex, int numElement);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 36 * @param[in] quat Quaternion, Length 4 39 float inv_compass_angle(const long *compass, const long *grav, const float *quat) 51 inv_q_multf(quat, cgcross, q1); 52 inv_q_invertf(quat, qi); 234 double quaternion_to_rotation_angle(const long *quat) { 235 double quat0 = (double )quat[0] / 1073741824; 339 * @param[in] quat 4-element quaternion in fixed point. One is 2^30. 346 void inv_quaternion_to_rotation(const long *quat, long *rot) 349 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0] [all...] |
results_holder.h | 62 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp); 63 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp); 64 void inv_store_nav_quaternion(const float *quat, inv_time_t timestamp); 65 void inv_store_game_quaternion(const float *quat, inv_time_t timestamp); 66 void inv_store_geomag_quaternion(const float *quat, inv_time_t timestamp);
|
data_builder.c | 336 case 0: // Quat 337 *ts = sensors.quat.timestamp; 339 if (sensors.quat.timestamp_prev != sensors.quat.timestamp) 370 * Priority is 9-axis quat, 6-axis quat, 3-axis quat, gyro, compass, accel on ties. 379 if ((sensors.quat.status & (INV_QUAT_9AXIS | INV_SENSOR_ON)) == (INV_QUAT_9AXIS | INV_SENSOR_ON)) { 381 *ts = sensors.quat.timestamp; 383 if (sensors.quat.timestamp_prev != sensors.quat.timestamp [all...] |
ml_math_func.h | 80 void inv_quaternion_to_rotation(const long *quat, long *rot); 92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot); 101 const float *quat); 109 double quaternion_to_rotation_angle(const long *quat);
|
results_holder.c | 64 * @param[in] quat Length 4, Quaternion scaled by 2^30
67 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp)
70 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat));
76 * @param[in] quat Length 4 in floating-point numbers
79 void inv_store_nav_quaternion(const float *quat, inv_time_t timestamp)
81 memcpy(&rh.nav_quat, quat, sizeof(rh.nav_quat));
87 * @param[in] quat Length 4 in floating-point numbers
90 void inv_store_geomag_quaternion(const float *quat, inv_time_t timestamp)
92 memcpy(&rh.geomag_quat, quat, sizeof(rh.geomag_quat));
98 * @param[in] quat Length 4 in floating-point numbers [all...] |
hal_outputs.c | 48 int accuracy_quat; /**< quat Accuracy */ 590 hal_out.quat_status = sensor_cal->quat.status; 607 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { 608 sr = sensor_cal->quat.sample_rate_ms; 622 if (sensor_cal->quat.timestamp_prev == sensor_cal->quat.timestamp) { 627 if (sensor_cal->quat.status & INV_SENSOR_ON) { 654 hal_out.nine_axis_status = (sensor_cal->quat.status & INV_NEW_DATA) ? 1 : 0; 655 hal_out.nav_timestamp = sensor_cal->quat.timestamp [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 36 * @param[in] quat Quaternion, Length 4 39 float inv_compass_angle(const long *compass, const long *grav, const float *quat) 51 inv_q_multf(quat, cgcross, q1); 52 inv_q_invertf(quat, qi); 234 double quaternion_to_rotation_angle(const long *quat) { 235 double quat0 = (double )quat[0] / 1073741824; 339 * @param[in] quat 4-element quaternion in fixed point. One is 2^30. 346 void inv_quaternion_to_rotation(const long *quat, long *rot) 349 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0] [all...] |
ml_math_func.h | 80 void inv_quaternion_to_rotation(const long *quat, long *rot); 92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot); 101 const float *quat); 109 double quaternion_to_rotation_angle(const long *quat);
|
results_holder.h | 27 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp); 28 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp);
|
data_builder.c | 330 /** Set Quat Sample rate in micro seconds. 331 * @param[in] sample_rate_us Set Quat Sample rate in us 342 sensors.quat.sample_rate_us = sample_rate_us; 343 sensors.quat.sample_rate_ms = sample_rate_us / 1000; 419 if (sensors.quat.status & INV_SENSOR_ON) { 420 if (timestamp < sensors.quat.timestamp) 421 timestamp = sensors.quat.timestamp; 912 * @param[in] quat Quaternion data. 2^30 = 1.0 or 2^14=1 for 16-bit data. [all...] |
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.h | 36 void convert_long_to_hex_char(long* quat, unsigned char* hex, int numElement);
|
/external/eigen/bench/ |
geometry.cpp | 35 EIGEN_ASM_COMMENT("begin quat"); 38 EIGEN_ASM_COMMENT("end quat"); 52 EIGEN_ASM_COMMENT("begin quat via mat"); 54 EIGEN_ASM_COMMENT("end quat via mat"); 104 Quaternion<Scalar> quat;quat.setIdentity(); local 105 ToRotationMatrixWrapper<Quaternion<Scalar> > quatmat(quat); 119 bench("quaternion", quat); 120 bench("quat-mat ", quatmat);
|
/external/vulkan-validation-layers/demos/ |
linmath.h | 437 typedef float quat[4]; 438 static inline void quat_identity(quat q) { 442 static inline void quat_add(quat r, quat a, quat b) { 447 static inline void quat_sub(quat r, quat a, quat b) { 452 static inline void quat_mul(quat r, quat p, quat q) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9math.inl | 542 inline D3DXQUATERNION& D3DXQUATERNION::operator += (CONST D3DXQUATERNION& quat) 544 x += quat.x; 545 y += quat.y; 546 z += quat.z; 547 w += quat.w; 551 inline D3DXQUATERNION& D3DXQUATERNION::operator -= (CONST D3DXQUATERNION& quat) 553 x -= quat.x; 554 y -= quat.y; 555 z -= quat.z; 556 w -= quat.w [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Matrix4.java | 701 static Quaternion quat = new Quaternion();
field in class:Matrix4 714 return set(quat.set(axis, degrees));
727 return set(quat.setFromAxisRad(axis, radians));
[all...] |