- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Im using the IPP FIR filter functions. I initialize a filter using FIRInitAlloc. The first time I use the filter it works fine. The second time it igves just garbage. why?
My code is quite simple and looks like this:
st = ippsFIR_32f_I(tmpfi,length,fir_state);
check_err(st);
st = ippsFIR_32f_I(tmpfr,length,fir_state);
check_err(st);
The first call gives correct results, the second only garbage.
Do I need to reset the filter between each time?
I Have initialized my filter this way:
ippsFIRInitAlloc_32f(&fir_state,fir_taps,num_taps,0);
I have not specified a delay line, does that matter?
Thanks
Thor Andreas Tangen
Im using the IPP FIR filter functions. I initialize a filter using FIRInitAlloc. The first time I use the filter it works fine. The second time it igves just garbage. why?
My code is quite simple and looks like this:
st = ippsFIR_32f_I(tmpfi,length,fir_state);
check_err(st);
st = ippsFIR_32f_I(tmpfr,length,fir_state);
check_err(st);
The first call gives correct results, the second only garbage.
Do I need to reset the filter between each time?
I Have initialized my filter this way:
ippsFIRInitAlloc_32f(&fir_state,fir_taps,num_taps,0);
I have not specified a delay line, does that matter?
Thanks
Thor Andreas Tangen
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An update on the issue; If I reset the delay line between each filtering to zero, everything works fine. But is this supposed to be necesary?
Thanks
Thor Andreas Tangen
Thanks
Thor Andreas Tangen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
there is comment from our expert:
Yes,it is necessarytouse ippsSetDelayLine() ifyou want to start from clear list.
Regards,
Vladimir

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