Home
last modified time | relevance | path

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

12

/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.c55 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()
227 yy = MAC16_16(yy, y[j],y[j]); in op_pvq_search_c()
228 xy = MAC16_16(xy, X[j],y[j]); in op_pvq_search_c()
243 yy = MAC16_16(yy, tmp, tmp); in op_pvq_search_c()
244 yy = MAC16_16(yy, tmp, y[0]); in op_pvq_search_c()
421 Emid = MAC16_16(Emid, m, m); in stereo_itheta()
422 Eside = MAC16_16(Eside, s, s); in stereo_itheta()
Dcelt_lpc.c123 sum = MAC16_16(sum,rnum[j],x[i+j-ord]); in celt_fir_c()
182 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
185 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
186 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
190 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
191 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
192 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
270 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()
233 sum = MAC16_16(sum, _x[j], _y[i+j]); in celt_pitch_xcorr_c()
Dfixed_generic.h139 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Darch.h250 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) macro
Dbands.c116 sum = MAC16_16(sum, EXTRACT16(SHR32(X[j+c*N],shift)), in compute_band_energies()
121 sum = MAC16_16(sum, EXTRACT16(SHL32(X[j+c*N],-shift)), in compute_band_energies()
408 X[j] = EXTRACT16(SHR32(MAC16_16(MULT16_16(a1, l), a2, r), 14)); in intensity_stereo()
Dquant_bands.c150 dist = MAC16_16(dist, d,d); in loss_distortion()
Dfixed_debug.h436 #define MAC16_16(c,a,b) (celt_mips-=2,ADD32((c),MULT16_16((a),(b)))) macro
/external/libopus/celt/arm/
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()
145 xy0 = MAC16_16(xy0, x[i + 0], y[i + 0]); in celt_inner_prod_neon_float_c_simulation()
146 xy1 = MAC16_16(xy1, x[i + 1], y[i + 1]); in celt_inner_prod_neon_float_c_simulation()
147 xy2 = MAC16_16(xy2, x[i + 2], y[i + 2]); in celt_inner_prod_neon_float_c_simulation()
148 xy3 = MAC16_16(xy3, x[i + 3], y[i + 3]); in celt_inner_prod_neon_float_c_simulation()
154 xy = MAC16_16(xy, x[i], y[i]); in celt_inner_prod_neon_float_c_simulation()
168 xy01_0 = MAC16_16(xy01_0, x[i + 0], y01[i + 0]); in dual_inner_prod_neon_float_c_simulation()
169 xy01_1 = MAC16_16(xy01_1, x[i + 1], y01[i + 1]); in dual_inner_prod_neon_float_c_simulation()
[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.h54 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
55 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); in exp_rotation1()
63 Xptr[stride] = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x2), s, x1), 15)); in exp_rotation1()
64 *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.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 …]
Dfixed_generic.h77 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) macro
Darch.h179 #define MAC16_16(c,a,b) ((c)+(spx_word32_t)(a)*(spx_word32_t)(b)) macro
Dfixed_debug.h268 #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()
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse4_1.c113 d = MAC16_16( d, x_ptr[ i ], x_ptr[ i - n ] ); in silk_burg_modified_sse4_1()
/external/libopus/src/
Dopus_encoder.c460 g = SHR32(MAC16_16(MULT16_16(w,g2), in stereo_fade()
492 g = SHR32(MAC16_16(MULT16_16(w,g2), in gain_fade()
501 g = SHR32(MAC16_16(MULT16_16(w,g2), in gain_fade()

12