Searched refs:bias (Results 1 - 14 of 14) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.h43 /** 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 Ddata_builder.c56 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 Ddata_builder.h43 /** 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 Ddata_builder.c57 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/6515/libsensors_iio/
H A DCompassSensor.AKM.h63 virtual void getCompassBias(long *bias) {return;}; argument
H A DMPLSensor.cpp239 /* read gyro self test scale used to calculate factory cal bias later */
260 /* mFactoryGyBias contains bias values that will be used for device offset */
270 LOGE("HAL:could not open factory gyro calibrated bias");
277 /* mGyroBias contains bias values that will be used for framework */
278 /* mGyroChipBias contains bias values that will be used for dmp */
281 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro x dmp bias path: %s", mpu.in_gyro_x_dmp_bias);
282 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro y dmp bias path: %s", mpu.in_gyro_y_dmp_bias);
283 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro z dmp bias path: %s", mpu.in_gyro_z_dmp_bias);
289 LOGE("HAL:could not open gyro DMP calibrated bias");
318 /* read accel self test scale used to calculate factory cal bias late
[all...]
H A DMPLSensor.h167 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
/hardware/invensense/65xx/libsensors_iio/
H A DCompassSensor.AKM.h63 virtual void getCompassBias(long *bias) {return;}; argument
H A DMPLSensor.cpp331 /* read gyro self test scale used to calculate factory cal bias later */
352 /* mFactoryGyBias contains bias values that will be used for device offset */
362 LOGE("HAL:could not open factory gyro calibrated bias");
369 /* mGyroBias contains bias values that will be used for framework */
370 /* mGyroChipBias contains bias values that will be used for dmp */
373 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro x dmp bias path: %s", mpu.in_gyro_x_dmp_bias);
374 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro y dmp bias path: %s", mpu.in_gyro_y_dmp_bias);
375 LOGV_IF(EXTRA_VERBOSE, "HAL: gyro z dmp bias path: %s", mpu.in_gyro_z_dmp_bias);
381 LOGE("HAL:could not open gyro DMP calibrated bias");
410 /* read accel self test scale used to calculate factory cal bias late
[all...]
H A DMPLSensor.h166 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonModel.cpp391 const hexagon_nn_input& bias, op_type activation,
402 if (bias != hexagon_nn_input{}) {
404 node = addOperationInternal(OP_BiasAdd_f, NN_PAD_NA, {buffer1_in, bias}, outs);
405 HEXAGON_SOFT_ASSERT_NE(0, node, "Error adding bias operation");
419 const std::vector<hexagon_nn_input>& bias, op_type activation,
444 // add bias
445 if (bias.size() == 3) {
448 {previous, bias[0], previous_min, previous_max, bias[1], bias[
390 addFusedFloatOperation(op_type op, hexagon_nn_padding_type pad, const hexagon_nn_input& bias, op_type activation, const std::vector<hexagon_nn_input>& inputs, const std::vector<uint32_t>& outputs) argument
418 addFusedQuant8Operation(op_type op, hexagon_nn_padding_type pad, const std::vector<hexagon_nn_input>& bias, op_type activation, const std::vector<hexagon_nn_input>& inputs, const std::vector<uint32_t>& outputs) argument
[all...]
H A DHexagonModel.h125 const hexagon_nn_input& bias, op_type activation,
129 const std::vector<hexagon_nn_input>& bias, op_type activation,
H A DHexagonOperationsPrepare.cpp131 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
165 return model->addFusedFloatOperation(OP_Conv2d_f, pad, bias, act, {input, filter, stride},
177 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
217 return model->addFusedFloatOperation(OP_DepthwiseConv2d_f, pad, bias, act,
229 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
234 return model->addFusedFloatOperation(OP_MatMul_f, NN_PAD_NA, bias, act, {input, weights}, outs);
297 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
306 return model->addBasicOperation(OP_LRN_f, NN_PAD_NA, {input, window, bias, alpha, beta}, outs);
590 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
632 OP_QuantizedConv2d_8x8to32, pad, {bias, bias_mi
644 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
717 const hexagon_nn_input& bias = model->getTensor(ins[2]); local
[all...]
/hardware/libhardware/include/hardware/
H A Dsensors.h238 float bias[3]; member in union:__anon1446::__anon1449

Completed in 247 milliseconds