Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 20 of 20) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/
Darm_biquad_cascade_df1_f32.c182 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df1_f32() local
194 sample = blockSize >> 2U; in arm_biquad_cascade_df1_f32()
200 while (sample > 0U) in arm_biquad_cascade_df1_f32()
246 sample--; in arm_biquad_cascade_df1_f32()
253 sample = blockSize & 0x3U; in arm_biquad_cascade_df1_f32()
254 if (sample) in arm_biquad_cascade_df1_f32()
289 if (sample == 1) in arm_biquad_cascade_df1_f32()
297 else if (sample == 2) in arm_biquad_cascade_df1_f32()
357 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df1_f32() local
402 sample = blockSize >> 2U; in arm_biquad_cascade_df1_f32()
[all …]
Darm_biquad_cascade_df2T_f32.c62 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df2T_f32() local
95 sample = blockSize / 2; in arm_biquad_cascade_df2T_f32()
98 while (sample > 0U) in arm_biquad_cascade_df2T_f32()
145 sample--; in arm_biquad_cascade_df2T_f32()
199 uint32_t sample, stageCnt,stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df2T_f32() local
240 sample = blockSize; in arm_biquad_cascade_df2T_f32()
242 while (sample > 0U) { in arm_biquad_cascade_df2T_f32()
273 sample--; in arm_biquad_cascade_df2T_f32()
307 sample = blockSize; in arm_biquad_cascade_df2T_f32()
309 while (sample > 0U) in arm_biquad_cascade_df2T_f32()
[all …]
Darm_biquad_cascade_df1_f16.c70 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df1_f16() local
82 sample = blockSize >> 3U; in arm_biquad_cascade_df1_f16()
87 while (sample > 0U) in arm_biquad_cascade_df1_f16()
149 sample--; in arm_biquad_cascade_df1_f16()
156 sample = blockSize & 0x7U; in arm_biquad_cascade_df1_f16()
157 if (sample) in arm_biquad_cascade_df1_f16()
208 switch(sample) in arm_biquad_cascade_df1_f16()
327 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df1_f16() local
356 sample = blockSize >> 2U; in arm_biquad_cascade_df1_f16()
358 while (sample > 0U) in arm_biquad_cascade_df1_f16()
[all …]
Darm_biquad_cascade_stereo_df2T_f32.c62 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_stereo_df2T_f32() local
113 sample = blockSize; in arm_biquad_cascade_stereo_df2T_f32()
115 while (sample > 0U) in arm_biquad_cascade_stereo_df2T_f32()
156 sample--; in arm_biquad_cascade_stereo_df2T_f32()
197 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_stereo_df2T_f32() local
219 sample = blockSize >> 3U; in arm_biquad_cascade_stereo_df2T_f32()
221 while (sample > 0U) { in arm_biquad_cascade_stereo_df2T_f32()
355 sample--; in arm_biquad_cascade_stereo_df2T_f32()
359 sample = blockSize & 0x7U; in arm_biquad_cascade_stereo_df2T_f32()
364 sample = blockSize; in arm_biquad_cascade_stereo_df2T_f32()
[all …]
Darm_biquad_cascade_df1_fast_q15.c77 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df1_fast_q15() local
106 sample = blockSize >> 1U; in arm_biquad_cascade_df1_fast_q15()
108 while (sample > 0U) in arm_biquad_cascade_df1_fast_q15()
175 sample--; in arm_biquad_cascade_df1_fast_q15()
179 sample = (blockSize & 0x1U); in arm_biquad_cascade_df1_fast_q15()
184 sample = blockSize; in arm_biquad_cascade_df1_fast_q15()
188 while (sample > 0U) in arm_biquad_cascade_df1_fast_q15()
228 sample--; in arm_biquad_cascade_df1_fast_q15()
Darm_biquad_cascade_df1_fast_q31.c77 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df1_fast_q31() local
103 sample = blockSize >> 2U; in arm_biquad_cascade_df1_fast_q31()
105 while (sample > 0U) in arm_biquad_cascade_df1_fast_q31()
222 sample--; in arm_biquad_cascade_df1_fast_q31()
226 sample = (blockSize & 0x3U); in arm_biquad_cascade_df1_fast_q31()
231 sample = blockSize; in arm_biquad_cascade_df1_fast_q31()
235 while (sample > 0U) in arm_biquad_cascade_df1_fast_q31()
275 sample--; in arm_biquad_cascade_df1_fast_q31()
Darm_biquad_cascade_df1_32x64_q31.c194 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cas_df1_32x64_q31_scalar() local
215 sample = blockSize; in arm_biquad_cas_df1_32x64_q31_scalar()
217 while (sample > 0U) in arm_biquad_cas_df1_32x64_q31_scalar()
265 sample--; in arm_biquad_cas_df1_32x64_q31_scalar()
298 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cas_df1_32x64_q31() local
366 sample = blockSize - 3; in arm_biquad_cas_df1_32x64_q31()
369 i = sample / 4; in arm_biquad_cas_df1_32x64_q31()
539 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cas_df1_32x64_q31() local
567 sample = blockSize >> 2U; in arm_biquad_cas_df1_32x64_q31()
569 while (sample > 0U) in arm_biquad_cas_df1_32x64_q31()
[all …]
Darm_biquad_cascade_stereo_df2T_f16.c66 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_stereo_df2T_f16() local
120 sample = blockSize; in arm_biquad_cascade_stereo_df2T_f16()
122 while (sample > 0U) in arm_biquad_cascade_stereo_df2T_f16()
168 sample--; in arm_biquad_cascade_stereo_df2T_f16()
210 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_stereo_df2T_f16() local
232 sample = blockSize >> 3U; in arm_biquad_cascade_stereo_df2T_f16()
234 while (sample > 0U) { in arm_biquad_cascade_stereo_df2T_f16()
368 sample--; in arm_biquad_cascade_stereo_df2T_f16()
372 sample = blockSize & 0x7U; in arm_biquad_cascade_stereo_df2T_f16()
377 sample = blockSize; in arm_biquad_cascade_stereo_df2T_f16()
[all …]
Darm_biquad_cascade_df2T_f16.c62 uint32_t sample, stage = S->numStages; /* loop counters */ in arm_biquad_cascade_df2T_f16() local
95 sample = blockSize / 2; in arm_biquad_cascade_df2T_f16()
98 while (sample > 0U) in arm_biquad_cascade_df2T_f16()
150 sample--; in arm_biquad_cascade_df2T_f16()
204 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df2T_f16() local
224 sample = blockSize >> 4U; in arm_biquad_cascade_df2T_f16()
226 while (sample > 0U) { in arm_biquad_cascade_df2T_f16()
441 sample--; in arm_biquad_cascade_df2T_f16()
445 sample = blockSize & 0xFU; in arm_biquad_cascade_df2T_f16()
450 sample = blockSize; in arm_biquad_cascade_df2T_f16()
[all …]
Darm_biquad_cascade_df1_q31.c140 uint32_t sample = (blockSize - 2) >> 2U; in arm_biquad_cascade_df1_q31() local
145 while (sample > 0U) { in arm_biquad_cascade_df1_q31()
208 sample--; in arm_biquad_cascade_df1_q31()
337 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df1_q31() local
367 sample = blockSize >> 2U; in arm_biquad_cascade_df1_q31()
369 while (sample > 0U) in arm_biquad_cascade_df1_q31()
445 sample--; in arm_biquad_cascade_df1_q31()
449 sample = blockSize & 0x3U; in arm_biquad_cascade_df1_q31()
454 sample = blockSize; in arm_biquad_cascade_df1_q31()
458 while (sample > 0U) in arm_biquad_cascade_df1_q31()
[all …]
Darm_biquad_cascade_df1_q15.c70 uint32_t sample, stages = S->numStages; /* loop counters */ in arm_biquad_cascade_df1_q15() local
146 sample = (blockSize - 4) >> 2U; in arm_biquad_cascade_df1_q15()
154 while (sample > 0U) { in arm_biquad_cascade_df1_q15()
212 sample--; in arm_biquad_cascade_df1_q15()
335 uint32_t sample, stage = (uint32_t) S->numStages; /* Stage loop counter */ in arm_biquad_cascade_df1_q15() local
361 sample = blockSize >> 1U; in arm_biquad_cascade_df1_q15()
365 while (sample > 0U) in arm_biquad_cascade_df1_q15()
451 sample--; in arm_biquad_cascade_df1_q15()
533 uint32_t sample, stage = (uint32_t) S->numStages; /* Stage loop counter */ in arm_biquad_cascade_df1_q15()
555 sample = blockSize; in arm_biquad_cascade_df1_q15()
[all …]
Darm_biquad_cascade_df2T_f64.c152 uint32_t sample, stage = S->numStages; /* Loop counters */ in arm_biquad_cascade_df2T_f64() local
173 sample = blockSize >> 4U; in arm_biquad_cascade_df2T_f64()
175 while (sample > 0U) { in arm_biquad_cascade_df2T_f64()
391 sample--; in arm_biquad_cascade_df2T_f64()
395 sample = blockSize & 0xFU; in arm_biquad_cascade_df2T_f64()
400 sample = blockSize; in arm_biquad_cascade_df2T_f64()
404 while (sample > 0U) { in arm_biquad_cascade_df2T_f64()
418 sample--; in arm_biquad_cascade_df2T_f64()
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Ddriver_FXOS8700.c179 int16_t sample[3]; in FXOS8700_ReadAccData() local
206 sample[CHX] = (I2C_Buffer[6 * j] << 8) | (I2C_Buffer[6 * j + 1]); // decode X in FXOS8700_ReadAccData()
207 sample[CHY] = (I2C_Buffer[6 * j + 2] << 8) | (I2C_Buffer[6 * j + 3]); // decode Y in FXOS8700_ReadAccData()
208 sample[CHZ] = (I2C_Buffer[6 * j + 4] << 8) | (I2C_Buffer[6 * j + 5]); // decode Z in FXOS8700_ReadAccData()
209 conditionSample(sample); // truncate negative values to -32767 in FXOS8700_ReadAccData()
211 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in FXOS8700_ReadAccData()
224 int16_t sample[3]; in FXOS8700_ReadMagData() local
237 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in FXOS8700_ReadMagData()
238 sample[CHY] = (I2C_Buffer[2] << 8) | I2C_Buffer[3]; in FXOS8700_ReadMagData()
239 sample[CHZ] = (I2C_Buffer[4] << 8) | I2C_Buffer[5]; in FXOS8700_ReadMagData()
[all …]
Ddriver_FXAS21002.c231 int16_t sample[3]; in FXAS21002_Read() local
269 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in FXAS21002_Read()
270 sample[CHY] = (I2C_Buffer[2] << 8) | I2C_Buffer[3]; in FXAS21002_Read()
271 sample[CHZ] = (I2C_Buffer[4] << 8) | I2C_Buffer[5]; in FXAS21002_Read()
272 conditionSample(sample); // truncate negative values to -32767 in FXAS21002_Read()
273 addToFifo((union FifoSensor*) &(sfg->Gyro), GYRO_FIFO_SIZE, sample); in FXAS21002_Read()
287 sample[CHX] = (I2C_Buffer[6*j + 0] << 8) | I2C_Buffer[6*j + 1]; in FXAS21002_Read()
288 sample[CHY] = (I2C_Buffer[6*j + 2] << 8) | I2C_Buffer[6*j + 3]; in FXAS21002_Read()
289 sample[CHZ] = (I2C_Buffer[6*j + 4] << 8) | I2C_Buffer[6*j + 5]; in FXAS21002_Read()
290 conditionSample(sample); // truncate negative values to -32767 in FXAS21002_Read()
[all …]
Ddriver_MAG3110.c117 int16_t sample[3]; // Reconstructed sample in MAG3110_Read() local
125 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in MAG3110_Read()
126 sample[CHY] = (I2C_Buffer[2] << 8) | I2C_Buffer[3]; in MAG3110_Read()
127 sample[CHZ] = (I2C_Buffer[4] << 8) | I2C_Buffer[5]; in MAG3110_Read()
129 conditionSample(sample); // truncate negative values to -32767 in MAG3110_Read()
130 sample[CHZ] = -sample[CHZ]; // +Z should point up (MAG3110 Z positive is down) in MAG3110_Read()
131 addToFifo((union FifoSensor*) &(sfg->Mag), MAG_FIFO_SIZE, sample); in MAG3110_Read()
Ddriver_FXLS8962.c153 int16_t sample[3]; in FXLS8962_Read() local
175 sample[CHX] = (I2C_Buffer[1] << 8) | I2C_Buffer[0]; in FXLS8962_Read()
176 sample[CHY] = (I2C_Buffer[3] << 8) | I2C_Buffer[2]; in FXLS8962_Read()
177 sample[CHZ] = (I2C_Buffer[5] << 8) | I2C_Buffer[4]; in FXLS8962_Read()
178 conditionSample(sample); // truncate negative values to -32767 in FXLS8962_Read()
179 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in FXLS8962_Read()
Ddriver_MMA8652.c140 int16_t sample[3]; in MMA8652_Read() local
165 sample[CHX] = (I2C_Buffer[6 * j ] << 8) | I2C_Buffer[6 * j + 1]; in MMA8652_Read()
166 sample[CHY] = (I2C_Buffer[6 * j + 2] << 8) | I2C_Buffer[6 * j + 3]; in MMA8652_Read()
167 sample[CHZ] = (I2C_Buffer[6 * j + 4] << 8) | I2C_Buffer[6 * j + 5]; in MMA8652_Read()
168 conditionSample(sample); // truncate negative values to -32767 in MMA8652_Read()
169 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in MMA8652_Read()
Dsensor_fusion.c510 void conditionSample(int16_t sample[3]) in conditionSample()
518 if (sample[CHX] == -32768) sample[CHX]++; in conditionSample()
519 if (sample[CHY] == -32768) sample[CHY]++; in conditionSample()
520 if (sample[CHZ] == -32768) sample[CHZ]++; in conditionSample()
522 void addToFifo(union FifoSensor *sensor, uint16_t maxFifoSize, int16_t sample[3]) in addToFifo()
532 sensor->Accel.iGsFIFO[fifoCount][CHX] = sample[CHX]; in addToFifo()
533 sensor->Accel.iGsFIFO[fifoCount][CHY] = sample[CHY]; in addToFifo()
534 sensor->Accel.iGsFIFO[fifoCount][CHZ] = sample[CHZ]; in addToFifo()
Dsensor_fusion.h574 …int16_t sample[3] ///< 16-bit register value from triaxial senso…
590 int16_t sample[3] ///< the sample to add
/hal_nxp-3.6.0/mcux/middleware/mcux-sdk-middleware-usb/
DChangeLogKSDK.txt87 …- Separated composite audio examples' channel,sample rate,format parameters from commom macro to i…