This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ne10 fir function

Hi guys,

I am currently using Ne10 library to perform signal processing task on Android device for better performance. I want to do a xcorr on 2 equal size array (say N) and want the output to be 2*N -1 in size. Kind of like in matlab  y = xcorr(x1,x2) where x1 and x2 are equal size and y is twice the size of x1  - 1.

I have the same code using IPP like

ippsCrossCorr_32f(x1,N,x2,N,y1,2*N-1,-(N-1));

Using Ne10, I cant seem to have a work around to get y as an output of 2*N - 1 unless I zero pad both x1 and x2 to get the same output as the IPP function call.

What I am doing in Ne10 is as such:

coeff = zero pad x1 in front

input = zero pad x2 at the back

ne10_fir_float_neon(state,input,coeff,output,2*N-1);

The output from both IPP function and Ne10 function are matching but I want a solution that does away with the zero padding. Is there any function call interpretation that I made mistake on?

Thanks,

Kelvin

Parents Reply Children
No data