Home
last modified time | relevance | path

Searched refs:energy2_scale (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc114 int energy2_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec2_energy)); in Process() local
117 if ((energy1_scale + energy2_scale) & 1) { in Process()
126 static_cast<int16_t>(vec2_energy >> energy2_scale); in Process()
133 int temp_scale = 14 - (energy1_scale + energy2_scale) / 2; in Process()
Dexpand.cc518 int energy2_scale = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal() local
520 if ((energy1_scale + energy2_scale) & 1) { in AnalyzeSignal()
525 int32_t scaled_energy2 = energy2 >> energy2_scale; in AnalyzeSignal()
529 int cc_shift = 14 - (energy1_scale + energy2_scale) / 2; in AnalyzeSignal()