/external/speex/libspeexdsp/ |
D | fixed_generic.h | 67 #define ADD32(a,b) ((spx_word32_t)(a)+(spx_word32_t)(b)) macro 77 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) 78 #define MULT16_32_Q12(a,b) ADD32(MULT16_16((a),SHR((b),12)), SHR(MULT16_16((a),((b)&0x00000fff)),12… 79 #define MULT16_32_Q13(a,b) ADD32(MULT16_16((a),SHR((b),13)), SHR(MULT16_16((a),((b)&0x00001fff)),13… 80 #define MULT16_32_Q14(a,b) ADD32(MULT16_16((a),SHR((b),14)), SHR(MULT16_16((a),((b)&0x00003fff)),14… 82 #define MULT16_32_Q11(a,b) ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11… 83 #define MAC16_32_Q11(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x0000… 85 #define MULT16_32_P15(a,b) ADD32(MULT16_16((a),SHR((b),15)), PSHR(MULT16_16((a),((b)&0x00007fff)),1… 86 #define MULT16_32_Q15(a,b) ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15… 87 #define MAC16_32_Q15(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x0000… [all …]
|
D | math_approx.h | 195 …return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))… in spx_cos() 199 …return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))… in spx_cos() 213 …return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32… in _spx_cos_pi_2() 281 …return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_… in spx_atan01()
|
D | fixed_debug.h | 164 #define PSHR32(a,shift) (SHR32(ADD32((a),((EXTEND32(1)<<((shift))>>1))),shift)) 205 #define ADD32(a, b) _ADD32(a, b, __FILE__, __LINE__) macro 268 #define MAC16_16(c,a,b) (spx_mips--,ADD32((c),MULT16_16((a),(b)))) 271 #define MAC16_16_P13(c,a,b) (EXTRACT16(ADD32((c),SHR32(ADD32(4096,MULT16_16((a),(b))),13)))) 309 #define MAC16_32_Q11(c,a,b) ADD32((c),MULT16_32_Q11((a),(b))) 315 #define MAC16_32_Q15(c,a,b) ADD32((c),MULT16_32_Q15((a),(b))) 484 #define PDIV32(a,b) DIV32(ADD32((a),(b)>>1),b) 485 #define PDIV32_16(a,b) DIV32_16(ADD32((a),(b)>>1),b)
|
D | preprocess.c | 305 …return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIF… in hypergeom_gain() 793 …spx_word32_t tot_noise = ADD32(ADD32(ADD32(EXTEND32(1), PSHR32(st->noise[i],NOISE_SHIFT)) , st->ec… in speex_preprocess_run() 800 …,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(st->old_ps[i],ADD32(st->old_ps[i],tot_… in speex_preprocess_run() 803 …st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gam… in speex_preprocess_run() 810 …st->zeta[0] = PSHR32(ADD32(MULT16_16(QCONST16(.7f,15),st->zeta[0]), MULT16_16(QCONST16(.3f,15),st-… in speex_preprocess_run() 812 …st->zeta[i] = PSHR32(ADD32(ADD32(ADD32(MULT16_16(QCONST16(.7f,15),st->zeta[i]), MULT16_16(QCONST16… in speex_preprocess_run() 815 …st->zeta[i] = PSHR32(ADD32(MULT16_16(QCONST16(.7f,15),st->zeta[i]), MULT16_16(QCONST16(.3f,15),st-… in speex_preprocess_run() 820 Zframe = ADD32(Zframe, EXTEND32(st->zeta[i])); in speex_preprocess_run() 823 …effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppres… in speex_preprocess_run()
|
D | kiss_fftr.c | 238 f2k.i = PSHR32(ADD32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),1); in kiss_fftr2() 240 f1kr = SHL32(ADD32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),13); in kiss_fftr2() 244 …twi = SHR32(ADD32(MULT16_16(f2k.i,st->super_twiddles[k].r),MULT16_16(f2k.r,st->super_twiddles[k].i… in kiss_fftr2()
|
D | mdf.c | 228 sum = ADD32(sum,SHR32(part,6)); in mdf_inner_prod() 494 sum = ADD32(sum, EXTEND32(st->prop[i])); in speex_echo_state_init_mc() 902 …st->Davg1 = ADD32(MULT16_32_Q15(QCONST16(.6f,15),st->Davg1), MULT16_32_Q15(QCONST16(.4f,15),SUB32(… in speex_echo_cancellation() 903 …st->Davg2 = ADD32(MULT16_32_Q15(QCONST16(.85f,15),st->Davg2), MULT16_32_Q15(QCONST16(.15f,15),SUB3… in speex_echo_cancellation() 977 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan]))); in speex_echo_cancellation() 1030 } else if (SHR32(Sff, 2) > ADD32(Sdd, SHR32(MULT16_16(N, 10000),6))) in speex_echo_cancellation() 1107 tmp32 = ADD32(SHR32(Sxx,13), ADD32(tmp32, SHL32(tmp32,1))); in speex_echo_cancellation() 1111 bound = FLOAT_DIVU(FLOAT_MULT(bound, bound), PSEUDOFLOAT(ADD32(1,Syy))); in speex_echo_cancellation() 1172 …st->power_1[i] = FLOAT_SHL(FLOAT_DIV32(EXTEND32(adapt_rate),ADD32(st->power[i],10)),WEIGHT_SHIFT+1… in speex_echo_cancellation() 1176 st->sum_adapt = ADD32(st->sum_adapt,adapt_rate); in speex_echo_cancellation()
|
D | kiss_fft.c | 55 ti = SHR32(ADD32(MULT16_16(Fout2->i , tw1->r),MULT16_16(Fout2->r , tw1->i)), 1); in kf_bfly2() 59 Fout->r = PSHR32(ADD32(SHL32(EXTEND32(Fout->r), 14), tr), 15); in kf_bfly2() 60 Fout->i = PSHR32(ADD32(SHL32(EXTEND32(Fout->i), 14), ti), 15); in kf_bfly2()
|
D | arch.h | 175 #define ADD32(a,b) ((a)+(b)) macro
|
/external/libopus/celt/ |
D | celt.c | 112 t = MAC16_32_Q16(t, g11, ADD32(x1,x3)); in comb_filter_const_c() 113 t = MAC16_32_Q16(t, g12, ADD32(x0,x4)); in comb_filter_const_c() 118 t = MAC16_32_Q16(t, g11, ADD32(x0,x2)); in comb_filter_const_c() 119 t = MAC16_32_Q16(t, g12, ADD32(x4,x3)); in comb_filter_const_c() 124 t = MAC16_32_Q16(t, g11, ADD32(x4,x1)); in comb_filter_const_c() 125 t = MAC16_32_Q16(t, g12, ADD32(x3,x2)); in comb_filter_const_c() 130 t = MAC16_32_Q16(t, g11, ADD32(x3,x0)); in comb_filter_const_c() 131 t = MAC16_32_Q16(t, g12, ADD32(x2,x1)); in comb_filter_const_c() 136 t = MAC16_32_Q16(t, g11, ADD32(x2,x4)); in comb_filter_const_c() 137 t = MAC16_32_Q16(t, g12, ADD32(x1,x0)); in comb_filter_const_c() [all …]
|
D | fixed_generic.h | 43 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x0000ffff)),… 50 #define MULT16_32_P16(a,b) ADD32(MULT16_16((a),SHR((b),16)), PSHR(MULT16_16SU((a),((b)&0x0000ffff))… 57 #define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),((b)&0x0000… 64 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL(MULT16_16(SHR((a),16),SHR((b),16)),1), SHR(MULT16_16SU(S… 119 #define ADD32(a,b) ((opus_val32)(a)+(opus_val32)(b)) macro 139 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) 143 #define MAC16_32_Q15(c,a,b) ADD32((c),ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00… 147 #define MAC16_32_Q16(c,a,b) ADD32((c),ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x… 155 #define MULT16_16_P13(a,b) (SHR(ADD32(4096,MULT16_16((a),(b))),13)) 156 #define MULT16_16_P14(a,b) (SHR(ADD32(8192,MULT16_16((a),(b))),14)) [all …]
|
D | mathops.c | 81 result = ADD32(result, SHL32(MULT16_32_Q15(rcp, rem),2)); in frac_div32() 148 …return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32… in _celt_cos_pi_2()
|
D | fixed_debug.h | 45 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL32(MULT16_16(SHR32((a),16),SHR((b),16)),1), SHR32(MULT16_… 48 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR32((b),16)), SHR32(MULT16_16SU((a),((b)&0x0000fff… 234 #define PSHR32(a,shift) (celt_mips--,SHR32(ADD32((a),(((opus_val32)(1)<<((shift))>>1))),shift)) 289 #define ADD32(a, b) ADD32_(a, b, __FILE__, __LINE__) macro 436 #define MAC16_16(c,a,b) (celt_mips-=2,ADD32((c),MULT16_16((a),(b)))) 505 #define MAC16_32_Q15(c,a,b) (celt_mips-=2,ADD32((c),MULT16_32_Q15((a),(b)))) 506 #define MAC16_32_Q16(c,a,b) (celt_mips-=2,ADD32((c),MULT16_32_Q16((a),(b))))
|
D | mathops.h | 262 …return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_… in celt_atan01()
|
D | vq.c | 270 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[0])),rshift)); in op_pvq_search_c() 282 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[j])),rshift)); in op_pvq_search_c() 304 xy = ADD32(xy, EXTEND32(X[best_id])); in op_pvq_search_c()
|
D | fixed_c5x.h | 71 #define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),(b)),15))
|
D | celt_encoder.c | 286 y = ADD32(mem0, x); in transient_analysis() 361 norm = SHL32(EXTEND32(len2),6+14)/ADD32(EPSILON,SHR32(mean,1)); in transient_analysis() 440 mean_diff = ADD32(mean_diff, EXTEND32(MAX16(0, SUB16(x1, x2)))); in patch_transient_decision() 481 out[i] = ADD32(HALF32(out[i]), HALF32(out[B*N+i])); in compute_mdcts() 895 M = ADD32(L, R); in stereo_analysis() 897 sumLR = ADD32(sumLR, ADD32(ABS32(L), ABS32(R))); in stereo_analysis() 898 sumMS = ADD32(sumMS, ADD32(ABS32(M), ABS32(S))); in stereo_analysis()
|
D | bands.c | 228 lg = SATURATE16(ADD32(bandLogE[i], SHL32((opus_val32)eMeans[i],6))); in denormalise_bands() 379 Ex = ADD32(Ex, minE/3); in compute_channel_weights() 380 Ey = ADD32(Ey, minE/3); in compute_channel_weights() 421 X[j] = EXTRACT16(SHR32(ADD32(l, r), 15)); in stereo_split() 642 X[stride*2*j+i] = EXTRACT16(PSHR32(ADD32(tmp1, tmp2), 15)); in haar1()
|
D | arch.h | 244 #define ADD32(a,b) ((a)+(b)) macro
|
/external/libopus/celt/mips/ |
D | celt_mipsr1.h | 104 …ADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15((Q15ONE-f),g01)), "r" ((int)ADD32(x[i-T0-1],x[i-T0+1… in comb_filter() 105 …ADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15((Q15ONE-f),g02)), "r" ((int)ADD32(x[i-T0-2],x[i-T0+2… in comb_filter() 107 … asm volatile("MADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15(f,g11)), "r" ((int)ADD32(x3,x1))); in comb_filter() 108 … asm volatile("MADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15(f,g12)), "r" ((int)ADD32(x4,x0))); in comb_filter() 140 asm volatile("MADD $ac1, %0, %1" : : "r" ((int)g11), "r" ((int)ADD32(x3,x1))); in comb_filter() 141 asm volatile("MADD $ac1, %0, %1" : : "r" ((int)g12), "r" ((int)ADD32(x4,x0))); in comb_filter()
|
/external/libopus/celt/arm/ |
D | fixed_armv4.h | 69 #define MAC16_32_Q15(c, a, b) ADD32(c, MULT16_32_Q15(a, b)) 74 #define MAC16_32_Q16(c, a, b) ADD32(c, MULT16_32_Q16(a, b))
|
/external/libopus/src/ |
D | analysis.c | 131 out32 = ADD32( S[ 0 ], X ); in silk_resampler_down2_hp() 132 S[ 0 ] = ADD32( in32, X ); in silk_resampler_down2_hp() 140 out32 = ADD32( out32, S[ 1 ] ); in silk_resampler_down2_hp() 141 out32 = ADD32( out32, X ); in silk_resampler_down2_hp() 142 S[ 1 ] = ADD32( in32, X ); in silk_resampler_down2_hp() 146 out32_hp = ADD32( out32_hp, S[ 2 ] ); in silk_resampler_down2_hp() 147 out32_hp = ADD32( out32_hp, X ); in silk_resampler_down2_hp() 148 S[ 2 ] = ADD32( -in32, X ); in silk_resampler_down2_hp()
|
/external/libopus/celt/x86/ |
D | pitch_sse.c | 178 + MULT16_32_Q15(g11,ADD32(x[i-T+1],x[i-T-1])) in comb_filter_const_sse() 179 + MULT16_32_Q15(g12,ADD32(x[i-T+2],x[i-T-2])); in comb_filter_const_sse()
|
D | celt_lpc_sse4_1.c | 83 y[i] = SATURATE16(ADD32(EXTEND32(x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir_sse4_1()
|
D | vq_sse2.c | 193 xy = ADD32(xy, EXTEND32(X[best_id])); in op_pvq_search_sse2()
|
/external/elfutils/backends/ |
D | riscv_reloc.def | 61 RELOC_TYPE (ADD32, REL)
|