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

Data struct of s16 fir filter. More...

#include <dsps_fir.h>

Data Fields

int16_t * coeffs
int16_t * delay
int16_t coeffs_len
int16_t pos
int16_t decim
int16_t d_pos
int16_t shift
int32_t * rounding_buff
int32_t rounding_val
int16_t free_status
int16_t delay_size
 Interpolation parameters.
int16_t interp
int16_t interp_pos
int16_t start_pos

Detailed Description

Data struct of s16 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_s16(...) function.

Definition at line 54 of file dsps_fir.h.

Field Documentation

◆ coeffs

int16_t* fir_s16_s::coeffs

Pointer to the coefficient buffer.

Definition at line 55 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_aexx_free(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ coeffs_len

int16_t fir_s16_s::coeffs_len

FIR filter coefficients amount.

Definition at line 57 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), and dsps_firmr_init_s16().

◆ d_pos

int16_t fir_s16_s::d_pos

Actual decimation counter.

Definition at line 60 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), and dsps_firmr_init_s16().

◆ decim

int16_t fir_s16_s::decim

Decimation factor.

Definition at line 59 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ delay

int16_t* fir_s16_s::delay

Pointer to the delay line buffer.

Definition at line 56 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_aexx_free(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ delay_size

int16_t fir_s16_s::delay_size

Interpolation parameters.

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

Definition at line 71 of file dsps_fir.h.

Referenced by dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ free_status

int16_t fir_s16_s::free_status

Indicator for dsps_fird_s16_aes3_free() function

Definition at line 64 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_aexx_free(), and dsps_firmr_init_s16().

◆ interp

int16_t fir_s16_s::interp

Interpolation factor.

Definition at line 72 of file dsps_fir.h.

Referenced by dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ interp_pos

int16_t fir_s16_s::interp_pos

Interpolation position.

Definition at line 73 of file dsps_fir.h.

Referenced by dsps_firmr_init_s16().

◆ pos

int16_t fir_s16_s::pos

Position in delay line.

Definition at line 58 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ rounding_buff

int32_t* fir_s16_s::rounding_buff

Rounding buffer for the purposes of esp32s3 ee.ld.accx.ip assembly instruction

Definition at line 62 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), and dsps_fird_s16_aexx_free().

◆ rounding_val

int32_t fir_s16_s::rounding_val

Rounding value

Definition at line 63 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ shift

int16_t fir_s16_s::shift

Shift value of the result.

Definition at line 61 of file dsps_fir.h.

Referenced by dsps_fird_init_s16(), dsps_fird_s16_ansi(), dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().

◆ start_pos

int16_t fir_s16_s::start_pos

Start position for decimation counter.

Definition at line 74 of file dsps_fir.h.

Referenced by dsps_firmr_init_s16(), and dsps_firmr_s16_ansi().


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