Home
last modified time | relevance | path

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

/external/webrtc/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(kIntOrder, in CalculateResidualEnergyTester()
34 EXPECT_EQ(1789023310, residual_energy); in CalculateResidualEnergyTester()
43 residual_energy = CalculateResidualEnergyFunction(kIntOrder, in CalculateResidualEnergyTester()
45 EXPECT_EQ(1595279092, residual_energy); in CalculateResidualEnergyTester()
52 residual_energy = CalculateResidualEnergyFunction(kIntOrder, 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.c470 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyC() local
508 residual_energy = (int32_t)(sum64 >> shift_norm); in WebRtcIsacfix_CalculateResidualEnergyC()
512 residual_energy = (uint32_t)word32_low >> 1; in WebRtcIsacfix_CalculateResidualEnergyC()
515 residual_energy = word32_low << shift_norm; in WebRtcIsacfix_CalculateResidualEnergyC()
526 return residual_energy; in WebRtcIsacfix_CalculateResidualEnergyC()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc98 int32_t residual_energy = WebRtcSpl_DotProductWithScale(fiter_output, in Update() local
108 if ((residual_energy * 20 >= (sample_energy << 6)) && in Update()
116 residual_energy); in Update()
231 int32_t residual_energy) { in SaveParameters() argument
245 int16_t norm_shift = WebRtcSpl_NormW32(residual_energy) - 1; in SaveParameters()
249 residual_energy = WEBRTC_SPL_SHIFT_W32(residual_energy, norm_shift); in SaveParameters()
252 parameters.scale = static_cast<int16_t>(WebRtcSpl_SqrtFloor(residual_energy)); in SaveParameters()
Dbackground_noise.h126 int32_t residual_energy);