CSI-DSP  Version 1.0.0
CSI DSP Software Library
Functions
csky_cfft_radix4_q31.c File Reference

Functions

void csky_radix4_butterfly_inverse_q31 (q31_t *pSrc, uint32_t fftLen, q31_t *pCoef, uint32_t twidCoefModifier)
 Core function for the Q31 CIFFT butterfly process. More...
 
void csky_radix4_butterfly_q31 (q31_t *pSrc, uint32_t fftLen, q31_t *pCoef, uint32_t twidCoefModifier)
 Core function for the Q31 CFFT butterfly process. More...
 
void csky_bitreversal_q31 (q31_t *pSrc, uint32_t fftLen, uint16_t bitRevFactor, uint16_t *pBitRevTab)
 
void csky_cfft_radix4_q31 (const csky_cfft_radix4_instance_q31 *S, q31_t *pSrc)
 Processing function for the Q31 CFFT/CIFFT. More...
 

Function Documentation

void csky_bitreversal_q31 ( q31_t pSrc,
uint32_t  fftLen,
uint16_t  bitRevFactor,
uint16_t *  pBitRevTab 
)
void csky_cfft_radix4_q31 ( const csky_cfft_radix4_instance_q31 S,
q31_t pSrc 
)
Deprecated:
Do not use this function. It has been superseded by csky_cfft_q31 and will be removed
Parameters
[in]*Spoints to an instance of the Q31 CFFT/CIFFT structure.
[in,out]*pSrcpoints to the complex data buffer of size 2*fftLen. Processing occurs in-place.
Returns
none.
Input and output formats:
Internally input is downscaled by 2 for every stage to avoid saturations inside CFFT/CIFFT process. Hence the output format is different for different FFT sizes. The input and output formats for different FFT sizes and number of bits to upscale are mentioned in the tables below for CFFT and CIFFT:
void csky_radix4_butterfly_inverse_q31 ( q31_t pSrc,
uint32_t  fftLen,
q31_t pCoef,
uint32_t  twidCoefModifier 
)
Parameters
[in,out]*pSrcpoints to the in-place buffer of Q31 data type.
[in]fftLenlength of the FFT.
[in]*pCoefpoints to twiddle coefficient buffer.
[in]twidCoefModifiertwiddle coefficient modifier that supports different size FFTs with the same twiddle factor table.
Returns
none.
void csky_radix4_butterfly_q31 ( q31_t pSrc,
uint32_t  fftLen,
q31_t pCoef,
uint32_t  twidCoefModifier 
)
Parameters
[in,out]*pSrcpoints to the in-place buffer of Q31 data type.
[in]fftLenlength of the FFT.
[in]*pCoefpoints to twiddle coefficient buffer.
[in]twidCoefModifiertwiddle coefficient modifier that supports different size FFTs with the same twiddle factor table.
Returns
none.