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

  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
time_stretch.cc 94 int32_t vec2_energy = local
102 bool active_speech = SpeechDetection(vec1_energy, vec2_energy, peak_index,
110 // cross_corr / sqrt(vec1_energy * vec2_energy).
114 int energy2_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec2_energy));
126 static_cast<int16_t>(vec2_energy >> energy2_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 104 bool SpeechDetection(int32_t vec1_energy, int32_t vec2_energy,

Completed in 30 milliseconds