Searched refs:energy1_scale (Results 1 – 2 of 2) sorted by relevance
112 int energy1_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec1_energy)); in Process() local116 if ((energy1_scale + energy2_scale) & 1) { in Process()118 energy1_scale += 1; in Process()123 static_cast<int16_t>(vec1_energy >> energy1_scale); in Process()132 int temp_scale = 14 - (energy1_scale + energy2_scale) / 2; in Process()
489 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); in AnalyzeSignal() local492 if ((energy1_scale + energy2_scale) & 1) { in AnalyzeSignal()494 energy1_scale += 1; in AnalyzeSignal()496 int32_t scaled_energy1 = energy1 >> energy1_scale; in AnalyzeSignal()501 int cc_shift = 14 - (energy1_scale + energy2_scale) / 2; in AnalyzeSignal()