- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am using the IPP FIR filtering routines and all of them require an FIR filter state structure to be initiliazed.
I am using the FIRInitAlloc to initialize this structure.
However I wanted to know if I can define my own filter state structure and pass that to the filtering functions.
If yes, then how can I define that structure and how do I allocate memory to it.
Thanks
Sharwari
I am using the IPP FIR filtering routines and all of them require an FIR filter state structure to be initiliazed.
I am using the FIRInitAlloc to initialize this structure.
However I wanted to know if I can define my own filter state structure and pass that to the filtering functions.
If yes, then how can I define that structure and how do I allocate memory to it.
Thanks
Sharwari
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here are some suggestions recommended by our developers:
1)Use functions with Direct suffix they dont need any state structures (but may be slower).
2)You may not define yourown structure our state definition is intentionally hidden, it isdifferent for variousarchitectures.
3)Ifyou need your own memory management you may use FIRGetBufferSize, your own malloc() and then FIRInit() functions line.
Thanks,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ying,
Thanks for your email.
Could you elaborate on the last point that you made by means of an example?
How can I use FIRGetBufferSize, malloc() and FIRInit() ?
Would using my own memory management make my code any faster?
Do let me know
Thanks,
Sharwari
Thanks for your email.
Could you elaborate on the last point that you made by means of an example?
How can I use FIRGetBufferSize, malloc() and FIRInit() ?
Would using my own memory management make my code any faster?
Do let me know
Thanks,
Sharwari
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
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