Home
last modified time | relevance | path

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

12

/external/rnnoise/src/
Dpitch.h67 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel()
68 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel()
69 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel()
70 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel()
73 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel()
74 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel()
75 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel()
76 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel()
79 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel()
80 sum[1] = MAC16_16(sum[1],tmp,y_3); in xcorr_kernel()
[all …]
Dcelt_lpc.c119 sum = MAC16_16(sum,rnum[j],x[i+j-ord]); in celt_fir()
171 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
174 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
175 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
179 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
180 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
181 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
254 d = MAC16_16(d, xptr[i], xptr[i-k]); in _celt_autocorr()
Dpitch.c128 sum = MAC16_16(sum,num0,mem0); in celt_fir5()
129 sum = MAC16_16(sum,num1,mem1); in celt_fir5()
130 sum = MAC16_16(sum,num2,mem2); in celt_fir5()
131 sum = MAC16_16(sum,num3,mem3); in celt_fir5()
132 sum = MAC16_16(sum,num4,mem4); in celt_fir5()
232 sum = MAC16_16(sum, _x[j], _y[i+j]); in celt_pitch_xcorr()
Darch.h223 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) macro
/external/libopus/celt/
Dpitch.h79 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel_c()
80 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel_c()
81 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel_c()
82 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel_c()
85 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel_c()
86 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel_c()
87 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel_c()
88 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel_c()
91 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel_c()
92 sum[1] = MAC16_16(sum[1],tmp,y_3); in xcorr_kernel_c()
[all …]
Dvq.c59 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
60 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
68 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
69 *Xptr-- = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
231 yy = MAC16_16(yy, y[j],y[j]); in op_pvq_search_c()
232 xy = MAC16_16(xy, X[j],y[j]); in op_pvq_search_c()
247 yy = MAC16_16(yy, tmp, tmp); in op_pvq_search_c()
248 yy = MAC16_16(yy, tmp, y[0]); in op_pvq_search_c()
425 Emid = MAC16_16(Emid, m, m); in stereo_itheta()
426 Eside = MAC16_16(Eside, s, s); in stereo_itheta()
Dcelt_lpc.c171 sum = MAC16_16(sum,rnum[j],x[i+j-ord]); in celt_fir_c()
230 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
233 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
234 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
238 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
239 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
240 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
318 d = MAC16_16(d, xptr[i], xptr[i-k]); in _celt_autocorr()
Dcwrs.c494 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()
Dpitch.c125 sum = MAC16_16(sum,num0,mem0); in celt_fir5()
126 sum = MAC16_16(sum,num1,mem1); in celt_fir5()
127 sum = MAC16_16(sum,num2,mem2); in celt_fir5()
128 sum = MAC16_16(sum,num3,mem3); in celt_fir5()
129 sum = MAC16_16(sum,num4,mem4); in celt_fir5()
242 sum = MAC16_16(sum, _x[j], _y[i+j]); in celt_pitch_xcorr_c()
Dfixed_generic.h149 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Darch.h253 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) macro
/external/libopus/celt/arm/
Dcelt_pitch_xcorr_arm.s287 SMLABB r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_0,y_0)
289 SMLABT r7, r12, r10, r7 ; sum[1] = MAC16_16(sum[1],x_0,y_1)
291 SMLABB r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_0,y_2)
292 SMLABT r9, r12, r11, r9 ; sum[3] = MAC16_16(sum[3],x_0,y_3)
293 SMLATT r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_1,y_1)
295 SMLATB r7, r12, r11, r7 ; sum[1] = MAC16_16(sum[1],x_1,y_2)
296 SMLATT r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_1,y_3)
297 SMLATB r9, r12, r10, r9 ; sum[3] = MAC16_16(sum[3],x_1,y_4)
299 SMLABB r6, r14, r11, r6 ; sum[0] = MAC16_16(sum[0],x_2,y_2)
300 SMLABT r7, r14, r11, r7 ; sum[1] = MAC16_16(sum[1],x_2,y_3)
[all …]
Dcelt_pitch_xcorr_arm_gnu.s290 SMLABB r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_0,y_0)
292 SMLABT r7, r12, r10, r7 @ sum[1] = MAC16_16(sum[1],x_0,y_1)
294 SMLABB r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_0,y_2)
295 SMLABT r9, r12, r11, r9 @ sum[3] = MAC16_16(sum[3],x_0,y_3)
296 SMLATT r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_1,y_1)
298 SMLATB r7, r12, r11, r7 @ sum[1] = MAC16_16(sum[1],x_1,y_2)
299 SMLATT r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_1,y_3)
300 SMLATB r9, r12, r10, r9 @ sum[3] = MAC16_16(sum[3],x_1,y_4)
302 SMLABB r6, r14, r11, r6 @ sum[0] = MAC16_16(sum[0],x_2,y_2)
303 SMLABT r7, r14, r11, r7 @ sum[1] = MAC16_16(sum[1],x_2,y_3)
[all …]
Dpitch_neon_intr.c65 xy = MAC16_16(xy, x[i], y[i]); in celt_inner_prod_neon()
113 xy01 = MAC16_16(xy01, x[i], y01[i]); in dual_inner_prod_neon()
114 xy02 = MAC16_16(xy02, x[i], y02[i]); in dual_inner_prod_neon()
146 xy0 = MAC16_16(xy0, x[i + 0], y[i + 0]); in celt_inner_prod_neon_float_c_simulation()
147 xy1 = MAC16_16(xy1, x[i + 1], y[i + 1]); in celt_inner_prod_neon_float_c_simulation()
148 xy2 = MAC16_16(xy2, x[i + 2], y[i + 2]); in celt_inner_prod_neon_float_c_simulation()
149 xy3 = MAC16_16(xy3, x[i + 3], y[i + 3]); in celt_inner_prod_neon_float_c_simulation()
157 xy = MAC16_16(xy, x[i], y[i]); in celt_inner_prod_neon_float_c_simulation()
207 xy = MAC16_16(xy, x[i], y[i]); in celt_inner_prod_neon()
262 xy01 = MAC16_16(xy01, x[i], y01[i]); in dual_inner_prod_neon()
[all …]
Dfixed_armv5e.h103 #undef MAC16_16
116 #define MAC16_16(c, a, b) (MAC16_16_armv5e(c, a, b)) macro
/external/libopus/celt/mips/
Dvq_mipsr1.h52 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
53 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
61 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
62 *Xptr-- = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
/external/speex/libspeexdsp/
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
Dmdf.c219 part = MAC16_16(part,*x++,*y++); in mdf_inner_prod()
220 part = MAC16_16(part,*x++,*y++); in mdf_inner_prod()
259 tmp1 = MAC16_16(tmp1, X[j*N],TOP16(Y[j*N])); in spectral_mul_accum()
267 … 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()
268 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()
276 tmp1 = MAC16_16(tmp1, X[(j+1)*N-1],TOP16(Y[(j+1)*N-1])); in spectral_mul_accum()
286 tmp1 = MAC16_16(tmp1, X[j*N],Y[j*N]); in spectral_mul_accum16()
294 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()
295 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()
303 tmp1 = MAC16_16(tmp1, X[(j+1)*N-1],Y[(j+1)*N-1]); in spectral_mul_accum16()
[all …]
Dfixed_generic.h79 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Darch.h182 #define MAC16_16(c,a,b) ((c)+(spx_word32_t)(a)*(spx_word32_t)(b)) macro
Dfixed_debug.h283 #define MAC16_16(c,a,b) (spx_mips--,ADD32((c),MULT16_16((a),(b)))) macro
/external/libopus/celt/x86/
Dpitch_sse.c103 *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()
Dvq_sse2.c145 yy = MAC16_16(yy, tmp, tmp); in op_pvq_search_sse2()
146 yy = MAC16_16(yy, tmp, y[0]); in op_pvq_search_sse2()
Dcelt_lpc_sse4_1.c82 sum = MAC16_16(sum, rnum[j], x[i+j-ord]); in celt_fir_sse4_1()
/external/libopus/silk/fixed/
Dburg_modified_FIX.c101 d = MAC16_16( d, x_ptr[ i ], x_ptr[ i - n ] ); in silk_burg_modified_c()

12