/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlSetGyroBias.h | 40 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode); 41 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode); 42 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode); 43 void inv_convert_bias(const unsigned char *regs, short *bias);
|
H A D | mlSetGyroBias.c | 49 /** Converts from internal DMP gyro bias registers to external hardware gyro bias by 52 void inv_convert_bias(const unsigned char *regs, short *bias) argument 67 // Rotate bias vector by the transpose of the orientation matrix 82 bias[i] = (short)(biasPrev[i] - biasTmp[i]); 89 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode) argument 91 if (sgb.currentBias[0] != bias[0]) 93 if (sgb.currentBias[1] != bias[1]) 95 if (sgb.currentBias[2] != bias[2]) 98 memcpy(sgb.currentBias, bias, sizeo 107 inv_set_gyro_bias_in_dps(const long *bias, int mode) argument 131 inv_set_gyro_bias_in_dps_float(const float *bias, int mode) argument [all...] |
H A D | compass.h | 79 inv_error_t inv_set_compass_bias(long *bias);
|
H A D | compass.c | 358 * @brief Sets the compass bias. 359 * @param bias 360 * Compass bias, length 3. Scale is micro Tesla's * 2^16. 364 inv_error_t inv_set_compass_bias(long *bias) argument 370 inv_obj.compass_bias[0] = bias[0]; 371 inv_obj.compass_bias[1] = bias[1]; 372 inv_obj.compass_bias[2] = bias[2]; 376 (long)(bias[0] * (1LL << 30) / inv_obj.compass_sens) + 379 (long)(bias[1] * (1LL << 30) / inv_obj.compass_sens) + 382 (long)(bias[ [all...] |
H A D | mlBiasNoMotion.c | 76 /** Turns on the feature to compute gyro bias from No Motion */ 86 /** Turns off the feature to compute gyro bias from No Motion 103 short bias[GYRO_NUM_AXES]; local 121 inv_convert_bias(regs, bias); 130 result = inv_set_gyro_bias_in_hw_unit(bias, INV_SGB_NO_MOTION); 218 * 'no motion' state and update the internal motion status and bias 336 // Rotate bias vector by the transpose of the orientation matrix
|
H A D | ml_stored_data.c | 239 * @note In order to successfully work, the gyro bias must be stored 521 * - compass biases for X, Y, Z axes and bias tracking algorithm 551 long bias[3]; local 651 bias[i] = (int32_t) t; 652 LOADCAL_LOG("accel_bias[%d] = %ld\n", i, bias[i]); 654 if (inv_set_array(INV_ACCEL_BIAS, bias)) { 655 LOG_RESULT_LOCATION(inv_set_array(INV_ACCEL_BIAS, bias)); 656 return inv_set_array(INV_ACCEL_BIAS, bias); 751 * - compass biases for X, Y, Z axes, compass scale, and bias 781 long bias[ local 1239 long bias[3]; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 43 /** Set if quaternion has bias correction applied */ 51 /** Set if DMP has applied bias */ 178 /** gyro factory bias in chip frame, hardware units scaled by 2^16, 181 /** accel factory bias in chip frame, hardware units scaled by 2^16, 188 /** temperature when accel bias was stored. */ 198 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps 204 /** accel bias in chip frame, hardware units scaled by 2^16, +/- 2 gee 250 void inv_get_compass_bias(long *bias); 252 void inv_set_compass_bias(const long *bias, int accuracy); 254 void inv_set_gyro_bias(const long *bias); [all...] |
H A D | data_builder.c | 56 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 480 /** Takes raw data stored in the sensor, removes bias, and converts it to 483 * @param[in] bias bias in the mounting frame, in hardware units scaled by 486 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) argument 497 raw32[0] -= bias[0] >> 1; 498 raw32[1] -= bias[1] >> 1; 499 raw32[2] -= bias[2] >> 1; 506 /** Returns the current bias for the compass 507 * @param[out] bias Compas 510 inv_get_compass_bias(long *bias) argument 521 inv_set_compass_bias(const long *bias, int accuracy) argument 550 inv_set_accel_bias(const long *bias) argument 577 inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 602 inv_set_gyro_bias(const long *bias) argument 623 inv_set_mpl_gyro_bias(const long *bias, int accuracy) argument 675 inv_get_mpl_gyro_bias(long *bias, long *temp) argument 691 inv_get_gyro_bias_dmp_units(long *bias) argument 707 inv_get_gyro_bias(long *bias) argument 722 long bias[3]; local 745 inv_get_accel_bias(long *bias) argument 756 inv_get_mpl_accel_bias(long *bias, long *temp) argument [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 43 /** Set if quaternion has bias correction applied */ 51 /** Set if DMP has applied bias */ 181 /** gyro factory bias in chip frame, hardware units scaled by 2^16, 184 /** accel factory bias in chip frame, hardware units scaled by 2^16, 191 /** temperature when accel bias was stored. */ 201 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps 207 /** accel bias in chip frame, hardware units scaled by 2^16, +/- 2 gee 253 void inv_get_compass_bias(long *bias); 255 void inv_set_compass_bias(const long *bias, int accuracy); 257 void inv_set_gyro_bias(const long *bias); [all...] |
H A D | data_builder.c | 57 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 685 /** Takes raw data stored in the sensor, removes bias, and converts it to 688 * @param[in] bias bias in the mounting frame, in hardware units scaled by 691 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) argument 702 raw32[0] -= bias[0] >> 1; 703 raw32[1] -= bias[1] >> 1; 704 raw32[2] -= bias[2] >> 1; 711 /** Returns the current bias for the compass 712 * @param[out] bias Compas 715 inv_get_compass_bias(long *bias) argument 726 inv_set_compass_bias(const long *bias, int accuracy) argument 755 inv_set_accel_bias(const long *bias) argument 782 inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 816 inv_set_gyro_bias(const long *bias) argument 837 inv_set_mpl_gyro_bias(const long *bias, int accuracy) argument 889 inv_get_mpl_gyro_bias(long *bias, long *temp) argument 905 inv_get_gyro_bias_dmp_units(long *bias) argument 921 inv_get_gyro_bias(long *bias) argument 936 long bias[3]; local 959 inv_get_accel_bias(long *bias) argument 970 inv_get_mpl_accel_bias(long *bias, long *temp) argument 983 inv_get_accel_bias_dmp_units(long *bias) argument [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 44 /* Set if quaternion has bias correction applied */ 190 void inv_get_compass_bias(long *bias); 192 void inv_set_compass_bias(const long *bias, int accuracy); 194 void inv_set_gyro_bias(const long *bias, int accuracy); 195 void inv_set_accel_bias(const long *bias, int accuracy); 197 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask); 199 void inv_get_gyro_bias(long *bias, long *temp); 200 void inv_get_accel_bias(long *bias, long *temp);
|
H A D | data_builder.c | 51 /** Temperature when accel bias was stored. */ 73 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 531 /** Takes raw data stored in the sensor, removes bias, and converts it to 534 * @param[in] bias bias in the mounting frame, in hardware units scaled by 537 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) argument 548 raw32[0] -= bias[0] >> 1; 549 raw32[1] -= bias[1] >> 1; 550 raw32[2] -= bias[2] >> 1; 557 /** Returns the current bias fo 561 inv_get_compass_bias(long *bias) argument 568 inv_set_compass_bias(const long *bias, int accuracy) argument 594 inv_set_accel_bias(const long *bias, int accuracy) argument 622 inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 648 inv_set_gyro_bias(const long *bias, int accuracy) argument 678 inv_get_gyro_bias(long *bias, long *temp) argument 691 inv_get_accel_bias(long *bias, long *temp) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_picklpf.c | 78 int bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; local 81 bias = bias * cpi->twopass.section_intra_rating / 20; 83 // yx, bias less for large block size 85 bias >>= 1; 95 // If value is close to the best so far then bias towards a lower loop 97 if ((filt_err - bias) < best_err) { 115 if (filt_err < (best_err - bias)) {
|
/hardware/invensense/6515/libsensors_iio/ |
H A D | CompassSensor.AKM.h | 63 virtual void getCompassBias(long *bias) {return;}; argument
|
H A D | MPLSensor.cpp | 211 /* read gyro self test scale used to calculate factory cal bias later */ 232 /* mFactoryGyBias contains bias values that will be used for device offset */ 242 LOGE("HAL:could not open factory gyro calibrated bias"); 249 /* mGyroBias contains bias values that will be used for framework */ 250 /* mGyroChipBias contains bias values that will be used for dmp */ 253 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro x dmp bias path: %s", mpu.in_gyro_x_dmp_bias); 254 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro y dmp bias path: %s", mpu.in_gyro_y_dmp_bias); 255 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro z dmp bias path: %s", mpu.in_gyro_z_dmp_bias); 261 LOGE("HAL:could not open gyro DMP calibrated bias"); 290 /* read accel self test scale used to calculate factory cal bias late [all...] |
H A D | MPLSensor.h | 167 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
|
/hardware/invensense/65xx/libsensors_iio/ |
H A D | CompassSensor.AKM.h | 63 virtual void getCompassBias(long *bias) {return;}; argument
|
H A D | MPLSensor.cpp | 335 /* read gyro self test scale used to calculate factory cal bias later */ 356 /* mFactoryGyBias contains bias values that will be used for device offset */ 366 LOGE("HAL:could not open factory gyro calibrated bias"); 373 /* mGyroBias contains bias values that will be used for framework */ 374 /* mGyroChipBias contains bias values that will be used for dmp */ 377 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro x dmp bias path: %s", mpu.in_gyro_x_dmp_bias); 378 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro y dmp bias path: %s", mpu.in_gyro_y_dmp_bias); 379 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro z dmp bias path: %s", mpu.in_gyro_z_dmp_bias); 385 LOGE("HAL:could not open gyro DMP calibrated bias"); 414 /* read accel self test scale used to calculate factory cal bias late [all...] |
H A D | MPLSensor.h | 166 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
|
/hardware/invensense/60xx/mlsdk/mlutils/ |
H A D | mputest.c | 246 * bias level threshold, the maximun acceptable no motion bias 288 * output pointer to store the initial bias calculation provided 468 /* 2nd, check bias from X and Y PLL clock source */ 477 MPL_LOGI("bias : %+13.3f %+13.3f %+13.3f (LSB)\n", 488 MPL_LOGI("%s-Gyro bias (%.0f) exceeded threshold " 559 * output pointer to store the initial bias calculation provided 744 /* 2nd, check bias from X and Y PLL clock source */ 753 MPL_LOGI("bias : %+13.3f %+13.3f %+13.3f (LSB)\n", 825 * and calculate the necessary bias correctio 844 inv_test_accel(void *mlsl_handle, short *bias, long gravity, uint_fast8_t perform_full_test) argument [all...] |
/hardware/invensense/60xx/libsensors_iio/ |
H A D | MPLSensor.h | 107 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
|
H A D | MPLSensor.cpp | 1964 long bias[3], temp, temp_slope[3]; 1965 inv_get_gyro_bias(bias, &temp); 1973 (float)bias[0] / 65536.f / 16.384f, 1974 (float)bias[1] / 65536.f / 16.384f, 1975 (float)bias[2] / 65536.f / 16.384f, 2455 LOGE("HAL:Error reading gyro bias"); 2462 "HAL:pre-scaled bias: X:Y:Z (%ld, %ld, %ld)", 2470 "HAL:scaled bias: X:Y:Z (%ld, %ld, %ld)", 2745 // TODO: for bias settings
|
/hardware/libhardware/include/hardware/ |
H A D | sensors.h | 661 float bias[3]; member in union:__anon1309::__anon1312
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
H A D | mkvparser.cpp | 7427 //For WebM files, there is a bias towards previous reference times
8468 const long long bias = (1LL << exp) - 1LL;
8469 const long long delta_size = delta_size_ - bias;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
H A D | mkvparser.cpp | 8396 //For WebM files, there is a bias towards previous reference times 9454 const long long bias = (1LL << exp) - 1LL; 9455 const long long delta_size = delta_size_ - bias;
|