Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_MUL (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c203 recRtpRate = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl()
218 recRtpRate = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl()
295 …bweStr->recBwInv = WEBRTC_SPL_MUL((WebRtc_Word32)bweStr->recBwInv, (WebRtc_Word32)reductionFactor); in WebRtcIsacfix_UpdateUplinkBwImpl()
389 tempUpper = WEBRTC_SPL_MUL(tempUpper, numBytesInv); in WebRtcIsacfix_UpdateUplinkBwImpl()
390 tempLower = WEBRTC_SPL_MUL(tempLower, numBytesInv); in WebRtcIsacfix_UpdateUplinkBwImpl()
427 arrTimeProj = WEBRTC_SPL_MUL((WebRtc_Word32)8000, recBwAvgInv); in WebRtcIsacfix_UpdateUplinkBwImpl()
431 arrTimeProj = WEBRTC_SPL_MUL(((WebRtc_Word32)pksize + HEADER_SIZE), arrTimeProj); in WebRtcIsacfix_UpdateUplinkBwImpl()
450 bweStr->recJitter = WEBRTC_SPL_MUL(weight, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 5)) in WebRtcIsacfix_UpdateUplinkBwImpl()
451 + WEBRTC_SPL_MUL(1024 - weight, bweStr->recJitter); in WebRtcIsacfix_UpdateUplinkBwImpl()
463 … bweStr->recJitterShortTermAbs = WEBRTC_SPL_MUL(51, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 3)) + in WebRtcIsacfix_UpdateUplinkBwImpl()
[all …]
Dentropy_coding.c154 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], diff[n]) + 256, 9); in CalcCorrelation()
161 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], summ[n]) + 256, 9); in CalcCorrelation()
181 sum += WEBRTC_SPL_MUL(ARCoefQ12[n], ARCoefQ12[n]); /* Q24 */ in CalcInvArSpec()
182 …sum = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(sum, 6), 65) + 32768, 16); /* … in CalcInvArSpec()
183 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in CalcInvArSpec()
199 sum += WEBRTC_SPL_MUL(ARCoefQ12[n-k], ARCoefQ12[n]); /* Q24 */ in CalcInvArSpec()
201 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal); in CalcInvArSpec()
209 …CurveQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], CorrQ11[k+1]) + 2, 2… in CalcInvArSpec()
225 …diffQ16[n] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CS_ptrQ9[n], WEBRTC_SPL_RSHIFT_W32(CorrQ11[1], s… in CalcInvArSpec()
229 …diffQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CS_ptrQ9[n], WEBRTC_SPL_RSHIFT_W32(CorrQ11[k+1]… in CalcInvArSpec()
[all …]
Darith_routines_logist.c74 ind = WEBRTC_SPL_MUL(5, qtmp1 - kHistEdges[0]); in WebRtcIsacfix_Piecewise()
Dlattice.c22 ((WebRtc_Word32)(WEBRTC_SPL_MUL(a32a, b32) + (WEBRTC_SPL_MUL_16_32_RSFT16(a32b, b32))))
Disacfix.c1511 maxRateInBytes = (WebRtc_Word16)( WebRtcSpl_DivW32W16ResW16(WEBRTC_SPL_MUL(maxRate, 3), 800) ); in WebRtcIsacfix_SetMaxRate()
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c222 tmp32 = WEBRTC_SPL_MUL(y32 >> 1, kLog10) + 4096; // in Q27 in WebRtcAgc_CalculateGainTable()
226 tmp32 = WEBRTC_SPL_MUL(y32, kLog10) + 8192; // in Q28 in WebRtcAgc_CalculateGainTable()
467 tmp32 = WEBRTC_SPL_MUL((stt->gainTable[zeros-1] - stt->gainTable[zeros]), frac); in WebRtcAgc_ProcessDigital()
517 tmp32 = WEBRTC_SPL_MUL(tmp32, (178 + gain_adj)); in WebRtcAgc_ProcessDigital()
520 tmp32 = WEBRTC_SPL_MUL((gains[k+1] - stt->gainTable[0]), (178 + gain_adj)); in WebRtcAgc_ProcessDigital()
537 gain32 = WEBRTC_SPL_MUL(gain32, gain32); in WebRtcAgc_ProcessDigital()
546 gains[k + 1] = WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(gains[k+1], 8), 253); in WebRtcAgc_ProcessDigital()
549 gains[k + 1] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(gains[k+1], 253), 8); in WebRtcAgc_ProcessDigital()
552 gain32 = WEBRTC_SPL_MUL(gain32, gain32); in WebRtcAgc_ProcessDigital()
574 tmp32 = WEBRTC_SPL_MUL((WebRtc_Word32)out[n], WEBRTC_SPL_RSHIFT_W32(gain32 + 127, 7)); in WebRtcAgc_ProcessDigital()
[all …]
Danalog_agc.c652 tmp32 = WEBRTC_SPL_MUL(1126, *inMicLevel); in WebRtcAgc_ZeroCtrl()
853 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(stt->Rxx160_LPw32, 3), 7); in WebRtcAgc_ProcessAnalog()
958 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, RXX_BUFFER_LEN); in WebRtcAgc_ProcessAnalog()
977 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 53); in WebRtcAgc_ProcessAnalog()
1025 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 53); in WebRtcAgc_ProcessAnalog()
1088 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 67); in WebRtcAgc_ProcessAnalog()
1148 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 67); in WebRtcAgc_ProcessAnalog()
/external/webrtc/src/common_audio/signal_processing/
Dget_scaling_square.c35 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
Dauto_correlation.c54 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); // # of bits to normalize smax in WebRtcSpl_AutoCorrelation()
Dsignal_processing_unittest.cc42 EXPECT_EQ(-63, WEBRTC_SPL_MUL(a, B)); in TEST_F()
43 EXPECT_EQ(-2147483645, WEBRTC_SPL_MUL(a, b)); in TEST_F()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c107 sum += WEBRTC_SPL_MUL(ARCoefQ12[n], ARCoefQ12[n]); /* Q24 */ in FindInvArSpec()
109 sum = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(sum, 6), in FindInvArSpec()
111 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in FindInvArSpec()
128 sum += WEBRTC_SPL_MUL(ARCoefQ12[n - k], ARCoefQ12[n]); /* Q24 */ in FindInvArSpec()
130 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, in FindInvArSpec()
139 CurveQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL( in FindInvArSpec()
158 diffQ16[n] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL( in FindInvArSpec()
164 diffQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL( in FindInvArSpec()
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.c997 fluctLrtFX = WEBRTC_SPL_MUL(avgSquareHistLrtFX, numHistLrt); in WebRtcNsx_FeatureParameterExtraction()
998 fluctLrtFX -= WEBRTC_SPL_MUL(avgHistLrtFX, avgHistLrtComplFX); in WebRtcNsx_FeatureParameterExtraction()
1241 varPauseUFX += (WebRtc_UWord32)WEBRTC_SPL_MUL(tmp32no1, tmp32no1); // Q(2*(prevQMagn-minPause)) in WebRtcNsx_ComputeSpectralDifference()
1327 tmp32 = WEBRTC_SPL_MUL(frac32, frac32); in WebRtcNsx_SpeechNoiseProb()
1328 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(tmp32, -43), 19); in WebRtcNsx_SpeechNoiseProb()
1483 tmp32no1 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(inst->logLrtTimeAvgW32[i], 23637), in WebRtcNsx_SpeechNoiseProb()
1756 tmp_1_w32 = WEBRTC_SPL_MUL((WebRtc_Word32)(inst->magnLen - kStartBand), in WebRtcNsx_DataAnalysis()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h63 #define WEBRTC_SPL_MUL(a, b) \ macro