|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| esp_err_t | dsps_firmr_init_f32 (fir_f32_t *fir, float *coeffs, float *delay, int length, int interp, int decim, int start_pos) |
| initialize structure for multi-rate FIR filter Function initialize structure for 32 bit floating point multi-rate FIR filter The implementation use ANSI C and could be compiled and run on any platform | |
| esp_err_t dsps_firmr_init_f32 | ( | fir_f32_t * | fir, |
| float * | coeffs, | ||
| float * | delay, | ||
| int | length, | ||
| int | interp, | ||
| int | decim, | ||
| int | start_pos ) |
initialize structure for multi-rate FIR filter Function initialize structure for 32 bit floating point multi-rate FIR filter The implementation use ANSI C and could be compiled and run on any platform
| fir | pointer to fir filter structure, that must be preallocated |
| coeffs | array with FIR filter coefficients. Must be length N |
| delay | array for FIR filter delay line. Must be length N |
| length | FIR filter length. Length of coeffs and delay arrays. |
| interp | interpolation factor. |
| decim | decimation factor. |
| start_pos | initial value of decimation counter. Must be [0..decim) |
Definition at line 12 of file dsps_firmr_init_f32.c.
References coeffs, fir_f32_s::coeffs, fir_f32_s::decim, delay, fir_f32_s::delay, fir_f32_s::delay_size, ESP_ERR_DSP_ARRAY_NOT_ALIGNED, ESP_ERR_DSP_INVALID_LENGTH, ESP_ERR_DSP_INVALID_PARAM, ESP_OK, fir_f32_s::interp, fir_f32_s::interp_pos, memalign, fir_f32_s::N, fir_f32_s::pos, fir_f32_s::start_pos, and fir_f32_s::use_delay.
Referenced by dsps_resampler_mr_init().