/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_AK8975.c | 25 const int16 mag[3], in AKFS_DecompAK8975() 39 hdata[0].u.x = mag[0] * (((asa->u.x)/256.0f) + 0.5f); in AKFS_DecompAK8975() 40 hdata[0].u.y = mag[1] * (((asa->u.y)/256.0f) + 0.5f); in AKFS_DecompAK8975() 41 hdata[0].u.z = mag[2] * (((asa->u.z)/256.0f) + 0.5f); in AKFS_DecompAK8975()
|
D | AKFS_AK8975.h | 42 const int16 mag[3],
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_Measure.c | 237 const AKSENSOR_DATA* mag, in AKFS_OutputResult() argument 249 buf[5] = CONVERT_MAG(mag->x); /* Mx */ in AKFS_OutputResult() 250 buf[6] = CONVERT_MAG(mag->y); /* My */ in AKFS_OutputResult() 251 buf[7] = CONVERT_MAG(mag->z); /* Mz */ in AKFS_OutputResult() 252 buf[8] = mag->status; /* Mag status */ in AKFS_OutputResult() 272 int16 mag[3]; in AKFS_MeasureLoop() local 343 mag[0] = (int)((int16_t)(i2cData[2]<<8)+((int16_t)i2cData[1])); in AKFS_MeasureLoop() 344 mag[1] = (int)((int16_t)(i2cData[4]<<8)+((int16_t)i2cData[3])); in AKFS_MeasureLoop() 345 mag[2] = (int)((int16_t)(i2cData[6]<<8)+((int16_t)i2cData[5])); in AKFS_MeasureLoop() 354 if (AKFS_Get_MAGNETIC_FIELD(mag, mstat, &tmpx, &tmpy, &tmpz, &tmp_accuracy) == AKM_SUCCESS) { in AKFS_MeasureLoop()
|
D | AKFS_APIs.c | 153 const int16 mag[3], in AKFS_Get_MAGNETIC_FIELD() 166 __FUNCTION__, mag[0], mag[1], mag[2], status); in AKFS_Get_MAGNETIC_FIELD() 171 mag, in AKFS_Get_MAGNETIC_FIELD()
|
D | AKFS_Measure.h | 64 const AKSENSOR_DATA* mag,
|
D | AKFS_APIs.h | 45 const int16 mag[3],
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlMathFunc.c | 201 float mag; in inv_q_norm4() local 202 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); in inv_q_norm4() 203 if (mag) { in inv_q_norm4() 204 q[0] /= mag; in inv_q_norm4() 205 q[1] /= mag; in inv_q_norm4() 206 q[2] /= mag; in inv_q_norm4() 207 q[3] /= mag; in inv_q_norm4()
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 313 float mag; in inv_q_norm4() local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); in inv_q_norm4() 315 if (mag) { in inv_q_norm4() 316 q[0] /= mag; in inv_q_norm4() 317 q[1] /= mag; in inv_q_norm4() 318 q[2] /= mag; in inv_q_norm4() 319 q[3] /= mag; in inv_q_norm4()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | superframe_test.cc | 52 const int mag = ((marker >> 3) & 3) + 1; in MutateEncoderOutputHook() local 53 const unsigned int index_sz = 2 + mag * frames; in MutateEncoderOutputHook()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 313 float mag; in inv_q_norm4() local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); in inv_q_norm4() 315 if (mag) { in inv_q_norm4() 316 q[0] /= mag; in inv_q_norm4() 317 q[1] /= mag; in inv_q_norm4() 318 q[2] /= mag; in inv_q_norm4() 319 q[3] /= mag; in inv_q_norm4()
|
D | hal_outputs.c | 359 long mag[3]; in inv_get_sensor_type_magnetic_field_raw() local 363 inv_get_compass_set_raw(mag, accuracy, timestamp); in inv_get_sensor_type_magnetic_field_raw() 370 values[i] = (float)mag[i] * COMPASS_CONVERSION; in inv_get_sensor_type_magnetic_field_raw()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 313 float mag; in inv_q_norm4() local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); in inv_q_norm4() 315 if (mag) { in inv_q_norm4() 316 q[0] /= mag; in inv_q_norm4() 317 q[1] /= mag; in inv_q_norm4() 318 q[2] /= mag; in inv_q_norm4() 319 q[3] /= mag; in inv_q_norm4()
|
D | hal_outputs.c | 405 long mag[3]; in inv_get_sensor_type_magnetic_field_raw() local 409 inv_get_compass_set_raw(mag, accuracy, timestamp); in inv_get_sensor_type_magnetic_field_raw() 416 values[i] = (float)mag[i] * COMPASS_CONVERSION; in inv_get_sensor_type_magnetic_field_raw()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
D | vp9_dx_iface.c | 286 const uint32_t mag = ((marker >> 3) & 0x3) + 1; in parse_superframe_index() local 287 const size_t index_sz = 2 + mag * frames; in parse_superframe_index() 297 for (j = 0; j < mag; j++) in parse_superframe_index() 327 const uint32_t mag = ((marker >> 3) & 0x3) + 1; in vp9_decode() local 328 const uint32_t index_sz = 2 + mag * frames; in vp9_decode()
|
D | vp9_cx_iface.c | 618 int mag, index_sz; in write_superframe_index() local 627 for (mag = 0, mask = 0xff; mag < 4; mag++) { in write_superframe_index() 633 marker |= mag << 3; in write_superframe_index() 636 index_sz = 2 + (mag + 1) * ctx->pending_frame_count; in write_superframe_index() 645 for (j = 0; j <= mag; j++) { in write_superframe_index()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | svc_encodeframe.c | 182 uint32_t mag, mask; in sf_create_index() local 191 for (mag = 0, mask = 0xff; mag < 4; ++mag) { in sf_create_index() 196 marker |= mag << 3; in sf_create_index() 199 sf->index_size = 2 + (mag + 1) * sf->count; in sf_create_index() 207 for (j = 0; j <= mag; ++j) { in sf_create_index()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 206 int mag, d, fr, hp; in read_mv_component() local 233 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1; in read_mv_component() 234 return sign ? -mag : mag; in read_mv_component()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_encodemv.c | 36 const int mag = sign ? -comp : comp; in encode_mv_component() local 37 const int mv_class = vp9_get_mv_class(mag - 1, &offset); in encode_mv_component()
|