/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | bandwidth_estimator.c | 203 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 …]
|
D | entropy_coding.c | 154 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 …]
|
D | arith_routines_logist.c | 74 ind = WEBRTC_SPL_MUL(5, qtmp1 - kHistEdges[0]); in WebRtcIsacfix_Piecewise()
|
D | lattice.c | 22 ((WebRtc_Word32)(WEBRTC_SPL_MUL(a32a, b32) + (WEBRTC_SPL_MUL_16_32_RSFT16(a32b, b32))))
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | bandwidth_estimator.c | 203 recRtpRate = (int16_t)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl() 218 recRtpRate = (uint16_t)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl() 295 bweStr->recBwInv = WEBRTC_SPL_MUL((int32_t)bweStr->recBwInv, (int32_t)reductionFactor); in WebRtcIsacfix_UpdateUplinkBwImpl() 389 tempUpper = WEBRTC_SPL_MUL(tempUpper, numBytesInv); in WebRtcIsacfix_UpdateUplinkBwImpl() 390 tempLower = WEBRTC_SPL_MUL(tempLower, numBytesInv); in WebRtcIsacfix_UpdateUplinkBwImpl() 426 arrTimeProj = WEBRTC_SPL_MUL((int32_t)8000, recBwAvgInv); in WebRtcIsacfix_UpdateUplinkBwImpl() 430 arrTimeProj = WEBRTC_SPL_MUL(((int32_t)pksize + HEADER_SIZE), arrTimeProj); in WebRtcIsacfix_UpdateUplinkBwImpl() 449 bweStr->recJitter = WEBRTC_SPL_MUL(weight, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 5)) in WebRtcIsacfix_UpdateUplinkBwImpl() 450 + WEBRTC_SPL_MUL(1024 - weight, bweStr->recJitter); in WebRtcIsacfix_UpdateUplinkBwImpl() 462 … bweStr->recJitterShortTermAbs = WEBRTC_SPL_MUL(51, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 3)) + in WebRtcIsacfix_UpdateUplinkBwImpl() [all …]
|
D | entropy_coding.c | 188 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], diff[n]) + 256, 9); in CalcCorrelation() 195 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], summ[n]) + 256, 9); in CalcCorrelation() 215 sum += WEBRTC_SPL_MUL(ARCoefQ12[n], ARCoefQ12[n]); /* Q24 */ in CalcInvArSpec() 216 …sum = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(sum, 6), 65) + 32768, 16); /* … in CalcInvArSpec() 217 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in CalcInvArSpec() 233 sum += WEBRTC_SPL_MUL(ARCoefQ12[n-k], ARCoefQ12[n]); /* Q24 */ in CalcInvArSpec() 235 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal); in CalcInvArSpec() 243 …CurveQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], CorrQ11[k+1]) + 2, 2… in CalcInvArSpec() 259 …diffQ16[n] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CS_ptrQ9[n], WEBRTC_SPL_RSHIFT_W32(CorrQ11[1], s… in CalcInvArSpec() 263 …diffQ16[n] += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CS_ptrQ9[n], WEBRTC_SPL_RSHIFT_W32(CorrQ11[k+1]… in CalcInvArSpec() [all …]
|
D | arith_routines_logist.c | 73 ind = WEBRTC_SPL_MUL(5, qtmp1 - kHistEdges[0]); in WebRtcIsacfix_Piecewise()
|
D | lattice.c | 22 ((int32_t)(WEBRTC_SPL_MUL(a32a, b32) + (WEBRTC_SPL_MUL_16_32_RSFT16(a32b, b32))))
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 222 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 …]
|
D | analog_agc.c | 652 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/chromium_org/third_party/webrtc/modules/audio_processing/agc/ |
D | digital_agc.c | 222 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() 522 tmp32 = WEBRTC_SPL_MUL(tmp32, (178 + gain_adj)); in WebRtcAgc_ProcessDigital() 525 tmp32 = WEBRTC_SPL_MUL((gains[k+1] - stt->gainTable[0]), (178 + gain_adj)); in WebRtcAgc_ProcessDigital() 542 gain32 = WEBRTC_SPL_MUL(gain32, gain32); in WebRtcAgc_ProcessDigital() 551 gains[k + 1] = WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(gains[k+1], 8), 253); in WebRtcAgc_ProcessDigital() 554 gains[k + 1] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(gains[k+1], 253), 8); in WebRtcAgc_ProcessDigital() 557 gain32 = WEBRTC_SPL_MUL(gain32, gain32); in WebRtcAgc_ProcessDigital() 579 tmp32 = WEBRTC_SPL_MUL((int32_t)out[n], WEBRTC_SPL_RSHIFT_W32(gain32 + 127, 7)); in WebRtcAgc_ProcessDigital() [all …]
|
D | analog_agc.c | 652 tmp32 = WEBRTC_SPL_MUL(1126, *inMicLevel); in WebRtcAgc_ZeroCtrl() 867 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(stt->Rxx160_LPw32, 3), 7); in WebRtcAgc_ProcessAnalog() 973 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, RXX_BUFFER_LEN); in WebRtcAgc_ProcessAnalog() 992 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 53); in WebRtcAgc_ProcessAnalog() 1043 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 53); in WebRtcAgc_ProcessAnalog() 1108 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 67); in WebRtcAgc_ProcessAnalog() 1169 stt->Rxx160_LPw32 = WEBRTC_SPL_MUL(tmp32, 67); in WebRtcAgc_ProcessAnalog()
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 61 tmp32 = WEBRTC_SPL_MUL(frac32, frac32); in WebRtcNsx_SpeechNoiseProb() 62 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(tmp32, -43), 19); in WebRtcNsx_SpeechNoiseProb() 225 tmp32no1 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL( in WebRtcNsx_SpeechNoiseProb()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | smooth.c | 104 WEBRTC_SPL_MUL(ENH_A0, WEBRTC_SPL_RSHIFT_W32(w00prim, 14)), in WebRtcIlbcfix_Smooth() 188 WEBRTC_SPL_MUL(A, w11_div_w00); in WebRtcIlbcfix_Smooth()
|
D | get_lsp_poly.c | 56 (*fPtr) = WEBRTC_SPL_MUL((*lspPtr), -1024); in WebRtcIlbcfix_GetLspPoly()
|
D | frame_classify.c | 79 (*seqEnPtr)=WEBRTC_SPL_MUL(((*seqEnPtr)>>scale1), (*ssqPtr)); in WebRtcIlbcfix_FrameClassify()
|
/external/webrtc/src/common_audio/signal_processing/ |
D | get_scaling_square.c | 35 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
|
D | auto_correlation.c | 54 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); // # of bits to normalize smax in WebRtcSpl_AutoCorrelation()
|
D | signal_processing_unittest.cc | 42 EXPECT_EQ(-63, WEBRTC_SPL_MUL(a, B)); in TEST_F() 43 EXPECT_EQ(-2147483645, WEBRTC_SPL_MUL(a, b)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
D | get_scaling_square.c | 37 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
|
D | auto_correlation.c | 41 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_AutoCorrelation()
|
D | signal_processing_unittest.cc | 40 EXPECT_EQ(-63, WEBRTC_SPL_MUL(a, B)); in TEST_F() 41 EXPECT_EQ(-2147483645, WEBRTC_SPL_MUL(a, b)); in TEST_F()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 107 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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 107 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/ |
D | nsx_core.c | 997 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()
|