/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | fft.c | 148 RexQx[k1] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc1Q14, akpQx, 14) - in WebRtcIsacfix_FftRadix16Fastest() 149 …(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss1Q14, bkpQx, 14); // 6 non-mul + 2 mul cycles, i.e. 8 … in WebRtcIsacfix_FftRadix16Fastest() 150 RexQx[k2] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc2Q14, ajpQx, 14) - in WebRtcIsacfix_FftRadix16Fastest() 151 (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss2Q14, bjpQx, 14); in WebRtcIsacfix_FftRadix16Fastest() 152 RexQx[k3] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc3Q14, akmQx, 14) - in WebRtcIsacfix_FftRadix16Fastest() 153 (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss3Q14, bkmQx, 14); in WebRtcIsacfix_FftRadix16Fastest() 154 ImxQx[k1] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss1Q14, akpQx, 14) + in WebRtcIsacfix_FftRadix16Fastest() 155 (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc1Q14, bkpQx, 14); in WebRtcIsacfix_FftRadix16Fastest() 156 ImxQx[k2] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss2Q14, ajpQx, 14) + in WebRtcIsacfix_FftRadix16Fastest() 157 (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc2Q14, bjpQx, 14); in WebRtcIsacfix_FftRadix16Fastest() [all …]
|
D | pitch_estimator.c | 179 … ysum32 += WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16) in[n],(WebRtc_Word16) in[n], scaling); // Q0 in PCorr2Q32() 180 csum32 += WEBRTC_SPL_MUL_16_16_RSFT((WebRtc_Word16) x[n],(WebRtc_Word16) in[n], scaling); // Q0 in PCorr2Q32() 205 ysum32 -= WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16) in[k-1],(WebRtc_Word16) in[k-1], scaling); in PCorr2Q32() 206 …ysum32 += WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16) in[PITCH_CORR_LEN2 + k - 1],(WebRtc_Word16) i… in PCorr2Q32() 326 tmp32b = WEBRTC_SPL_MUL_16_16_RSFT(oldgQ12,oldgQ12, 10); //Q12 & * 4.0; in WebRtcIsacfix_InitialPitch() 336 tmp32c = WEBRTC_SPL_MUL_16_16_RSFT(tmp16a,tmp16a, 6); //Q10 in WebRtcIsacfix_InitialPitch() 338 tmp32d = WEBRTC_SPL_MUL_16_16_RSFT(tmp16b, 177 , 8); // mult with ln2 in Q8 in WebRtcIsacfix_InitialPitch() 341 tmp32c = WEBRTC_SPL_MUL_16_16_RSFT(gain_bias16,tmp16d,13); // Q10 & * 0.5 in WebRtcIsacfix_InitialPitch() 419 tmp32b= WEBRTC_SPL_MUL_16_16_RSFT((WebRtc_Word16) tmp32a, -42, 8); in WebRtcIsacfix_InitialPitch() 444 tmp32c = WEBRTC_SPL_MUL_16_16_RSFT((WebRtc_Word16) tmp32b, (WebRtc_Word16) tmp32b, 8); // Q8 in WebRtcIsacfix_InitialPitch() [all …]
|
D | pitch_filter.c | 107 gainsQ12[k] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_PitchFilter() 113 if ((WEBRTC_SPL_MUL_16_16_RSFT(lagsQ7[0], 3, 1) < oldLagQ7) || in WebRtcIsacfix_PitchFilter() 114 (lagsQ7[0] > WEBRTC_SPL_MUL_16_16_RSFT(oldLagQ7, 3, 1))) { in WebRtcIsacfix_PitchFilter() 128 gaindeltaQ12 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_PitchFilter() 193 if ((WEBRTC_SPL_MUL_16_16_RSFT(lagsQ7[0], 3, 1) < oldLagQ7) || in WebRtcIsacfix_PitchFilterGains() 194 (lagsQ7[0] > WEBRTC_SPL_MUL_16_16_RSFT(oldLagQ7, 3, 1))) { in WebRtcIsacfix_PitchFilterGains()
|
D | decode_plc.c | 77 …*Out++ = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16)o, decay, 15); // ((o + (WebRtc_… in plc_filterma_Fast() 147 WEBRTC_SPL_MUL_16_16_RSFT( in, 983, 12) ); in MemshipValQ15() 166 WEBRTC_SPL_MUL_16_16_RSFT( in, 983, 12) ); in MemshipValQ15() 230 …out[ i ] = in[ j ] + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( diff, relativePos, RESAMP_RES_BIT ); in LinearResampler() 460 pitchGains_Q12[2] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() 462 pitchGains_Q12[1] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() 464 pitchGains_Q12[0] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() 544 pLP = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() 644 nLP = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() 665 pLP = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_DecodePlcImpl() [all …]
|
D | lpc_masking_model.c | 408 chngQ = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp, kChngFactor, 10); /* Q12 */ in WebRtcIsacfix_GetVars() 418 …pg3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(pgQ, pgQ,11); /* pgQ in Q(12+2)=Q14. Q14*Q14>>11 =>… in WebRtcIsacfix_GetVars() 419 pg3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(pgQ, pg3,13); /* Q17*Q14>>13 =>Q18 */ in WebRtcIsacfix_GetVars() 420 …pg3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(pg3, kMulPitchGain ,5); /* Q10 kMulPitchGain = -25… in WebRtcIsacfix_GetVars() 595 tmp16 = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT(snrq, 172, 10); // Q10 in WebRtcIsacfix_GetLpcCoef() 597 snrq = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT(tmp16b, 285, 10); // Q10 in WebRtcIsacfix_GetLpcCoef() 612 tmp16 = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT(aaQ14, aaQ14, 15); //Q14*Q14>>15 = Q13 in WebRtcIsacfix_GetLpcCoef() 617 tmpQQhi = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT(tmp16, tmp16, 14); //Q13*Q13>>14 = Q12 in WebRtcIsacfix_GetLpcCoef() 630 DataLoQ6[pos1] = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_GetLpcCoef() 632 DataHiQ6[pos1] = (WebRtc_Word16) WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcIsacfix_GetLpcCoef() [all …]
|
D | decode.c | 132 PitchGains_Q12[0] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(PitchGains_Q12[0], 700, 10 ); in WebRtcIsacfix_DecodeImpl() 138 …(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( (ISACdec_obj->plcstr_obj).overlapLP[k], overlapWin[RECOV… in WebRtcIsacfix_DecodeImpl() 139 (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( Vector_Word16_1[k], overlapWin[k], 14) ); in WebRtcIsacfix_DecodeImpl() 178 tmp32a = WEBRTC_SPL_MUL_16_16_RSFT(AvgPitchGain_Q12, 29, 0); // Q18 in WebRtcIsacfix_DecodeImpl()
|
D | entropy_coding.c | 85 …logN=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(log2,22713,15); //Q8*Q15 log(2) = 0.693147 = 22713 i… in CalcLogN() 110 ax=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(x, 23637, 14); //Q8 in CalcExpN() 119 ax=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(x, 23637, 14); //Q8 in CalcExpN() 650 larAbsQ17 = WEBRTC_SPL_MUL_16_16_RSFT(rc, 21512, 11); in Rc2LarFix() 653 larAbsQ17 = -465024 + WEBRTC_SPL_MUL_16_16_RSFT(rc, 29837, 10); in Rc2LarFix() 656 larAbsQ17 = -3324784 + WEBRTC_SPL_MUL_16_16_RSFT(rc, 31863, 8); in Rc2LarFix() 659 larAbsQ17 = -88546020 + WEBRTC_SPL_MUL_16_16_RSFT(rc, 21973, 3); in Rc2LarFix() 688 rc = WEBRTC_SPL_MUL_16_16_RSFT(larAbsQ11, 24957, 12); in Lar2RcFix() 697 rc = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16_RSFT(larAbsQ11, 24433, 16)) + 515804), 4); in Lar2RcFix() 871 …sumQQ += WEBRTC_SPL_MUL_16_16_RSFT(tmpcoeffs_sQ10[pos], WebRtcIsacfix_kT1ShapeQ15[model][pos2], 7)… in WebRtcIsacfix_DecodeLpcCoef() [all …]
|
D | encode.c | 115 …ISACenc_obj->s2nr = WebRtcIsacfix_GetSnr((WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ISACenc_obj->Bot… in WebRtcIsacfix_EncodeImpl() 351 LP16a[k] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(LP16a[k], scaleQ14[idx], 14); in WebRtcIsacfix_EncodeImpl() 352 LPandHP[k] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(LPandHP[k], scaleQ14[idx], 14); in WebRtcIsacfix_EncodeImpl()
|
D | filterbanks.c | 43 …a = WEBRTC_SPL_MUL_16_16_RSFT(-APSectionFactors[j], (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(b, 16), … in AllpassFilter2FixDec16()
|
/external/webrtc/src/common_audio/signal_processing/ |
D | cross_correlation.c | 169 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), right_shifts); in WebRtcSpl_CrossCorrelation() 221 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 225 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 229 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 233 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 237 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 241 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 245 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 249 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation() 257 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16_RSFT((*seq1Ptr), (*seq2Ptr), in WebRtcSpl_CrossCorrelation()
|
D | dot_product_with_scale.c | 35 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1++, *vector2++, scaling); in WebRtcSpl_DotProductWithScale() 67 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 70 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 73 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 76 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 83 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale()
|
D | auto_correlation.c | 78 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1++, *xptr2++, scaling); in WebRtcSpl_AutoCorrelation() 112 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 115 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 118 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 121 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 128 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation()
|
D | vector_scaling_operations.c | 108 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts); in WebRtcSpl_ScaleVector() 127 tmpW32 = WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts); in WebRtcSpl_ScaleVectorWithSat() 148 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(gain1, *in1ptr++, shift1) in WebRtcSpl_ScaleAndAddVectors() 149 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(gain2, *in2ptr++, shift2); in WebRtcSpl_ScaleAndAddVectors()
|
D | complex_fft.c | 347 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16_RSFT(wr, frfi[2 * j], 0) in WebRtcSpl_ComplexIFFT() 348 - WEBRTC_SPL_MUL_16_16_RSFT(wi, frfi[2 * j + 1], 0)), 15); in WebRtcSpl_ComplexIFFT() 351 (WEBRTC_SPL_MUL_16_16_RSFT(wr, frfi[2 * j + 1], 0) in WebRtcSpl_ComplexIFFT() 352 + WEBRTC_SPL_MUL_16_16_RSFT(wi,frfi[2*j],0)), 15); in WebRtcSpl_ComplexIFFT()
|
D | ilbc_specific_functions.c | 54 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, in WebRtcSpl_ReverseOrderMultArrayElements() 69 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, in WebRtcSpl_ElementwiseVectorMult()
|
D | energy.c | 30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling); in WebRtcSpl_Energy()
|
D | refl_coef_to_lpc.c | 45 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT((*aptr2), (*kptr), 15); in WebRtcSpl_ReflCoefToLpc()
|
/external/webrtc/src/common_audio/vad/ |
D | vad_gmm.c | 46 inv_std2 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(tmp16, tmp16, 2); in WebRtcVad_GaussianProbability() 57 *delta = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(inv_std2, tmp16, 10); in WebRtcVad_GaussianProbability() 62 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT(*delta, tmp16, 9); in WebRtcVad_GaussianProbability() 70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12); in WebRtcVad_GaussianProbability()
|
D | vad_sp.c | 39 WEBRTC_SPL_MUL_16_16_RSFT(kAllPassCoefsQ13[0], *signal_in, 14)); in WebRtcVad_Downsampling() 42 WEBRTC_SPL_MUL_16_16_RSFT(kAllPassCoefsQ13[0], tmp16_1, 12); in WebRtcVad_Downsampling() 46 WEBRTC_SPL_MUL_16_16_RSFT(kAllPassCoefsQ13[1], *signal_in, 14)); in WebRtcVad_Downsampling() 49 WEBRTC_SPL_MUL_16_16_RSFT(kAllPassCoefsQ13[1], tmp16_2, 12); in WebRtcVad_Downsampling()
|
D | vad_core.c | 523 delt = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ngprvec[nr], in WebRtcVad_GmmProbability() 525 nmk2 = nmk + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(delt, in WebRtcVad_GmmProbability() 533 nmk3 = nmk2 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ndelt, in WebRtcVad_GmmProbability() 552 delt = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sgprvec[nr], in WebRtcVad_GmmProbability() 555 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(delt, in WebRtcVad_GmmProbability() 573 tmp32_1 = WEBRTC_SPL_MUL_16_16_RSFT(deltaS[nr], tmp16, 3); in WebRtcVad_GmmProbability() 602 tmp32_1 = WEBRTC_SPL_MUL_16_16_RSFT(deltaN[nr], tmp16, 3) - 4096; in WebRtcVad_GmmProbability() 647 tmp16_1 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(13, tmp16, 2); in WebRtcVad_GmmProbability() 648 tmp16_2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(3, tmp16, 2); in WebRtcVad_GmmProbability()
|
D | vad_filterbank.c | 254 *log_energy = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLogConst, log2, 19) in WebRtcVad_LogOfEnergy() 255 + (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(shfts, kLogConst, 9); in WebRtcVad_LogOfEnergy()
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core_neon.c | 132 lmagn[i] = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(log2, log2_const, 15); in NoiseEstimationNeon() 269 tmp16 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(delta, countDiv, 14); in NoiseEstimationNeon() 280 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); in NoiseEstimationNeon() 374 *ptr_real = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(*ptr_real, in PrepareSpectrumNeon() 376 *ptr_imag = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(*ptr_imag, in PrepareSpectrumNeon()
|
D | nsx_core.c | 506 lmagn[i] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(log2, log2_const, 15); in NoiseEstimationC() 541 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(delta, countDiv, 14); in NoiseEstimationC() 552 tmp16no2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); in NoiseEstimationC() 599 inst->real[i] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(inst->real[i], in PrepareSpectrumC() 601 inst->imag[i] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(inst->imag[i], in PrepareSpectrumC() 1329 tmp32 += WEBRTC_SPL_MUL_16_16_RSFT((WebRtc_Word16)frac32, 5412, 12); in WebRtcNsx_SpeechNoiseProb() 1366 tmp16no2 += (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 1399 tmp16no2 += (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 1467 inst->priorNonSpeechProb += (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WebRtcNsx_SpeechNoiseProb() 1493 tmp32no2 += WEBRTC_SPL_MUL_16_16_RSFT(frac, 84, 7); // Q12 in WebRtcNsx_SpeechNoiseProb() [all …]
|
/external/webrtc/src/modules/audio_processing/aecm/ |
D | aecm_core.c | 374 fft[j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WindowAndFFTC() 378 fft[PART_LEN2 + j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WindowAndFFTC() 451 tmp32no1 = WEBRTC_SPL_MUL_16_16_RSFT( in InverseFFTAndWindowC() 963 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp16, FAR_ENERGY_VAD_REGION, 9); in WebRtcAecm_CalcEnergies() 1272 aecm->mseThreshold += WEBRTC_SPL_MUL_16_16_RSFT(mseAdapt in WebRtcAecm_UpdateChannel() 1273 - WEBRTC_SPL_MUL_16_16_RSFT(aecm->mseThreshold, 5, 3), 205, 8); in WebRtcAecm_UpdateChannel() 1471 tmp16no1 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(max_value, in TimeToFrequencyDomain() 1474 tmp16no2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(min_value, in TimeToFrequencyDomain() 1808 hnl[i] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(hnl[i], hnl[i], 14); in WebRtcAecm_ProcessBlock() 1866 hnl[i] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(hnl[i], nlpGain, 14); in WebRtcAecm_ProcessBlock() [all …]
|
/external/webrtc/src/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 116 #define WEBRTC_SPL_MUL_16_16_RSFT(a, b, c) \ macro 162 ((WebRtc_Word16)(WEBRTC_SPL_MUL_16_16_RSFT((a), 18816, 7) & 0x00007fff))
|