- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to filter some data in Fortran using IPP FIR filter, with a standard sequence:
ippsFIRGenBandstop_64f(...)
ippsFIRInitAlloc_64f(IppsFIRState_64f** ppState, ...)
for i = 1, ...
ippsFIR_64fc_I(..., IppsFIRState_64fc* pState)
end for
ippsFIRFree_64f(IppsFIRState_64f* pState)
The problem is with proper declaration and use of object pState...
- I do not know the structure of IppsFIRState_64f, and therefore I do not know, how should it be declared in Fortran?
- InitAlloc requires addred of the array/structure IppsFIRState_64f, whilst another functions use directly object IppsFIRState_64f.
Is it possible to do that in Fortran?
Pawel
ippsFIRGenBandstop_64f(...)
ippsFIRInitAlloc_64f(IppsFIRState_64f** ppState, ...)
for i = 1, ...
ippsFIR_64fc_I(..., IppsFIRState_64fc* pState)
end for
ippsFIRFree_64f(IppsFIRState_64f* pState)
The problem is with proper declaration and use of object pState...
- I do not know the structure of IppsFIRState_64f, and therefore I do not know, how should it be declared in Fortran?
- InitAlloc requires addred of the array/structure IppsFIRState_64f, whilst another functions use directly object IppsFIRState_64f.
Is it possible to do that in Fortran?
Pawel
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pawel,
IppsFIRState_64f is the internal structure in IPP libraries. It is not exposure to the users. Possibly an easy way for you to use these filter function is to write a C wrapper function with easy function interfaces. The C wrapper call IPP related function and your FORTRAN code can call the wrapper function.
Thanks,
Chao
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