ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
fir_f32_s Struct Reference

Data struct of f32 fir filter. More...

#include <dsps_fir.h>

Data Fields

float * coeffs
float * delay
int N
int pos
int decim
int16_t use_delay
int delay_size
 Interpolation parameters.
int interp
int interp_pos
int start_pos

Detailed Description

Data struct of f32 fir filter.

This structure is used by a filter internally. A user should access this structure only in case of extensions for the DSP Library. All fields of this structure are initialized by the dsps_fir_init_f32(...) function.

Definition at line 29 of file dsps_fir.h.

Field Documentation

◆ coeffs

float* fir_f32_s::coeffs

Pointer to the coefficient buffer.

Definition at line 30 of file dsps_fir.h.

Referenced by dsps_fir_f32_ansi(), dsps_fir_init_f32(), dsps_fird_f32_ansi(), dsps_fird_init_f32(), dsps_firmr_f32_ansi(), and dsps_firmr_init_f32().

◆ decim

int fir_f32_s::decim

Decimation factor.

Definition at line 34 of file dsps_fir.h.

Referenced by dsps_fird_f32_ansi(), dsps_fird_init_f32(), dsps_firmr_f32_ansi(), and dsps_firmr_init_f32().

◆ delay

float* fir_f32_s::delay

◆ delay_size

int fir_f32_s::delay_size

Interpolation parameters.

Note
This is used for multi-rate FIR filter Size of the delay line.

Definition at line 41 of file dsps_fir.h.

Referenced by dsps_firmr_f32_ansi(), and dsps_firmr_init_f32().

◆ interp

int fir_f32_s::interp

Interpolation factor.

Definition at line 42 of file dsps_fir.h.

Referenced by dsps_firmr_f32_ansi(), and dsps_firmr_init_f32().

◆ interp_pos

int fir_f32_s::interp_pos

Interpolation position.

Definition at line 43 of file dsps_fir.h.

Referenced by dsps_firmr_init_f32().

◆ N

int fir_f32_s::N

FIR filter coefficients amount.

Definition at line 32 of file dsps_fir.h.

Referenced by dsps_fir_f32_ansi(), dsps_fir_init_f32(), dsps_fird_f32_ansi(), dsps_fird_init_f32(), and dsps_firmr_init_f32().

◆ pos

int fir_f32_s::pos

◆ start_pos

int fir_f32_s::start_pos

Start position for decimation counter.

Definition at line 44 of file dsps_fir.h.

Referenced by dsps_firmr_f32_ansi(), and dsps_firmr_init_f32().

◆ use_delay

int16_t fir_f32_s::use_delay

The delay line was allocated by init function.

Definition at line 35 of file dsps_fir.h.

Referenced by dsps_fir_f32_free(), dsps_fir_init_f32(), and dsps_firmr_init_f32().


The documentation for this struct was generated from the following file: