NMSIS-DSP  Version 1.2.0
NMSIS DSP Software Library
riscv_fir_sparse_instance_q31 Struct Reference

Instance structure for the Q31 sparse FIR filter. More...

Data Fields

uint16_t numTaps
 
uint16_t stateIndex
 
q31_t * pState
 
const q31_t * pCoeffs
 
uint16_t maxDelay
 
int32_t * pTapDelay
 

Detailed Description

Instance structure for the Q31 sparse FIR filter.

Field Documentation

◆ maxDelay

uint16_t riscv_fir_sparse_instance_q31::maxDelay

maximum offset specified by the pTapDelay array.

◆ numTaps

uint16_t riscv_fir_sparse_instance_q31::numTaps

number of coefficients in the filter.

◆ pCoeffs

const q31_t* riscv_fir_sparse_instance_q31::pCoeffs

points to the coefficient array. The array is of length numTaps.

◆ pState

q31_t* riscv_fir_sparse_instance_q31::pState

points to the state buffer array. The array is of length maxDelay+blockSize-1.

◆ pTapDelay

int32_t* riscv_fir_sparse_instance_q31::pTapDelay

points to the array of delay values. The array is of length numTaps.

◆ stateIndex

uint16_t riscv_fir_sparse_instance_q31::stateIndex

state buffer index. Points to the oldest sample in the state buffer.