Home
last modified time | relevance | path

Searched refs:MAC16_16 (Results 1 – 14 of 14) sorted by relevance

/external/speex/libspeex/
Dfilters.c104 mem[0] = ADD32(MAC16_16(mem[1], num[1],x[i]), SHL32(MULT16_32_Q15(-den[1],vout),1)); in highpass()
207 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
209 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
211 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
213 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
239 sum2 = MAC16_16(sum2,SHR16(x[i],1),SHR16(x[i],1)); in compute_rms16()
240 sum2 = MAC16_16(sum2,SHR16(x[i+1],1),SHR16(x[i+1],1)); in compute_rms16()
241 sum2 = MAC16_16(sum2,SHR16(x[i+2],1),SHR16(x[i+2],1)); in compute_rms16()
242 sum2 = MAC16_16(sum2,SHR16(x[i+3],1),SHR16(x[i+3],1)); in compute_rms16()
258 sum2 = MAC16_16(sum2,SHL16(x[i],sig_shift),SHL16(x[i],sig_shift)); in compute_rms16()
[all …]
Dfilters_bfin.h457 yi = MAC16_16(yi, awk2[j], -ytmp[i-j-1]);
458 yi2 = MAC16_16(yi2, ak[j], -y[i-j-1]);
486 yi = MAC16_16(yi, num[j], x[i-j-1]);
487 yi = MAC16_16(yi, den[j], -y[i-j-1]);
497 yi = MAC16_16(yi, num[j], x[i-j-1]);
498 yi = MAC16_16(yi, den[j], -y[i-j-1]);
509 m = MAC16_16(m, x[N-1-j], num[j+i]);
510 m = MAC16_16(m, -y[N-1-j], den[j+i]);
Dvq_arm4.h79 dist1 = MAC16_16(dist1,in[j],*code); in vq_nbest()
81 dist2 = MAC16_16(dist2,in[j],*code); in vq_nbest()
83 dist3 = MAC16_16(dist3,in[j],*code); in vq_nbest()
85 dist4 = MAC16_16(dist4,in[j],*code); in vq_nbest()
Dltp.c66 part = MAC16_16(part,*x++,*y++); in inner_prod()
67 part = MAC16_16(part,*x++,*y++); in inner_prod()
68 part = MAC16_16(part,*x++,*y++); in inner_prod()
69 part = MAC16_16(part,*x++,*y++); in inner_prod()
110 part1 = MAC16_16(part1,*x,y1);
111 part2 = MAC16_16(part2,*x,y2);
112 part3 = MAC16_16(part3,*x,y3);
113 part4 = MAC16_16(part4,*x,y0);
116 part1 = MAC16_16(part1,*x,y2);
117 part2 = MAC16_16(part2,*x,y3);
[all …]
Dcb_search_arm4.h94 resj0 = MAC16_16(resj0,*shape,r[j-k]);
96 resj1 = MAC16_16(resj1,*shape,r[j-k]);
98 resj2 = MAC16_16(resj2,*shape,r[j-k]);
100 resj3 = MAC16_16(resj3,*shape,r[j-k]);
Dfixed_arm5e.h47 #undef MAC16_16
48 static inline spx_word32_t MAC16_16(spx_word32_t a, spx_word16_t x, spx_word32_t y) { in MAC16_16() function
Dstereo.c240 …stereo->smooth_left = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_left, QCONST16(0.98, 15))… in speex_decode_stereo()
241 …stereo->smooth_right = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_right, QCONST16(0.98, 15… in speex_decode_stereo()
267 …stereo->smooth_left = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_left, QCONST16(0.98, 15))… in speex_decode_stereo_int()
268 …stereo->smooth_right = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_right, QCONST16(0.98, 15… in speex_decode_stereo_int()
Dvq.c84 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest()
118 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest_sign()
Dmdf.c225 part = MAC16_16(part,*x++,*y++); in mdf_inner_prod()
226 part = MAC16_16(part,*x++,*y++); in mdf_inner_prod()
265 tmp1 = MAC16_16(tmp1, X[j*N],TOP16(Y[j*N])); in spectral_mul_accum()
273 … tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],TOP16(Y[j*N+i])), MULT16_16(X[j*N+i+1],TOP16(Y[j*N+i+1]))); in spectral_mul_accum()
274 tmp2 = MAC16_16(MAC16_16(tmp2, X[j*N+i+1],TOP16(Y[j*N+i])), X[j*N+i], TOP16(Y[j*N+i+1])); in spectral_mul_accum()
282 tmp1 = MAC16_16(tmp1, X[(j+1)*N-1],TOP16(Y[(j+1)*N-1])); in spectral_mul_accum()
292 tmp1 = MAC16_16(tmp1, X[j*N],Y[j*N]); in spectral_mul_accum16()
300 tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],Y[j*N+i]), MULT16_16(X[j*N+i+1],Y[j*N+i+1])); in spectral_mul_accum16()
301 tmp2 = MAC16_16(MAC16_16(tmp2, X[j*N+i+1],Y[j*N+i]), X[j*N+i], Y[j*N+i+1]); in spectral_mul_accum16()
309 tmp1 = MAC16_16(tmp1, X[(j+1)*N-1],Y[(j+1)*N-1]); in spectral_mul_accum16()
[all …]
Dcb_search.c73 resj = MAC16_16(resj,shape[k],r[j-k]); in compute_weighted_codebook()
80 E[i]=MAC16_16(E[i],res16,res16); in compute_weighted_codebook()
373 tener = MAC16_16(tener, x[m],x[m]); in split_cb_search_shape_sign()
Darch.h187 #define MAC16_16(c,a,b) ((c)+(spx_word32_t)(a)*(spx_word32_t)(b)) macro
Dfixed_generic.h77 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Dquant_lsp.c112 dist=MAC16_16(dist,tmp,tmp); in lsp_quant()
Dfixed_debug.h268 #define MAC16_16(c,a,b) (spx_mips--,ADD32((c),MULT16_16((a),(b)))) macro