- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i try to convert a fully coded FFT transformation using the IPP Libraray from C++ to Delphi. Transfering the headers from C++ to Delphi, ok it is a question of application. But one IPP comand makes trouble: IppStatus ippsFFTInitAlloc_C_32f(IppsFFTSpec_C_32f** ppFFTSpec, int order, int
flag, IppHintAlgorithm hint); The definition of the IppsFFTSpec_C_32F type is not done in a public header, as described in the manual.
Any idea how to convert this hidden structure to something usefull in Delphi?
Thanx a lot!
CK
i try to convert a fully coded FFT transformation using the IPP Libraray from C++ to Delphi. Transfering the headers from C++ to Delphi, ok it is a question of application. But one IPP comand makes trouble: IppStatus ippsFFTInitAlloc_C_32f(IppsFFTSpec_C_32f** ppFFTSpec, int order, int
flag, IppHintAlgorithm hint); The definition of the IppsFFTSpec_C_32F type is not done in a public header, as described in the manual.
Any idea how to convert this hidden structure to something usefull in Delphi?
Thanx a lot!
CK
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
you mignt be interested with reading some similar topics here
Calling Intel's IPP from Delphi6
Intel IPP and headers
ROI for DFT (Delphi)
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no hint in the demo so i found out by myself:
The C-Types
ppsFFTSpec_C_32F
ppsFFTSpec_C_64F
are represented in Delphi as:
type IppsFFTSpec_C_32f = Pointer;
type PIppsFFTSpec_C_32f = ^IppsFFTSpec_C_32f;
type IppsFFTSpec_C_64f = Pointer;
type PIppsFFTSpec_C_64f = ^IppsFFTSpec_C_64f;
So the Alloc-Function is defined then:
ippsFFTInitAlloc_C_64f(pFFTSpec : PIppsFFTSpec_C_64f; ...
Hope anyone else can use it, too.
The C-Types
ppsFFTSpec_C_32F
ppsFFTSpec_C_64F
are represented in Delphi as:
type IppsFFTSpec_C_32f = Pointer;
type PIppsFFTSpec_C_32f = ^IppsFFTSpec_C_32f;
type IppsFFTSpec_C_64f = Pointer;
type PIppsFFTSpec_C_64f = ^IppsFFTSpec_C_64f;
So the Alloc-Function is defined then:
ippsFFTInitAlloc_C_64f(pFFTSpec : PIppsFFTSpec_C_64f; ...
Hope anyone else can use it, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I think it should be interesting for those who use IPP in Delphi environment
Regards,
Vladimir
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