/external/webrtc/src/common_audio/signal_processing/ |
D | levinson_durbin.c | 82 temp1W32 = (((WEBRTC_SPL_MUL_16_16(K_hi, K_low) >> 14) + WEBRTC_SPL_MUL_16_16(K_hi, K_hi)) in WebRtcSpl_LevinsonDurbin() 94 temp1W32 = ((WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_hi) in WebRtcSpl_LevinsonDurbin() 95 + (WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_low) >> 15) in WebRtcSpl_LevinsonDurbin() 96 + (WEBRTC_SPL_MUL_16_16(R_low[0], tmp_hi) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin() 122 temp1W32 += ((WEBRTC_SPL_MUL_16_16(R_hi[j], A_hi[i-j]) << 1) in WebRtcSpl_LevinsonDurbin() 123 + (((WEBRTC_SPL_MUL_16_16(R_hi[j], A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin() 124 + (WEBRTC_SPL_MUL_16_16(R_low[j], A_hi[i-j]) >> 15)) << 1)); in WebRtcSpl_LevinsonDurbin() 186 temp1W32 += ((WEBRTC_SPL_MUL_16_16(K_hi, A_hi[i-j]) in WebRtcSpl_LevinsonDurbin() 187 + (WEBRTC_SPL_MUL_16_16(K_hi, A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin() 188 + (WEBRTC_SPL_MUL_16_16(K_low, A_hi[i-j]) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin() [all …]
|
D | division_operations.c | 110 tmpW32 = (WEBRTC_SPL_MUL_16_16(den_hi, approx) << 1) in WebRtcSpl_DivW32HiLow() 111 + ((WEBRTC_SPL_MUL_16_16(den_low, approx) >> 15) << 1); in WebRtcSpl_DivW32HiLow() 122 tmpW32 = ((WEBRTC_SPL_MUL_16_16(tmp_hi, approx) + (WEBRTC_SPL_MUL_16_16(tmp_low, approx) in WebRtcSpl_DivW32HiLow() 137 tmpW32 = (WEBRTC_SPL_MUL_16_16(num_hi, tmp_hi) + (WEBRTC_SPL_MUL_16_16(num_hi, tmp_low) in WebRtcSpl_DivW32HiLow() 138 >> 15) + (WEBRTC_SPL_MUL_16_16(num_low, tmp_hi) >> 15)); in WebRtcSpl_DivW32HiLow()
|
D | complex_fft.c | 198 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT() 199 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1])), 15); in WebRtcSpl_ComplexFFT() 201 ti32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT() 202 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j])), 15); in WebRtcSpl_ComplexFFT() 256 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT() 257 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CFFTRND; in WebRtcSpl_ComplexFFT() 259 ti32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT() 260 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j]) + CFFTRND; in WebRtcSpl_ComplexFFT() 397 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexIFFT() 398 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CIFFTRND; in WebRtcSpl_ComplexIFFT() [all …]
|
D | cross_correlation.c | 182 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 185 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 188 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 191 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 194 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 197 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 200 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 203 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation() 210 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
|
D | dot_product_with_scale.c | 42 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale() 45 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale() 48 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale() 51 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale() 58 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
|
D | spl_sqrt.c | 51 B = B + WEBRTC_SPL_MUL_16_16(-20480, t16) * 2; // B = B - 0.625*A in WebRtcSpl_SqrtLocal() 55 A = WEBRTC_SPL_MUL_16_16(x_half, t16) * 2; // A = (x/2)^5 in WebRtcSpl_SqrtLocal() 57 B = B + WEBRTC_SPL_MUL_16_16(28672, t16) * 2; // B = B + 0.875*A in WebRtcSpl_SqrtLocal() 61 A = WEBRTC_SPL_MUL_16_16(x_half, t16) * 2; // A = x/2^3 in WebRtcSpl_SqrtLocal() 169 A = WEBRTC_SPL_MUL_16_16(k_sqrt_2, t16) * 2; // A = 1/sqrt(2)*t16 in WebRtcSpl_Sqrt()
|
D | auto_correlation.c | 87 sum += WEBRTC_SPL_MUL_16_16(*xptr1, *xptr2); in WebRtcSpl_AutoCorrelation() 90 sum += WEBRTC_SPL_MUL_16_16(*xptr1, *xptr2); in WebRtcSpl_AutoCorrelation() 93 sum += WEBRTC_SPL_MUL_16_16(*xptr1, *xptr2); in WebRtcSpl_AutoCorrelation() 96 sum += WEBRTC_SPL_MUL_16_16(*xptr1, *xptr2); in WebRtcSpl_AutoCorrelation() 103 sum += WEBRTC_SPL_MUL_16_16(*xptr1, *xptr2); in WebRtcSpl_AutoCorrelation()
|
D | filter_ar.c | 54 o -= WEBRTC_SPL_MUL_16_16(*a_ptr, *filtered_ptr--); in WebRtcSpl_FilterAR() 55 oLOW -= WEBRTC_SPL_MUL_16_16(*a_ptr++, *filtered_low_ptr--); in WebRtcSpl_FilterAR() 59 o -= WEBRTC_SPL_MUL_16_16(*a_ptr, *state_ptr--); in WebRtcSpl_FilterAR() 60 oLOW -= WEBRTC_SPL_MUL_16_16(*a_ptr++, *state_low_ptr--); in WebRtcSpl_FilterAR()
|
D | ilbc_specific_functions.c | 38 out[i] = (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16(vector1[i], scale1) in WebRtcSpl_ScaleAndAddVectorsWithRound() 39 + WEBRTC_SPL_MUL_16_16(vector2[i], scale2) + roundVal) >> right_shifts); in WebRtcSpl_ScaleAndAddVectorsWithRound() 100 (*outPtr++) += (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16((*inPtr++), gain) in WebRtcSpl_AddAffineVectorToVector() 117 (*outPtr++) = (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16((*inPtr++), gain) in WebRtcSpl_AffineTransformVector()
|
D | filter_ar_fast_q12.c | 35 o = WEBRTC_SPL_MUL_16_16(*x_ptr++, *a_ptr++); in WebRtcSpl_FilterARFastQ12() 39 o -= WEBRTC_SPL_MUL_16_16(*a_ptr++,*state_ptr--); in WebRtcSpl_FilterARFastQ12()
|
D | downsample_fast.c | 32 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(factor, (out_length - 1)) + 1; in WebRtcSpl_DownsampleFast() 48 o += WEBRTC_SPL_MUL_16_16(*b_ptr++, *x_ptr--); in WebRtcSpl_DownsampleFast()
|
D | lpc_to_refl_coef.c | 33 tmp_inv_denom32 = ((WebRtc_Word32)1073741823) - WEBRTC_SPL_MUL_16_16(k16[m], k16[m]); in WebRtcSpl_LpcToReflCoef() 43 - WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); in WebRtcSpl_LpcToReflCoef()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | filterbanks.c | 40 a = WEBRTC_SPL_MUL_16_16(APSectionFactors[j], InOut16[n]); //Q15*Q0=Q15 in AllpassFilter2FixDec16() 128 WebRtc_Word32 tmpState[WEBRTC_SPL_MUL_16_16(2,(QORDER-1))]; /* 4 */ in WebRtcIsacfix_SplitAndFilter1() 137 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1() 141 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1() 147 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1() 151 …prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_1… in WebRtcIsacfix_SplitAndFilter1() 161 for (k=0;k<WEBRTC_SPL_MUL_16_16(2, (QORDER-1));k++) in WebRtcIsacfix_SplitAndFilter1() 164 for (k=0;k<WEBRTC_SPL_MUL_16_16(2, (QORDER-1));k++) in WebRtcIsacfix_SplitAndFilter1() 207 tempin_ch1[k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2() 213 tempin_ch2[k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2() [all …]
|
D | filters.c | 41 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]); in WebRtcIsacfix_AutocorrC() 57 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]); in WebRtcIsacfix_AutocorrC() 108 memcpy(data_vec+1, in, WEBRTC_SPL_MUL_16_16(sizeof(WebRtc_Word16), (N-1))); in WebRtcIsacfix_DecimateAllpass32() 111 …data_vec[0] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIO… in WebRtcIsacfix_DecimateAllpass32() 112 …state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)] = WEBRTC_SPL_LSHIFT_W32((WebRtc_UWord32)in[N-1]… in WebRtcIsacfix_DecimateAllpass32() 120 …out[n]=WEBRTC_SPL_ADD_SAT_W16(data_vec[WEBRTC_SPL_MUL_16_16(2, n)], data_vec[WEBRTC_SPL_MUL_16_16(… in WebRtcIsacfix_DecimateAllpass32()
|
D | lattice_c.c | 39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop() 40 - (WEBRTC_SPL_MUL_16_16(sth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop() 41 tmp32_2 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop() 42 + (WEBRTC_SPL_MUL_16_16(cth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop()
|
D | lattice.c | 121 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterMa() 124 temp2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterMa() 125 temp3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(2, u)+lo_hi; in WebRtcIsacfix_NormLatticeFilterMa() 244 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterAr() 247 temp2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterAr() 248 temp3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(2, u) + lo_hi; in WebRtcIsacfix_NormLatticeFilterAr() 287 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cthQ15[i],ARfQ0vec[0])) - (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr() 290 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sthQ15[i],ARfQ0vec[0])) + (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr()
|
D | lpc_masking_model.c | 41 …tmp_inv_denum32 = ((WebRtc_Word32) 1073741823) - WEBRTC_SPL_MUL_16_16(k16[m], k16[m]); // (1 - k^2… in WebRtcSpl_AToK_JSK() 46 WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); in WebRtcSpl_AToK_JSK() 123 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(K_hi, K_low), 14) + in WebRtcSpl_LevinsonW32_JSK() 124 … WEBRTC_SPL_MUL_16_16(K_hi, K_hi)), 1); /* temp1W32 = k^2 in Q31 */ in WebRtcSpl_LevinsonW32_JSK() 134 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_hi) + in WebRtcSpl_LevinsonW32_JSK() 135 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_low), 15) + in WebRtcSpl_LevinsonW32_JSK() 136 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_low[0], tmp_hi), 15) ), 1); in WebRtcSpl_LevinsonW32_JSK() 163 temp1W32 += (WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[j], A_hi[i-j]), 1) + in WebRtcSpl_LevinsonW32_JSK() 164 … WEBRTC_SPL_LSHIFT_W32(( WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[j], A_low[i-j]), 15) + in WebRtcSpl_LevinsonW32_JSK() 165 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_low[j], A_hi[i-j]), 15) ), 1)); in WebRtcSpl_LevinsonW32_JSK() [all …]
|
D | pitch_filter_c.c | 38 tmpW32 += WEBRTC_SPL_MUL_16_16(ubufQQpos2[*index2 + j], coefficient[j]); in WebRtcIsacfix_PitchFilterCore() 57 tmpW32 += WEBRTC_SPL_MUL_16_16(inputState[j], kDampFilter[j]); in WebRtcIsacfix_PitchFilterCore() 66 tmpW32 = inputBuf[*index2] - WEBRTC_SPL_MUL_16_16(sign, tmpW16); in WebRtcIsacfix_PitchFilterCore()
|
D | initialize.c | 81 for (k = 0; k < WEBRTC_SPL_MUL_16_16(2,(QORDER-1)); k++) { in WebRtcIsacfix_InitPreFilterbank() 98 for (k = 0; k < WEBRTC_SPL_MUL_16_16(2, POSTQORDER); k++) { in WebRtcIsacfix_InitPostFilterbank() 136 for (k = 0; k < WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)+1; k++) { in WebRtcIsacfix_InitPitchAnalysis()
|
D | fft.c | 129 ccc2Q14 = kCosTabFfftQ14[WEBRTC_SPL_MUL_16_16(2, kk)]; in WebRtcIsacfix_FftRadix16Fastest() 130 ccc3Q14 = kCosTabFfftQ14[WEBRTC_SPL_MUL_16_16(3, kk)]; in WebRtcIsacfix_FftRadix16Fastest() 132 sss2Q14 = kCosTabFfftQ14[WEBRTC_SPL_MUL_16_16(2, kk)+60]; in WebRtcIsacfix_FftRadix16Fastest() 133 sss3Q14 = kCosTabFfftQ14[WEBRTC_SPL_MUL_16_16(3, kk)+60]; in WebRtcIsacfix_FftRadix16Fastest() 214 ee = ff + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(hh, ff); in WebRtcIsacfix_FftRadix16Fastest() 311 dd = 12 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(12, gg); in WebRtcIsacfix_FftRadix16Fastest()
|
/external/webrtc/src/modules/audio_processing/ |
D | high_pass_filter_impl.cc | 64 WEBRTC_SPL_MUL_16_16(y[1], ba[3]); // -a[1] * y[i-1] (low part) in Filter() 66 WEBRTC_SPL_MUL_16_16(y[3], ba[4]); // -a[2] * y[i-2] (low part) in Filter() 69 WEBRTC_SPL_MUL_16_16(y[0], ba[3]); // -a[1] * y[i-1] (high part) in Filter() 71 WEBRTC_SPL_MUL_16_16(y[2], ba[4]); // -a[2] * y[i-2] (high part) in Filter() 74 tmp_int32 += WEBRTC_SPL_MUL_16_16(data[i], ba[0]); // b[0]*x[0] in Filter() 75 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[0], ba[1]); // b[1]*x[i-1] in Filter() 76 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[1], ba[2]); // b[2]*x[i-2] in Filter()
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 90 tmp32no1 = WEBRTC_SPL_MUL_16_16(digCompGaindB - analogTarget, kCompRatio - 1); in WebRtcAgc_CalculateGainTable() 94 tmp32no1 = WEBRTC_SPL_MUL_16_16(maxGain, kCompRatio); in WebRtcAgc_CalculateGainTable() 107 tmp32no1 = WEBRTC_SPL_MUL_16_16(digCompGaindB, kCompRatio - 1); in WebRtcAgc_CalculateGainTable() 142 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(kCompRatio - 1, i - 1); // Q0 in WebRtcAgc_CalculateGainTable() 361 tmp32 = WEBRTC_SPL_MUL_16_16(3, logratio); in WebRtcAgc_ProcessDigital() 382 tmp32 = WEBRTC_SPL_MUL_16_16((lower_thr - logratio), 65); in WebRtcAgc_ProcessDigital() 396 tmp32 = WEBRTC_SPL_MUL_16_16((stt->vadNearend.stdLongTerm - 4000), decay); in WebRtcAgc_ProcessDigital() 417 nrg = WEBRTC_SPL_MUL_16_16(out[k * L + n], out[k * L + n]); in WebRtcAgc_ProcessDigital() 496 tmp32 = WEBRTC_SPL_MUL_16_16(stt->gatePrevious, 7); in WebRtcAgc_ProcessDigital() 748 tmp32 = (WEBRTC_SPL_MUL_16_16(state->meanShortTerm, 15) + (WebRtc_Word32)dB); in WebRtcAgc_ProcessVad() [all …]
|
/external/webrtc/src/common_audio/vad/ |
D | vad_filterbank.c | 56 tmp32 = (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[0], (*in_ptr)); in WebRtcVad_HpOutput() 57 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[1], filter_state[0]); in WebRtcVad_HpOutput() 58 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[2], in WebRtcVad_HpOutput() 64 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[1], in WebRtcVad_HpOutput() 66 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[2], filter_state[3]); in WebRtcVad_HpOutput() 90 tmp32 = state32 + WEBRTC_SPL_MUL_16_16(filter_coefficients, (*in_vector)); in WebRtcVad_Allpass() 94 state32 = in32 - WEBRTC_SPL_MUL_16_16(filter_coefficients, tmp16); in WebRtcVad_Allpass()
|
D | vad_core.c | 438 dotVal += WEBRTC_SPL_MUL_16_16(ratvec, kSpectrumWeight[n]); in WebRtcVad_GmmProbability() 497 nmid = WEBRTC_SPL_MUL_16_16(kNoiseDataWeights[n], *nmean1ptr); // Q7 * Q7 in WebRtcVad_GmmProbability() 498 nmid += WEBRTC_SPL_MUL_16_16(kNoiseDataWeights[n+NUM_CHANNELS], in WebRtcVad_GmmProbability() 628 nmid = WEBRTC_SPL_MUL_16_16(kNoiseDataWeights[n], *nmean1ptr); in WebRtcVad_GmmProbability() 629 nmid += WEBRTC_SPL_MUL_16_16(kNoiseDataWeights[n+NUM_CHANNELS], *nmean2ptr); in WebRtcVad_GmmProbability() 632 smid = WEBRTC_SPL_MUL_16_16(kSpeechDataWeights[n], *smean1ptr); in WebRtcVad_GmmProbability() 633 smid += WEBRTC_SPL_MUL_16_16(kSpeechDataWeights[n+NUM_CHANNELS], *smean2ptr); in WebRtcVad_GmmProbability() 653 smid = WEBRTC_SPL_MUL_16_16(tmp16, kSpeechDataWeights[n]); in WebRtcVad_GmmProbability() 658 smid += WEBRTC_SPL_MUL_16_16(tmp16, kSpeechDataWeights[n+NUM_CHANNELS]); in WebRtcVad_GmmProbability() 664 nmid = WEBRTC_SPL_MUL_16_16(tmp16, kNoiseDataWeights[n]); in WebRtcVad_GmmProbability() [all …]
|
/external/webrtc/src/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 86 #define WEBRTC_SPL_MUL_16_16(a, b) \ macro 89 (WEBRTC_SPL_MUL_16_16(a, b >> 16) \ 90 + ((WEBRTC_SPL_MUL_16_16(a, (b & 0xffff) >> 1) + 0x4000) >> 15)) 102 ((WEBRTC_SPL_MUL_16_16(a, (b) >> 16) << 5) \ 105 ((WEBRTC_SPL_MUL_16_16(a, (b) >> 16) << 2) \ 108 ((WEBRTC_SPL_MUL_16_16(a, (b) >> 16) << 1) \ 112 #define WEBRTC_SPL_MUL_16_16(a, b) \ macro 117 (WEBRTC_SPL_MUL_16_16(a, b) >> (c)) 120 ((WEBRTC_SPL_MUL_16_16(a, b) + ((WebRtc_Word32) \ 123 ((WEBRTC_SPL_MUL_16_16(a, b) + ((WebRtc_Word32) (1 << 14))) >> 15)
|