Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP-Headers and Delphi, again

monacor101
Beginner
576 Views
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
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
576 Views

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

0 Kudos
monacor101
Beginner
576 Views
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.


0 Kudos
Vladimir_Dudnik
Employee
576 Views

Thanks, I think it should be interesting for those who use IPP in Delphi environment

Regards,
Vladimir

0 Kudos
Reply