Lines Matching refs:fdata
4532 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata) in inv_float_to_q16() argument
4536 if (!fdata || !ldata) in inv_float_to_q16()
4538 ldata[0] = (long)(fdata[0] * 65536.f); in inv_float_to_q16()
4539 ldata[1] = (long)(fdata[1] * 65536.f); in inv_float_to_q16()
4540 ldata[2] = (long)(fdata[2] * 65536.f); in inv_float_to_q16()
4544 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata) in inv_long_to_q16() argument
4548 if (!fdata || !ldata) in inv_long_to_q16()
4550 ldata[0] = (fdata[1] * 65536.f); in inv_long_to_q16()
4551 ldata[1] = (fdata[2] * 65536.f); in inv_long_to_q16()
4552 ldata[2] = (fdata[3] * 65536.f); in inv_long_to_q16()
4556 int MPLSensor::inv_float_to_round(float *fdata, long *ldata) in inv_float_to_round() argument
4560 if (!fdata || !ldata) in inv_float_to_round()
4562 ldata[0] = (long)fdata[0]; in inv_float_to_round()
4563 ldata[1] = (long)fdata[1]; in inv_float_to_round()
4564 ldata[2] = (long)fdata[2]; in inv_float_to_round()
4568 int MPLSensor::inv_float_to_round2(float *fdata, short *ldata) in inv_float_to_round2() argument
4572 if (!fdata || !ldata) in inv_float_to_round2()
4574 ldata[0] = (short)fdata[0]; in inv_float_to_round2()
4575 ldata[1] = (short)fdata[1]; in inv_float_to_round2()
4576 ldata[2] = (short)fdata[2]; in inv_float_to_round2()
4580 int MPLSensor::inv_long_to_float(long *ldata, float *fdata) in inv_long_to_float() argument
4584 if (!ldata || !fdata) in inv_long_to_float()
4586 fdata[0] = (float)ldata[0]; in inv_long_to_float()
4587 fdata[1] = (float)ldata[1]; in inv_long_to_float()
4588 fdata[2] = (float)ldata[2]; in inv_long_to_float()