![]() |
LIBDSP Version 4.1.9
LIBDSP Software Library
|

Functions | |
| void | tpt_fir_decimate_f64 (f64_t *pDst, const tpt_fir_decimate_f64_t *S, const f64_t *pSrc, uint32_t blockSize) |
| Processing function for floating-point FIR decimator. | |
| tpt_status | tpt_fir_decimate_init_f64 (tpt_fir_decimate_f64_t *S, uint16_t numTaps, uint8_t M, const f64_t *pCoeffs, f64_t *pState, uint32_t blockSize) |
| Initialization function for the floating-point FIR decimator. | |
| void tpt_fir_decimate_f64 | ( | f64_t * | pDst, |
| const tpt_fir_decimate_f64_t * | S, | ||
| const f64_t * | pSrc, | ||
| uint32_t | blockSize ) |
Processing function for floating-point FIR decimator.
| [out] | pDst | points to the block of output data |
| [in] | S | points to an instance of the floating-point FIR decimator structure |
| [in] | pSrc | points to the block of input data |
| [in] | blockSize | number of input samples to process |
| tpt_status tpt_fir_decimate_init_f64 | ( | tpt_fir_decimate_f64_t * | S, |
| uint16_t | numTaps, | ||
| uint8_t | M, | ||
| const f64_t * | pCoeffs, | ||
| f64_t * | pState, | ||
| uint32_t | blockSize ) |
Initialization function for the floating-point FIR decimator.
| [in,out] | S | points to an instance of the floating-point FIR decimator structure |
| [in] | numTaps | number of coefficients in the filter |
| [in] | M | decimation factor |
| [in] | pCoeffs | points to the filter coefficients |
| [in] | pState | points to the state buffer |
| [in] | blockSize | number of input samples to process per call |
blockSize is not a multiple of M pCoeffs points to the array of filter coefficients stored in time reversed order: {b[numTaps-1], b[numTaps-2], b[N-2], ..., b[1],
b[0]} pState points to the array of state variables. pState is of length numTaps+blockSize-1 words where blockSize is the number of input samples passed to tpt_fir_decimate_f64(). M is the decimation factor.