/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
H A D | AKFS_AK8975.c | 25 const int16 mag[3], 39 hdata[0].u.x = mag[0] * (((asa->u.x)/256.0f) + 0.5f); 40 hdata[0].u.y = mag[1] * (((asa->u.y)/256.0f) + 0.5f); 41 hdata[0].u.z = mag[2] * (((asa->u.z)/256.0f) + 0.5f); 24 AKFS_DecompAK8975( const int16 mag[3], const int16 status, const uint8vec* asa, const int16 nhdata, AKFVEC hdata[] ) argument
|
/hardware/akm/AK8975_FS/akmdfs/ |
H A D | AKFS_APIs.c | 142 @param[in] mag A set of measurement data from magnetometer. X axis value 143 should be in mag[0], Y axis value should be in mag[1], Z axis value should be 144 in mag[2]. 153 const int16 mag[3], 166 __FUNCTION__, mag[0], mag[1], mag[2], status); 171 mag, 152 AKFS_Get_MAGNETIC_FIELD( const int16 mag[3], const int16 status, AKFLOAT* vx, AKFLOAT* vy, AKFLOAT* vz, int16* accuracy ) argument
|
H A D | AKFS_Measure.c | 237 const AKSENSOR_DATA* mag, 249 buf[5] = CONVERT_MAG(mag->x); /* Mx */ 250 buf[6] = CONVERT_MAG(mag->y); /* My */ 251 buf[7] = CONVERT_MAG(mag->z); /* Mz */ 252 buf[8] = mag->status; /* Mag status */ 272 int16 mag[3]; local 343 mag[0] = (int)((int16_t)(i2cData[2]<<8)+((int16_t)i2cData[1])); 344 mag[1] = (int)((int16_t)(i2cData[4]<<8)+((int16_t)i2cData[3])); 345 mag[2] = (int)((int16_t)(i2cData[6]<<8)+((int16_t)i2cData[5])); 354 if (AKFS_Get_MAGNETIC_FIELD(mag, msta 234 AKFS_OutputResult( const uint16 flag, const AKSENSOR_DATA* acc, const AKSENSOR_DATA* mag, const AKSENSOR_DATA* ori ) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | superframe_test.cc | 52 const int mag = ((marker >> 3) & 3) + 1; local 53 const unsigned int index_sz = 2 + mag * frames;
|
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlMathFunc.c | 201 float mag; local 202 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); 203 if (mag) { 204 q[0] /= mag; 205 q[1] /= mag; 206 q[2] /= mag; 207 q[3] /= mag;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_encodemv.c | 36 const int mag = sign ? -comp : comp; local 37 const int mv_class = vp9_get_mv_class(mag - 1, &offset);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 359 long mag[3];
local 363 inv_get_compass_set_raw(mag, accuracy, timestamp);
370 values[i] = (float)mag[i] * COMPASS_CONVERSION;
|
H A D | ml_math_func.c | 313 float mag; local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); 315 if (mag) { 316 q[0] /= mag; 317 q[1] /= mag; 318 q[2] /= mag; 319 q[3] /= mag;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_decodemv.c | 206 int mag, d, fr, hp; local 233 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1; 234 return sign ? -mag : mag;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
H A D | vp9_dx_iface.c | 286 const uint32_t mag = ((marker >> 3) & 0x3) + 1; local 287 const size_t index_sz = 2 + mag * frames; 297 for (j = 0; j < mag; j++) 327 const uint32_t mag = ((marker >> 3) & 0x3) + 1; local 328 const uint32_t index_sz = 2 + mag * frames;
|
H A D | vp9_cx_iface.c | 618 int mag, index_sz; local 627 for (mag = 0, mask = 0xff; mag < 4; mag++) { 633 marker |= mag << 3; 636 index_sz = 2 + (mag + 1) * ctx->pending_frame_count; 645 for (j = 0; j <= mag; j++) {
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 313 float mag; local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); 315 if (mag) { 316 q[0] /= mag; 317 q[1] /= mag; 318 q[2] /= mag; 319 q[3] /= mag;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 405 long mag[3]; local 409 inv_get_compass_set_raw(mag, accuracy, timestamp); 416 values[i] = (float)mag[i] * COMPASS_CONVERSION;
|
H A D | ml_math_func.c | 313 float mag; local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); 315 if (mag) { 316 q[0] /= mag; 317 q[1] /= mag; 318 q[2] /= mag; 319 q[3] /= mag;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
H A D | svc_encodeframe.c | 182 uint32_t mag, mask; local 191 for (mag = 0, mask = 0xff; mag < 4; ++mag) { 196 marker |= mag << 3; 199 sf->index_size = 2 + (mag + 1) * sf->count; 207 for (j = 0; j <= mag; ++j) {
|