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

IPP FIR State Structure

Anonymous38
Beginner
369 Views
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

0 Kudos
2 Replies
Ying_S_Intel
Employee
369 Views

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

0 Kudos
Anonymous38
Beginner
369 Views
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




0 Kudos
Reply