Home
last modified time | relevance | path

Searched refs:residual_energy (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlpc_masking_model_unittest.cc29 int32_t residual_energy = 0; in CalculateResidualEnergyTester() local
32 residual_energy = CalculateResidualEnergyFunction( in CalculateResidualEnergyTester()
34 EXPECT_EQ(1789023310, residual_energy); in CalculateResidualEnergyTester()
43 residual_energy = CalculateResidualEnergyFunction( in CalculateResidualEnergyTester()
45 EXPECT_EQ(1595279092, residual_energy); in CalculateResidualEnergyTester()
52 residual_energy = CalculateResidualEnergyFunction( in CalculateResidualEnergyTester()
54 EXPECT_EQ(2029266944, residual_energy); in CalculateResidualEnergyTester()
Dlpc_masking_model_mips.c25 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyMIPS() local
215 : [residual_energy] "=&r" (residual_energy), [tmp1]"=&r"(tmp1), in WebRtcIsacfix_CalculateResidualEnergyMIPS()
223 residual_energy = (uint32_t)word32_low >> 1; in WebRtcIsacfix_CalculateResidualEnergyMIPS()
226 residual_energy = word32_low << shift_norm; in WebRtcIsacfix_CalculateResidualEnergyMIPS()
236 return residual_energy; in WebRtcIsacfix_CalculateResidualEnergyMIPS()
Dlpc_masking_model.c471 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyC() local
509 residual_energy = (int32_t)(sum64 >> shift_norm); in WebRtcIsacfix_CalculateResidualEnergyC()
513 residual_energy = (uint32_t)word32_low >> 1; in WebRtcIsacfix_CalculateResidualEnergyC()
516 residual_energy = word32_low << shift_norm; in WebRtcIsacfix_CalculateResidualEnergyC()
527 return residual_energy; in WebRtcIsacfix_CalculateResidualEnergyC()
/external/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc101 int32_t residual_energy = WebRtcSpl_DotProductWithScale( in Update() local
110 (int64_t{5} * residual_energy >= int64_t{16} * sample_energy)) { in Update()
117 residual_energy); in Update()
280 int32_t residual_energy) { in SaveParameters() argument
293 int16_t norm_shift = WebRtcSpl_NormW32(residual_energy) - 1; in SaveParameters()
297 residual_energy = WEBRTC_SPL_SHIFT_W32(residual_energy, norm_shift); in SaveParameters()
300 parameters.scale = static_cast<int16_t>(WebRtcSpl_SqrtFloor(residual_energy)); in SaveParameters()
Dbackground_noise.h128 int32_t residual_energy);