Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous38
Beginner
77 Views

IPP FIR State Structure

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
77 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

Anonymous38
Beginner
77 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




Reply