HomeSort by relevance Sort by last modified time
    Searched refs:vec1_energy (Results 1 - 2 of 2) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/neteq/
time_stretch.cc 91 int32_t vec1_energy = local
101 bool active_speech = SpeechDetection(vec1_energy, vec2_energy, peak_index,
109 // cross_corr / sqrt(vec1_energy * vec2_energy).
112 int energy1_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec1_energy));
123 static_cast<int16_t>(vec1_energy >> energy1_scale);
179 bool TimeStretch::SpeechDetection(int32_t vec1_energy, int32_t vec2_energy,
182 // If (vec1_energy + vec2_energy) / (2 * peak_index) <=
186 // (vec1_energy + vec2_energy) / 16 <= peak_index * background_noise_energy.
189 int32_t left_side = (vec1_energy + vec2_energy) / 16;
time_stretch.h 109 bool SpeechDetection(int32_t vec1_energy, int32_t vec2_energy,

Completed in 53 milliseconds