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