Home
last modified time | relevance | path

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

12

/external/libopus/celt/
Dpitch.h74 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel()
75 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel()
76 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel()
77 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel()
80 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel()
81 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel()
82 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel()
83 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel()
86 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel()
87 sum[1] = MAC16_16(sum[1],tmp,y_3); in xcorr_kernel()
[all …]
Dvq.c230 yy = MAC16_16(yy, y[j],y[j]); in alg_quant()
231 xy = MAC16_16(xy, X[j],y[j]); in alg_quant()
246 yy = MAC16_16(yy, tmp, tmp); in alg_quant()
247 yy = MAC16_16(yy, tmp, y[0]); in alg_quant()
338 Ryy = MAC16_16(Ryy, iy[i], iy[i]); in alg_unquant()
359 E = MAC16_16(E, *xptr, *xptr); in renormalise_vector()
392 Emid = MAC16_16(Emid, m, m); in stereo_itheta()
393 Eside = MAC16_16(Eside, s, s); in stereo_itheta()
401 Emid = MAC16_16(Emid, m, m); in stereo_itheta()
402 Eside = MAC16_16(Eside, s, s); in stereo_itheta()
Dcelt_lpc.c119 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
137 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
195 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
198 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
199 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
203 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
204 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
205 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
283 d = MAC16_16(d, xptr[i], xptr[i-k]); in _celt_autocorr()
Dpitch.c127 sum = MAC16_16(sum,num0,mem0); in celt_fir5()
128 sum = MAC16_16(sum,num1,mem1); in celt_fir5()
129 sum = MAC16_16(sum,num2,mem2); in celt_fir5()
130 sum = MAC16_16(sum,num3,mem3); in celt_fir5()
131 sum = MAC16_16(sum,num4,mem4); in celt_fir5()
235 sum = MAC16_16(sum, x[j],y[i+j]);
284 sum = MAC16_16(sum, _x[j],_y[i+j]); in celt_pitch_xcorr_c()
520 xy = MAC16_16(xy, x[i], x[i-T1]); in remove_doubling()
Dfixed_generic.h112 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Darch.h179 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) macro
/external/libopus/celt/arm/
Dcelt_pitch_xcorr_arm.s283 SMLABB r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_0,y_0)
285 SMLABT r7, r12, r10, r7 ; sum[1] = MAC16_16(sum[1],x_0,y_1)
287 SMLABB r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_0,y_2)
288 SMLABT r9, r12, r11, r9 ; sum[3] = MAC16_16(sum[3],x_0,y_3)
289 SMLATT r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_1,y_1)
291 SMLATB r7, r12, r11, r7 ; sum[1] = MAC16_16(sum[1],x_1,y_2)
292 SMLATT r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_1,y_3)
293 SMLATB r9, r12, r10, r9 ; sum[3] = MAC16_16(sum[3],x_1,y_4)
295 SMLABB r6, r14, r11, r6 ; sum[0] = MAC16_16(sum[0],x_2,y_2)
296 SMLABT r7, r14, r11, r7 ; sum[1] = MAC16_16(sum[1],x_2,y_3)
[all …]
Dfixed_armv5e.h86 #undef MAC16_16
99 #define MAC16_16(c, a, b) (MAC16_16_armv5e(c, a, b)) macro
/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
/external/libopus/src/
Dmlp.c104 sum = MAC16_16(sum, in[k],*W++);
112 sum = MAC16_16(sum, hidden[k], *W++);
/external/libopus/celt/x86/
Dpitch_sse.h99 *xy1 = MAC16_16(*xy1, x[i], y01[i]); in dual_inner_prod()
100 *xy2 = MAC16_16(*xy2, x[i], y02[i]); in dual_inner_prod()
/external/libopus/silk/fixed/
Dburg_modified_FIX.c105 d = MAC16_16( d, x_ptr[ i ], x_ptr[ i - n ] ); in silk_burg_modified()

12