/external/libopus/celt/ |
D | pitch.h | 80 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel_c() 81 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel_c() 82 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel_c() 83 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel_c() 86 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel_c() 87 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel_c() 88 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel_c() 89 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel_c() 92 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel_c() 93 sum[1] = MAC16_16(sum[1],tmp,y_3); in xcorr_kernel_c() [all …]
|
D | vq.c | 55 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1() 56 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1() 64 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1() 65 *Xptr-- = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1() 237 yy = MAC16_16(yy, y[j],y[j]); in alg_quant() 238 xy = MAC16_16(xy, X[j],y[j]); in alg_quant() 253 yy = MAC16_16(yy, tmp, tmp); in alg_quant() 254 yy = MAC16_16(yy, tmp, y[0]); in alg_quant() 391 Emid = MAC16_16(Emid, m, m); in stereo_itheta() 392 Eside = MAC16_16(Eside, s, s); in stereo_itheta()
|
D | celt_lpc.c | 122 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir_c() 140 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir_c() 200 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir() 203 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir() 204 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir() 208 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir() 209 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir() 210 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir() 288 d = MAC16_16(d, xptr[i], xptr[i-k]); in _celt_autocorr()
|
D | cwrs.c | 494 yy=MAC16_16(yy,val,val); in cwrsi() 516 yy=MAC16_16(yy,val,val); in cwrsi() 530 yy=MAC16_16(yy,val,val); in cwrsi() 535 yy=MAC16_16(yy,val,val); in cwrsi() 625 yy=MAC16_16(yy,val,val); in cwrsi()
|
D | pitch.c | 127 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() 245 sum = MAC16_16(sum, _x[j], _y[i+j]); in celt_pitch_xcorr_c()
|
D | fixed_generic.h | 128 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
|
D | arch.h | 214 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) macro
|
/external/libopus/celt/arm/ |
D | celt_pitch_xcorr_arm_gnu.s | 288 SMLABB r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_0,y_0) 290 SMLABT r7, r12, r10, r7 @ sum[1] = MAC16_16(sum[1],x_0,y_1) 292 SMLABB r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_0,y_2) 293 SMLABT r9, r12, r11, r9 @ sum[3] = MAC16_16(sum[3],x_0,y_3) 294 SMLATT r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_1,y_1) 296 SMLATB r7, r12, r11, r7 @ sum[1] = MAC16_16(sum[1],x_1,y_2) 297 SMLATT r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_1,y_3) 298 SMLATB r9, r12, r10, r9 @ sum[3] = MAC16_16(sum[3],x_1,y_4) 300 SMLABB r6, r14, r11, r6 @ sum[0] = MAC16_16(sum[0],x_2,y_2) 301 SMLABT r7, r14, r11, r7 @ sum[1] = MAC16_16(sum[1],x_2,y_3) [all …]
|
D | fixed_armv5e.h | 103 #undef MAC16_16 116 #define MAC16_16(c, a, b) (MAC16_16_armv5e(c, a, b)) macro
|
/external/speex/libspeex/ |
D | filters.c | 104 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 …]
|
D | filters_bfin.h | 457 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]);
|
D | vq_arm4.h | 79 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()
|
D | ltp.c | 66 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 …]
|
D | cb_search_arm4.h | 94 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]);
|
D | fixed_arm5e.h | 47 #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
|
D | stereo.c | 240 …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()
|
D | vq.c | 84 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest() 118 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest_sign()
|
D | mdf.c | 225 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 …]
|
D | cb_search.c | 73 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()
|
D | fixed_generic.h | 77 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
|
D | arch.h | 187 #define MAC16_16(c,a,b) ((c)+(spx_word32_t)(a)*(spx_word32_t)(b)) macro
|
/external/libopus/celt/mips/ |
D | vq_mipsr1.h | 57 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1() 58 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1() 66 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1() 67 *Xptr-- = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
|
/external/libopus/celt/x86/ |
D | pitch_sse.c | 103 *xy1 = MAC16_16(*xy1, x[i], y01[i]); in dual_inner_prod_sse() 104 *xy2 = MAC16_16(*xy2, x[i], y02[i]); in dual_inner_prod_sse() 128 xy = MAC16_16(xy, x[i], y[i]); in celt_inner_prod_sse()
|
D | celt_lpc_sse.c | 97 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir_sse4_1() 124 sum = MAC16_16(sum, rnum[j], x[i + j]); in celt_fir_sse4_1()
|
/external/libopus/src/ |
D | mlp.c | 109 sum = MAC16_16(sum, in[k],*W++); 117 sum = MAC16_16(sum, hidden[k], *W++);
|