using ippsDFTInit_C with using ippsFFTInit

using ippsDFTInit_C with using ippsFFTInit


it is confusing the difference between DFTInit and FFTInit

for example:


    int *sizeSpec, *sizeInit, *sizeBuff;

    IppDFTSpec_C_64fc *pSpecDfr, *pSpecFft;

    Ipp8u *pSpecFft, *pInit, *pBuff;

#ifdef USE_DFT

    ippsDFTGetSize_C_64fc(16, IPP_FFT_NODIV_BY_ANY, ippAlgHintNone, &sizeSpec, &sizeInit, &sizeBuff);


    ippsFFTGetSize_C_64fc(4, IPP_FFT_NODIV_BY_ANY, ippAlgHintNone, &sizeSpec, &sizeInit, &sizeBuff);


    pSpec = ippsMalloc_8u(sizeSpec); pInit = ippsMalloc_8u(sizeInit); pBuff = ippsMalloc_8u(sizeBuff);

#ifdef USE_DFT

    ippsDFTInit_C_64fc(10, IPP_FFT_NODIV_BY_ANY, ippAlgHintNone, pSpec , pInit );


    ippsFFTInit_C_64fc(&pSpecFft, 4, IPP_FFT_NODIV_BY_ANY, ippAlgHintNone, pSpec, pInit ); // here we provide additional argument


    // using fft or dft converting functions


Did I making right the initialization for FFt and DFT?

Why the interface is different for DFT and FFT? I mean why for FFT I need to provide additional argument for Init function? Why it can be done in the same way for DFT and FFT? It is confusing.

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

I found link that answer on my first question.

But the second question remains relevant. Why interface for DFT and FFT initialization functions is different? It is only confuse. May be it can be changed in next versions of IPP?

Thank you,


Accedere per lasciare un commento.