/device/google/dragon/audio/hal/dsp/ |
H A D | dsp_util.h | 15 /* Converts from interleaved int16_t samples to non-interleaved float samples. 16 * The int16_t samples have range [-32768, 32767], and the float samples have 24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, 27 /* Converts from non-interleaved float samples to interleaved int16_t samples. 28 * The int16_t samples have range [-32768, 32767], and the float samples have 37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
|
H A D | dsp_util.c | 26 static void deinterleave_stereo(int16_t *input, float *output1, 69 int16_t *output, int frames) 136 static void deinterleave_stereo(int16_t *input, float *output1, 193 int16_t *output, int frames) 250 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, 271 void dsp_util_interleave(float *const *input, int16_t *output, int channels, 289 int16_t i16; 296 i16 = (int16_t) (f > 0 ? f + 0.5f : f - 0.5f);
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
H A D | akm_ak09915_slave.c | 21 int32_t raw_x = (*(int16_t *)&buf[0]); 22 int32_t raw_y = (*(int16_t *)&buf[2]); 23 int32_t raw_z = (*(int16_t *)&buf[4]);
|
H A D | bosch_bmm150_slave.c | 38 magTask->dig_z2 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z2_LSB - first_reg]); 39 magTask->dig_z3 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z3_LSB - first_reg]); 40 magTask->dig_z4 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z4_LSB - first_reg]); 46 static int32_t bmm150TempCompensateX(struct MagTask *magTask, int16_t mag_x, uint16_t rhall) 66 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); 68 temp_4 = ((int32_t)mag_x) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_x2) + ((int16_t)0xa0)))) >> 12); 70 inter_retval = ((int32_t)(temp_4 >> 13)) + (((int16_t)magTask->dig_x1) << 3); 82 static int32_t bmm150TempCompensateY(struct MagTask *magTask, int16_t mag_y, uint16_t rhall) 102 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTas [all...] |
H A D | bosch_bmm150_slave.h | 52 #define BMM150_MAG_FLIP_OVERFLOW_ADCVAL ((int16_t)-4096) 53 #define BMM150_MAG_HALL_OVERFLOW_ADCVAL ((int16_t)-16384) 54 #define BMM150_MAG_OVERFLOW_OUTPUT ((int16_t)-32768) 60 int16_t dig_z2, dig_z3, dig_z4;
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
H A D | stdint.h | 55 #ifndef int16_t
56 typedef __int16_t int16_t;
typedef 57 #define int16_t __int16_t
macro
|
H A D | types.h | 67 #ifndef int16_t
68 typedef __int16_t int16_t;
typedef 69 #define int16_t __int16_t
macro
|
/device/google/dragon/audio/hal/dsp/tests/ |
H A D | raw.c | 16 int16_t *buf; 35 buf = (int16_t *)malloc(n); 54 static int16_t f2s16(float f) 63 return (int16_t)i; 68 int16_t *buf; 73 buf = (int16_t *)malloc(n);
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
H A D | core_types.h | 20 typedef short int16_t;
typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ipf/ |
H A D | EfiBind.h | 163 typedef short int16_t;
typedef 177 typedef short int16_t;
typedef 189 typedef short int16_t;
typedef
|
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/ |
H A D | _stdint.h | 39 typedef __int16_t int16_t; typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ebc/ |
H A D | EfiBind.h | 54 typedef short int16_t;
typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/X64/ |
H A D | EfiBind.h | 140 typedef short int16_t;
typedef 149 typedef short int16_t;
typedef
|
/device/google/contexthub/util/nanotool/ |
H A D | sensorevent.h | 49 int16_t ix; 50 int16_t iy; 51 int16_t iz;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Aarch64/ |
H A D | EfiBind.h | 53 typedef short int16_t;
typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Arm/ |
H A D | EfiBind.h | 51 typedef short int16_t;
typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/ |
H A D | EfiBind.h | 187 typedef short int16_t;
typedef 196 typedef short int16_t;
typedef
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Ia32/ |
H A D | ProcessorBind.h | 113 typedef int16_t INT16;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/X64/ |
H A D | ProcessorBind.h | 132 typedef int16_t INT16;
|
/device/asus/fugu/libaudio/ |
H A D | AudioStreamIn.h | 113 int16_t* mBuffer;
|
/device/google/dragon/sensor_hub/ |
H A D | cros_ec_sensors.h | 62 int16_t vector[MAX_AXIS];
|
/device/google/contexthub/firmware/os/inc/ |
H A D | sensors.h | 114 int16_t ix; 115 int16_t iy; 116 int16_t iz;
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
H A D | ams_tmd4903.c | 445 static void sendCalibrationResultProx(uint8_t status, int16_t *offsets) { 460 // The offsets are cast from int16_t to int32_t, so I can't use memcpy 609 int16_t failOffsets[4] = {0, 0, 0, 0}; 641 *((int16_t*)&xfer->txrxBuf[1]) = offsets[0]; 642 *((int16_t*)&xfer->txrxBuf[3]) = offsets[1]; 643 *((int16_t*)&xfer->txrxBuf[5]) = offsets[2]; 644 *((int16_t*)&xfer->txrxBuf[7]) = offsets[3]; 890 INFO_PRINT("Calibration offsets = {%d, %d, %d, %d}\n", *((int16_t*)&xfer->txrxBuf[0]), 891 *((int16_t*)&xfer->txrxBuf[2]), *((int16_t*) [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
H A D | efi.h | 99 int16_t tm_tz; /* -1440 to 1440 or 2047 */
|
/device/google/dragon/audio/hal/ |
H A D | audio_hw.h | 211 int16_t* res_buffer; 268 int16_t* read_buf;
|