20 int comp_fir_complexe(int in_re[], int in_im[], int c_re[], int c_im[], int out_re[], int out_im[], int size) {
\r
21 int i,j,res_re,res_im,tmp_im,tmp_re,tmp_x_re,tmp_x_im;
\r
25 for(ii=0;ii<16;ii++){x_re[ii]=0;x_im[ii]=0;}
\r
27 res_re = 0; res_im = 0;
\r
28 for (j=0;j<size;j=j+1) {
\r
32 for(i=0;i<16;i=i+1){
\r
33 tmp_x_re = x_re[adx];
\r
34 tmp_x_im = x_im[adx];
\r
35 tmp_re = (tmp_x_re*c_re[i]-tmp_x_im*c_im[i])>>4;
\r
36 tmp_im = (tmp_x_re*c_im[i]+tmp_x_im*c_re[i])>>4;
\r
37 res_re = res_re + tmp_re;
\r
38 res_im = res_im + tmp_im;
\r
51 return comp_fir_complexe(t1,t2,t3,t4,t5,t6,16);
\r