Searched refs:big8 (Results 1 – 3 of 3) sorted by relevance
/hardware/invensense/mlsdk/mllite/ |
D | mlMathFunc.c | 254 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument 256 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8() 257 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8() 258 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8() 259 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8() 260 return big8; in inv_int32_to_big8() 264 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument 267 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) | in inv_big8_to_int32() 268 ((long)big8[3]); in inv_big8_to_int32() 273 unsigned char *inv_int16_to_big8(short x, unsigned char *big8) in inv_int16_to_big8() argument [all …]
|
D | mlMathFunc.h | 55 unsigned char *inv_int32_to_big8(long x, unsigned char *big8); 56 long inv_big8_to_int32(const unsigned char *big8); 57 unsigned char *inv_int16_to_big8(short x, unsigned char *big8);
|
D | ml.c | 1814 unsigned char big8[4]; in inv_set_mpu_6050_config() local 1833 result = inv_set_mpu_memory(KEY_D_ACT0, 4, inv_int32_to_big8(temp, big8)); in inv_set_mpu_6050_config() 1851 result = inv_set_mpu_memory(KEY_D_ACSX, 4, inv_int32_to_big8(s2[0], big8)); in inv_set_mpu_6050_config() 1856 result = inv_set_mpu_memory(KEY_D_ACSY, 4, inv_int32_to_big8(s2[1], big8)); in inv_set_mpu_6050_config() 1861 result = inv_set_mpu_memory(KEY_D_ACSZ, 4, inv_int32_to_big8(s2[2], big8)); in inv_set_mpu_6050_config()
|