/external/libopus/celt/ |
D | celt.c | 103 x4 = SHL32(x[-T-2], 1); in comb_filter_const_c() 104 x3 = SHL32(x[-T-1], 1); in comb_filter_const_c() 105 x2 = SHL32(x[-T], 1); in comb_filter_const_c() 106 x1 = SHL32(x[-T+1], 1); in comb_filter_const_c() 110 x0=SHL32(x[i-T+2],1); in comb_filter_const_c() 116 x4=SHL32(x[i-T+3],1); in comb_filter_const_c() 122 x3=SHL32(x[i-T+4],1); in comb_filter_const_c() 128 x2=SHL32(x[i-T+5],1); in comb_filter_const_c() 134 x1=SHL32(x[i-T+6],1); in comb_filter_const_c() 145 x0=SHL32(x[i-T+2],1); in comb_filter_const_c()
|
D | celt_lpc.c | 61 r = -frac_div32(SHL32(rr,3), error); in _celt_lpc() 109 sum[0] = SHL32(EXTEND32(x[i ]), SIG_SHIFT); in celt_fir_c() 110 sum[1] = SHL32(EXTEND32(x[i+1]), SIG_SHIFT); in celt_fir_c() 111 sum[2] = SHL32(EXTEND32(x[i+2]), SIG_SHIFT); in celt_fir_c() 112 sum[3] = SHL32(EXTEND32(x[i+3]), SIG_SHIFT); in celt_fir_c() 121 opus_val32 sum = SHL32(EXTEND32(x[i]), SIG_SHIFT); in celt_fir_c() 276 ac[0] += SHL32((opus_int32)1, -shift); in _celt_autocorr() 281 ac[i] = SHL32(ac[i], shift2); in _celt_autocorr()
|
D | mathops.c | 81 result = ADD32(result, SHL32(MULT16_32_Q15(rcp, rem),2)); in frac_div32() 87 return SHL32(result, 2); in frac_div32() 160 if (x>SHL32(EXTEND32(1), 16)) in celt_cos_norm() 161 x = SUB32(SHL32(EXTEND32(1), 17),x); in celt_cos_norm() 164 if (x<SHL32(EXTEND32(1), 15)) in celt_cos_norm()
|
D | quant_bands.c | 194 f = SHL32(EXTEND32(x),7) - PSHR32(MULT16_16(coef,oldE), 8) - prev[c]; in quant_coarse_energy_impl() 248 q = (opus_val32)SHL32(EXTEND32(qi),DB_SHIFT); in quant_coarse_energy_impl() 250 tmp = PSHR32(MULT16_16(coef,oldE),8) + prev[c] + SHL32(q,7); in quant_coarse_energy_impl() 255 prev[c] = prev[c] + SHL32(q,7) - MULT16_16(beta,PSHR32(q,8)); in quant_coarse_energy_impl() 289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3)); in quant_coarse_energy() 387 …offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.… in quant_fine_energy() 480 q = (opus_val32)SHL32(EXTEND32(qi),DB_SHIFT); in unquant_coarse_energy() 483 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7); in unquant_coarse_energy() 488 prev[c] = prev[c] + SHL32(q,7) - MULT16_16(beta,PSHR32(q,8)); in unquant_coarse_energy() 507 …offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.… in unquant_fine_energy()
|
D | fixed_generic.h | 90 #define SHL32(a,shift) ((opus_int32)((opus_uint32)(a)<<(shift))) macro 95 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) 99 #define SHL(a,shift) SHL32(a,shift)
|
D | mathops.h | 276 arg = celt_div(SHL32(EXTEND32(y),15),x); in celt_atan2p() 282 arg = celt_div(SHL32(EXTEND32(x),15),y); in celt_atan2p()
|
D | bands.c | 121 sum = MAC16_16(sum, EXTRACT16(SHL32(X[j+c*N],-shift)), in compute_band_energies() 122 EXTRACT16(SHL32(X[j+c*N],-shift))); in compute_band_energies() 149 g = EXTRACT16(celt_rcp(SHL32(E,3))); in normalise_bands() 228 lg = SATURATE16(ADD32(bandLogE[i], SHL32((opus_val32)eMeans[i],6))); in denormalise_bands() 254 *f++ = SHL32(MULT16_16(*x++, g), -shift); in denormalise_bands() 295 t = SHL32(t, (7-shift)<<1); in anti_collapse() 401 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); in intensity_stereo() 402 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm); in intensity_stereo() 1225 n = celt_sqrt(SHL32(EXTEND32(N0),22)); in quant_band()
|
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_… 211 #define SHL32(a, shift) SHL32_(a, shift, __FILE__, __LINE__) macro 235 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
|
D | celt_encoder.c | 288 mem0 = mem1 + y - SHL32(x,1); in transient_analysis() 361 norm = SHL32(EXTEND32(len2),6+14)/ADD32(EPSILON,SHR32(mean,1)); in transient_analysis() 400 …*tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… in transient_analysis() 515 inp[i] = SHL32(x, SIG_SHIFT) - m; in celt_preemphasis() 562 inp[i] = SHL32(x, SIG_SHIFT) - m; in celt_preemphasis() 1346 target += (opus_int32)SHL32(MULT16_32_Q15(tf_estimate-tf_calibration, target),1); in compute_vbr() 2134 alpha = celt_rcp(SHL32(EXTEND32(st->vbr_count+20),16)); in celt_encode_with_ec()
|
D | arch.h | 227 #define SHL32(a,shift) (a) macro
|
D | mdct.c | 91 trig[i] = TRIG_UPSCALE*celt_cos_norm(DIV32(ADD32(SHL32(EXTEND32(i),17),N2+16384),N)); in clt_mdct_init()
|
D | pitch.c | 124 opus_val32 sum = SHL32(EXTEND32(x[i]), SIG_SHIFT); in celt_fir5()
|
/external/libopus/celt/arm/ |
D | kiss_fft_armv5e.h | 61 (m).r = SHL32(SUB32(mr1__, mr2__), 1); \ 62 (m).i = SHL32(mi__, 1); \ 111 (m).r = SHL32(mr__, 1); \ 112 (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
|
D | fixed_armv4.h | 40 : "%r"(b),"r"(SHL32(a,16)) in MULT16_32_Q16_armv4() 57 : "%r"(b), "r"(SHL32(a,16)) in MULT16_32_Q15_armv4() 60 return SHL32(rd_hi,1); in MULT16_32_Q15_armv4()
|
D | fixed_armv5e.h | 62 return SHL32(res,1); in MULT16_32_Q15_armv5e() 79 : "r"(SHL32(b,1)), "r"(a), "r"(c) in MAC16_32_Q15_armv5e()
|
/external/speex/libspeexdsp/ |
D | preprocess.c | 113 a = SHL32(a,8); in DIV32_16_Q8() 139 a = SHL32(a,15)-a; in DIV32_16_Q15() 277 …tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2))… in conj_window() 280 w[i]=spx_sqrt(SHL32(EXTEND32(tmp),15)); in conj_window() 306 frac = SHL32(xx-SHL32(ind,10),5); in hypergeom_gain() 307 …return SHL32(DIV32_16(PSHR32(MULT16_16(Q15_ONE-frac,table[ind]) + MULT16_16(frac,table[ind+1]),7),… in hypergeom_gain() 313 …return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,… in qcurve() 330 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[… in compute_gain_floor() 340 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(MULT16_32_Q15(gain_ratio,PSHR32(noise[i],NOISE_SHIFT)) + echo… in compute_gain_floor() 778 …MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st->ps[i],NOISE_SH… in speex_preprocess_run() [all …]
|
D | math_approx.h | 174 ret = spx_sqrt(SHL32(EXTEND32(sq),13)); in spx_acos() 219 if (x>SHL32(EXTEND32(1), 16)) in spx_cos_norm() 220 x = SUB32(SHL32(EXTEND32(1), 17),x); in spx_cos_norm() 223 if (x<SHL32(EXTEND32(1), 15)) in spx_cos_norm() 299 x = DIV32_16(SHL32(EXTEND32(32767),29-e), EXTRACT16(SHR32(x, e-14))); in spx_atan()
|
D | fixed_generic.h | 48 #define SHL32(a,shift) ((a) << (shift)) macro 51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) 55 #define SATURATE32PSHR(x,shift,a) (((x)>=(SHL32(a,shift))) ? (a) : \ 56 (x)<=-(SHL32(a,shift)) ? -(a) : \
|
D | mdf.c | 206 spx_word32_t vout = mem[0] + SHL32(EXTEND32(vin),15); in filter_dc_notch16() 208 mem[0] = mem[1] + SHL32(SHL32(-EXTEND32(vin),15) + MULT16_32_Q15(radius,vout),1); in filter_dc_notch16() 212 mem[1] = SHL32(EXTEND32(vin),15) - MULT16_32_Q15(den2,vout); in filter_dc_notch16() 434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc() 436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc() 437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc() 859 …st->W[chan*N*K*M + j*N*K + speak*N + i] -= SHL32(EXTEND32(st->wtmp2[i]),16+NORMALIZE_SCALEDOWN-NOR… in speex_echo_cancellation() 949 st->W[i] = SHL32(EXTEND32(st->foreground[i]),16); in speex_echo_cancellation() 1107 tmp32 = ADD32(SHR32(Sxx,13), ADD32(tmp32, SHL32(tmp32,1))); in speex_echo_cancellation() 1130 …if (!st->adapted && st->sum_adapt > SHL32(EXTEND32(M),15) && MULT16_32_Q15(st->leak_estimate,Syy) … in speex_echo_cancellation() [all …]
|
D | kiss_fft.c | 57 Fout2->r = PSHR32(SUB32(SHL32(EXTEND32(Fout->r), 14), tr), 15); in kf_bfly2() 58 Fout2->i = PSHR32(SUB32(SHL32(EXTEND32(Fout->i), 14), ti), 15); 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() 486 kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft)); in kiss_fft_alloc()
|
D | pseudofloat.h | 274 if (ABS32(a)>=SHL32(EXTEND32(b.m-1),15)) in FLOAT_DIV32_FLOAT() 302 if (ABS32(a)>=SHL32(EXTEND32(b-1),15)) in FLOAT_DIV32() 341 m = SHL32(EXTEND32(a.m), 14); in FLOAT_SQRT()
|
D | kiss_fftr.c | 67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft)); in kiss_fftr_alloc() 240 f1kr = SHL32(ADD32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),13); in kiss_fftr2() 241 f1ki = SHL32(SUB32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),13); in kiss_fftr2()
|
D | fixed_debug.h | 147 static inline int SHL32(long long a, int shift) in SHL32() function 165 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
|
D | arch.h | 160 #define SHL32(a,shift) (a) macro
|
D | filterbank.c | 62 df = DIV32(SHL32(sampling,15),MULT16_16(2,len)); in filterbank_new()
|