Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_MUL_16_16_RSFT (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/src/common_audio/signal_processing/
Dcross_correlation.c169 (*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()
Ddot_product_with_scale.c35 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()
Dauto_correlation.c78 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()
Dvector_scaling_operations.c108 (*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()
Dcomplex_fft.c347 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()
Dilbc_specific_functions.c54 (*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()
Denergy.c30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling); in WebRtcSpl_Energy()
Drefl_coef_to_lpc.c45 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT((*aptr2), (*kptr), 15); in WebRtcSpl_ReflCoefToLpc()
Dsignal_processing_unittest.cc70 EXPECT_EQ(-12288, WEBRTC_SPL_MUL_16_16_RSFT(a, b, 2)); in TEST_F()
/external/webrtc/src/common_audio/vad/
Dvad_gmm.c46 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()
Dvad_sp.c39 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()
Dvad_core.c523 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()
Dvad_filterbank.c254 *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/
Dnsx_core_neon.c132 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()
Dnsx_core.c506 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/
Daecm_core.c374 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/
Dsignal_processing_library.h116 #define WEBRTC_SPL_MUL_16_16_RSFT(a, b, c) \ macro
162 ((WebRtc_Word16)(WEBRTC_SPL_MUL_16_16_RSFT((a), 18816, 7) & 0x00007fff))
/external/webrtc/src/modules/audio_processing/agc/
Danalog_agc.c611 stt->envSum = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(stt->envSum, in WebRtcAgc_SaturationCtrl()
1083 - (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(kSlope1[index], in WebRtcAgc_ProcessAnalog()
1143 - (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(kSlope2[index], in WebRtcAgc_ProcessAnalog()