|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| int32_t | dsps_firmr_s16_ansi (fir_s16_t *fir, const int16_t *input, int16_t *output, int32_t input_len) |
| 16 bit signed fixed point multi-rate FIR filter | |
| int32_t dsps_firmr_s16_ansi | ( | fir_s16_t * | fir, |
| const int16_t * | input, | ||
| int16_t * | output, | ||
| int32_t | input_len ) |
16 bit signed fixed point multi-rate FIR filter
Function implements FIR filter with decimation The extension (_ansi) uses ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| fir | pointer to fir filter structure, that must be initialized before |
| input | input array |
| output | array with the result of the FIR filter |
| input_len | length of the intput array |
Definition at line 11 of file dsps_firmr_s16_ansi.c.
References fir_s16_s::coeffs, fir_s16_s::decim, fir_s16_s::delay, fir_s16_s::delay_size, fir_s16_s::interp, m, n, fir_s16_s::pos, fir_s16_s::rounding_val, fir_s16_s::shift, and fir_s16_s::start_pos.