Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

FIR MR Init Segfault

dave4
Beginner
113 Views
Hi -

Can you describe how the FIR State is initialized under the hood for MR FIR and what could cause it to segfault?

I have tried with the InitAlloc function and the 2-step GetStateSize + Init functions and the Init is the function that crashes. I have used these functions on other filter configurations with no problems - are there limitations on the Up/Down sizes?

Thanks
0 Kudos
1 Reply
Chao_Y_Intel
Employee
113 Views

Hello,

The only difference between these two functions is that InitAlloc allocates memory internally while Init uses external buffer. Do you have some code that can reproduce this problem? Without it, it is not easy to provide the valuable suggestion here?

There are no any limitations on Up/Down sizes (they must be >0 only).

Thanks,
Chao

Reply