![]() |
LIBML
Version 3.2.4
LIBML DSP Software Library
|

Functions | |
| tpt_status | tpt_fir_interpolate_init_f32 (tpt_fir_interpolate_f32_t *aFilter, uint8_t L, uint16_t numTaps, f32_t *pCoeffs, f32_t *pState, uint32_t aCount) |
| Initialization function for the floating-point FIR interpolator. More... | |
| tpt_status | tpt_fir_interpolate_init_q15 (tpt_fir_interpolate_q15_t *aFilter, uint8_t L, uint16_t numTaps, q15_t *pCoeffs, q15_t *pState, uint32_t aCount) |
| Initialization function for the Q15 FIR interpolator. More... | |
| tpt_status | tpt_fir_interpolate_init_q31 (tpt_fir_interpolate_q31_t *aFilter, uint8_t L, uint16_t numTaps, q31_t *pCoeffs, q31_t *pState, uint32_t aCount) |
| Initialization function for the Q31 FIR interpolator. More... | |
| tpt_status tpt_fir_interpolate_init_f32 | ( | tpt_fir_interpolate_f32_t * | aFilter, |
| uint8_t | L, | ||
| uint16_t | numTaps, | ||
| f32_t * | pCoeffs, | ||
| f32_t * | pState, | ||
| uint32_t | aCount | ||
| ) |
Initialization function for the floating-point FIR interpolator.
| [in,out] | aFilter | points to an instance of the floating-point FIR interpolator structure |
| [in] | L | upsample factor |
| [in] | numTaps | number of filter coefficients in the filter |
| [in] | pCoeffs | points to the filter coefficient buffer |
| [in] | pState | points to the state buffer |
| [in] | aCount | number of input samples to process per call |
numTaps is not a multiple of the interpolation factor LpCoeffs points to the array of filter coefficients stored in time reversed order: pre> {b[numTaps-1], b[numTaps-2], b[numTaps-2], ..., b[1], b[0]} /pre> numTaps must be a multiple of the interpolation factor L. pState points to the array of state variables. pState is of length (numTaps/L)+blockSize-1 words where blockSize is the number of input samples processed by each call to tpt_fir_interpolate_f32(). | tpt_status tpt_fir_interpolate_init_q15 | ( | tpt_fir_interpolate_q15_t * | aFilter, |
| uint8_t | L, | ||
| uint16_t | numTaps, | ||
| q15_t * | pCoeffs, | ||
| q15_t * | pState, | ||
| uint32_t | aCount | ||
| ) |
Initialization function for the Q15 FIR interpolator.
| [in,out] | aFilter | points to an instance of the Q15 FIR interpolator structure |
| [in] | L | upsample factor |
| [in] | numTaps | number of filter coefficients in the filter |
| [in] | pCoeffs | points to the filter coefficient buffer |
| [in] | pState | points to the state buffer |
| [in] | aCount | number of input samples to process per call |
numTaps is not a multiple of the interpolation factor LpCoeffs points to the array of filter coefficients stored in time reversed order: pre> {b[numTaps-1], b[numTaps-2], b[numTaps-2], ..., b[1], b[0]} /pre> numTaps must be a multiple of the interpolation factor L. pState points to the array of state variables. pState is of length (numTaps/L)+blockSize-1 words where blockSize is the number of input samples processed by each call to tpt_fir_interpolate_q15(). | tpt_status tpt_fir_interpolate_init_q31 | ( | tpt_fir_interpolate_q31_t * | aFilter, |
| uint8_t | L, | ||
| uint16_t | numTaps, | ||
| q31_t * | pCoeffs, | ||
| q31_t * | pState, | ||
| uint32_t | aCount | ||
| ) |
Initialization function for the Q31 FIR interpolator.
| [in,out] | aFilter | points to an instance of the Q31 FIR interpolator structure |
| [in] | L | upsample factor |
| [in] | numTaps | number of filter coefficients in the filter |
| [in] | pCoeffs | points to the filter coefficient buffer |
| [in] | pState | points to the state buffer |
| [in] | aCount | number of input samples to process per call |
numTaps is not a multiple of the interpolation factor LpCoeffs points to the array of filter coefficients stored in time reversed order: pre> {b[numTaps-1], b[numTaps-2], b[numTaps-2], ..., b[1], b[0]} /pre> numTaps must be a multiple of the interpolation factor L. pState points to the array of state variables. pState is of length (numTaps/L)+blockSize-1 words where blockSize is the number of input samples processed by each call to tpt_fir_interpolate_q31().