- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page