Searched refs:ldata (Results 1 - 8 of 8) sorted by relevance

/hardware/invensense/60xx/mlsdk/mllite/
H A Dmlarray.c994 long ldata[3]; local
1002 result = inv_get_gyro(ldata);
1003 data[0] = (float)ldata[0] / 65536.0f;
1004 data[1] = (float)ldata[1] / 65536.0f;
1005 data[2] = (float)ldata[2] / 65536.0f;
1069 long ldata[1]; local
1078 result = inv_get_temperature(ldata);
1079 data[0] = (float)ldata[0] / 65536.0f;
1170 long ldata[3]; local
1179 result = inv_get_linear_accel(ldata);
1207 long ldata[3]; local
1242 long ldata[3]; local
1577 long ldata[6]; local
[all...]
/hardware/invensense/65xx/libsensors_iio/
H A DCompassSensor.AKM.cpp141 long ldata[3]; local
143 int res = mCompassSensor->readSample(ldata, timestamp);
145 data[i] = (float)ldata[i];
H A DMPLSensor.h302 int inv_float_to_q16(float *fdata, long *ldata);
303 int inv_long_to_q16(long *fdata, long *ldata);
304 int inv_float_to_round(float *fdata, long *ldata);
306 int inv_long_to_float(long *ldata, float *fdata);
H A DMPLSensor.cpp4267 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata)
4271 if (!fdata || !ldata)
4273 ldata[0] = (long)(fdata[0] * 65536.f);
4274 ldata[1] = (long)(fdata[1] * 65536.f);
4275 ldata[2] = (long)(fdata[2] * 65536.f);
4279 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata)
4283 if (!fdata || !ldata)
4285 ldata[0] = (fdata[1] * 65536.f);
4286 ldata[1] = (fdata[2] * 65536.f);
4287 ldata[
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dresults_holder.c242 long ldata[4]; local
243 inv_error_t result = inv_get_quaternion(ldata);
244 data[0] = inv_q30_to_float(ldata[0]);
245 data[1] = inv_q30_to_float(ldata[1]);
246 data[2] = inv_q30_to_float(ldata[2]);
247 data[3] = inv_q30_to_float(ldata[3]);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dresults_holder.c317 long ldata[4]; local
318 inv_error_t result = inv_get_quaternion(ldata);
319 data[0] = inv_q30_to_float(ldata[0]);
320 data[1] = inv_q30_to_float(ldata[1]);
321 data[2] = inv_q30_to_float(ldata[2]);
322 data[3] = inv_q30_to_float(ldata[3]);
/hardware/invensense/60xx/libsensors_iio/
H A DMPLSensor.h201 int inv_float_to_q16(float *fdata, long *ldata);
202 int inv_long_to_q16(long *fdata, long *ldata);
203 int inv_float_to_round(float *fdata, long *ldata);
H A DMPLSensor.cpp2331 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata)
2335 if (!fdata || !ldata)
2337 ldata[0] = (long)(fdata[0] * 65536.f);
2338 ldata[1] = (long)(fdata[1] * 65536.f);
2339 ldata[2] = (long)(fdata[2] * 65536.f);
2343 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata)
2347 if (!fdata || !ldata)
2349 ldata[0] = (fdata[1] * 65536.f);
2350 ldata[1] = (fdata[2] * 65536.f);
2351 ldata[
[all...]

Completed in 173 milliseconds