Searched refs:int16_t (Results 1 - 25 of 55) sorted by relevance

123

/device/google/dragon/audio/hal/dsp/
H A Ddsp_util.h15 /* 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 Ddsp_util.c26 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 Dakm_ak09915_slave.c21 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 Dbosch_bmm150_slave.c38 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 Dbosch_bmm150_slave.h52 #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 Dstdint.h55 #ifndef int16_t
56 typedef __int16_t int16_t; typedef
57 #define int16_t __int16_t macro
H A Dtypes.h67 #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 Draw.c16 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 Dcore_types.h20 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ipf/
H A DEfiBind.h163 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.h39 typedef __int16_t int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ebc/
H A DEfiBind.h54 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/X64/
H A DEfiBind.h140 typedef short int16_t; typedef
149 typedef short int16_t; typedef
/device/google/contexthub/util/nanotool/
H A Dsensorevent.h49 int16_t ix;
50 int16_t iy;
51 int16_t iz;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Aarch64/
H A DEfiBind.h53 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Arm/
H A DEfiBind.h51 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/
H A DEfiBind.h187 typedef short int16_t; typedef
196 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Ia32/
H A DProcessorBind.h113 typedef int16_t INT16;
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/X64/
H A DProcessorBind.h132 typedef int16_t INT16;
/device/asus/fugu/libaudio/
H A DAudioStreamIn.h113 int16_t* mBuffer;
/device/google/dragon/sensor_hub/
H A Dcros_ec_sensors.h62 int16_t vector[MAX_AXIS];
/device/google/contexthub/firmware/os/inc/
H A Dsensors.h114 int16_t ix;
115 int16_t iy;
116 int16_t iz;
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
H A Dams_tmd4903.c445 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 Defi.h99 int16_t tm_tz; /* -1440 to 1440 or 2047 */
/device/google/dragon/audio/hal/
H A Daudio_hw.h211 int16_t* res_buffer;
268 int16_t* read_buf;

Completed in 424 milliseconds

123