|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dsps_fir.h"Go to the source code of this file.
Functions | |
| int32_t | dsps_fird_s16_ansi (fir_s16_t *fir, const int16_t *input, int16_t *output, int32_t len) |
| 16 bit signed fixed point Decimation FIR filter | |
| int32_t dsps_fird_s16_ansi | ( | fir_s16_t * | fir, |
| const int16_t * | input, | ||
| int16_t * | output, | ||
| int32_t | len ) |
16 bit signed fixed point Decimation 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 |
| len | length of the result array |
Definition at line 9 of file dsps_fird_s16_ansi.c.
References fir_s16_s::coeffs, fir_s16_s::coeffs_len, fir_s16_s::d_pos, fir_s16_s::decim, fir_s16_s::delay, n, fir_s16_s::pos, fir_s16_s::rounding_val, and fir_s16_s::shift.