Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6814 Discussions

ippsFFTInit -- allocation and deallocation of the FFT specification structure

c__a
Beginner
745 Views
The first argument of ippsFFTInit is a double pointer to the FFT specification structure to be created.
Do I need to call ippsFree() on *ppFFTSpec when I am done using it?

IppStatus ippsFFTInit_C_64f(IppsFFTSpec_C_64f** ppFFTSpec, int order, int flag, IppHintAlgorithm hint, Ipp8u* pSpec, Ipp8u* pSpecBuffer);

Thanks

0 Kudos
1 Reply
Valentin_K_Intel
Employee
745 Views

Hello!

The parameter *ppFFTSpec points to the FFT specification structure that is located inside the allocated buffer pSpec. So the function ippsFree() should be called only for pSpec buffer, after using the pointer ppFFTSpec.

The example how to use FFTInit: https://software.intel.com/en-us/node/610221

Best regards,
Valentin

0 Kudos
Reply