30 #include "NE10_types.h"
54 ne10_uint16_t numTaps,
55 ne10_float32_t * pCoeffs,
56 ne10_float32_t * pState,
57 ne10_uint32_t blockSize)
66 memset (pState, 0, (numTaps + (blockSize - 1u)) *
sizeof (ne10_float32_t));
96 ne10_result_t ne10_fir_decimate_init_float (
98 ne10_uint16_t numTaps,
100 ne10_float32_t * pCoeffs,
101 ne10_float32_t * pState,
102 ne10_uint32_t blockSize)
104 ne10_result_t status;
107 if ( (blockSize % M) != 0u)
121 memset (pState, 0, (numTaps + (blockSize - 1u)) *
sizeof (ne10_float32_t));
160 ne10_result_t ne10_fir_interpolate_init_float (
163 ne10_uint16_t numTaps,
164 ne10_float32_t * pCoeffs,
165 ne10_float32_t * pState,
166 ne10_uint32_t blockSize)
168 ne10_result_t status;
171 if ( (numTaps % L) != 0u)
191 ( (ne10_uint32_t) S->
phaseLength - 1u)) * sizeof (ne10_float32_t));
212 ne10_result_t ne10_fir_lattice_init_float (
214 ne10_uint16_t numStages,
215 ne10_float32_t * pCoeffs,
216 ne10_float32_t * pState)
225 memset (pState, 0, (numStages) *
sizeof (ne10_float32_t));
254 ne10_result_t ne10_fir_sparse_init_float (
256 ne10_uint16_t numTaps,
257 ne10_float32_t * pCoeffs,
258 ne10_float32_t * pState,
259 ne10_int32_t * pTapDelay,
260 ne10_uint16_t maxDelay,
261 ne10_uint32_t blockSize)
279 memset (pState, 0, (maxDelay + blockSize) *
sizeof (ne10_float32_t));
Instance structure for the floating-point FIR Decimation.
ne10_uint8_t M
Decimation Factor.
ne10_float32_t * pState
Points to the state variable array.
ne10_float32_t * pCoeffs
Points to the coefficient array.
ne10_uint16_t numTaps
Length of the filter.
Instance structure for the floating-point FIR filter.
ne10_float32_t * pState
Points to the state variable array.
ne10_uint16_t numTaps
Length of the filter.
ne10_float32_t * pCoeffs
Points to the coefficient array.
Instance structure for the floating-point FIR Interpolation.
ne10_float32_t * pCoeffs
Points to the coefficient array.
ne10_float32_t * pState
Points to the state variable array.
ne10_uint16_t phaseLength
Length of each polyphase filter component.
ne10_uint8_t L
Interpolation Factor.
Instance structure for the floating point FIR Lattice filter.
ne10_float32_t * pState
Points to the state variable array.
ne10_float32_t * pCoeffs
Points to the coefficient array.
ne10_uint16_t numStages
numStages of the of lattice filter.
Instance structure for the floating-point FIR Sparse filter.
ne10_uint16_t numTaps
Length of the filter.
ne10_uint16_t maxDelay
the largest number of delay line values .
ne10_float32_t * pCoeffs
Points to the coefficient array.
ne10_uint16_t stateIndex
Index pointer for the state buffer .
ne10_float32_t * pState
Points to the state variable array.
ne10_int32_t * pTapDelay
Pointer to the array containing positions of the non-zero tap values.