Home
last modified time | relevance | path

Searched refs:vad_ (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/vad/
Dstandalone_vad.cc24 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) { in StandaloneVad()
28 WebRtcVad_Free(vad_); in ~StandaloneVad()
69 int activity = WebRtcVad_Process(vad_, kSampleRateHz, buffer_, index_); in GetActivity()
86 if (WebRtcVad_set_mode(vad_, mode) != 0) in set_mode()
Dpitch_based_vad_unittest.cc44 PitchBasedVad vad_; in TEST() local
66 EXPECT_EQ(0, vad_.VoicingProbability(audio_features, &p)); in TEST()
Dstandalone_vad.h62 VadInst* vad_; variable
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc.cc53 vad_.ProcessChunk(audio, length, sample_rate_hz); in Process()
54 const std::vector<double>& rms = vad_.chunkwise_rms(); in Process()
56 vad_.chunkwise_voice_probabilities(); in Process()
Dagc.h45 return vad_.last_voice_probability(); in voice_probability()
53 VoiceActivityDetector vad_; variable
/external/webrtc/webrtc/modules/audio_processing/
Dvoice_detection_impl.cc48 vad_.swap(new_vad); in Initialize()
67 int vad_ret = WebRtcVad_Process(vad_->state(), sample_rate_hz_, in ProcessCaptureAudio()
131 int error = WebRtcVad_set_mode(vad_->state(), mode); in set_likelihood()
Dvoice_detection_impl.h52 rtc::scoped_ptr<Vad> vad_ GUARDED_BY(crit_);
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc58 vad_(config.vad ? rtc_make_scoped_ptr(config.vad) in AudioEncoderCng()
133 Vad::Activity activity = vad_->VoiceActivity( in EncodeInternal()
138 activity = vad_->VoiceActivity( in EncodeInternal()
174 vad_->Reset(); in Reset()
Daudio_encoder_cng.h87 rtc::scoped_ptr<Vad> vad_; variable
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl.cc80 vad_(new PostDecodeVad()), in NetEqImpl()
117 RTC_DCHECK(!vad_->enabled()); in NetEqImpl()
119 vad_->Enable(); in NetEqImpl()
354 assert(vad_.get()); in EnableVad()
355 vad_->Enable(); in EnableVad()
360 assert(vad_.get()); in DisableVad()
361 vad_->Disable(); in DisableVad()
764 assert(vad_.get()); in GetAudioInternal()
767 vad_->Update(decoded_buffer_.get(), static_cast<size_t>(length), speech_type, in GetAudioInternal()
908 background_noise_->Update(*sync_buffer_, *vad_.get()); in GetAudioInternal()
[all …]
Dneteq_impl.h357 const rtc::scoped_ptr<PostDecodeVad> vad_ GUARDED_BY(crit_sect_);
/external/webrtc/webrtc/tools/agc/
Dactivity_metric.cc79 vad_(new PitchBasedVad()), in AgcStat()
126 if (vad_->VoicingProbability(features, p) < 0) in AddAudio()
159 rtc::scoped_ptr<PitchBasedVad> vad_; member in webrtc::AgcStat
/external/webrtc/webrtc/modules/audio_processing/test/
Dapmtest.m195 vadoutfile = ['vad_' outfile '.dat'];