/external/webrtc/modules/audio_processing/vad/ |
D | standalone_vad_unittest.cc | 23 std::unique_ptr<StandaloneVad> vad(StandaloneVad::Create()); in TEST() local 27 EXPECT_EQ(-1, vad->AddAudio(data, 320)); in TEST() 32 EXPECT_EQ(0, vad->AddAudio(data, kLength10Ms)); in TEST() 35 EXPECT_EQ(-1, vad->GetActivity(p, kMaxNumFrames - 1)); in TEST() 37 EXPECT_EQ(0, vad->GetActivity(p, kMaxNumFrames)); in TEST() 40 EXPECT_EQ(-1, vad->GetActivity(p, kMaxNumFrames)); in TEST() 44 EXPECT_EQ(0, vad->AddAudio(data, kLength10Ms)); in TEST() 45 EXPECT_EQ(0, vad->GetActivity(p, 1)); in TEST() 48 EXPECT_EQ(-1, vad->set_mode(-1)); in TEST() 49 EXPECT_EQ(-1, vad->set_mode(4)); in TEST() [all …]
|
D | voice_activity_detector_unittest.cc | 41 VoiceActivityDetector vad; in TEST() local 43 std::vector<double> p = vad.chunkwise_voice_probabilities(); in TEST() 44 std::vector<double> rms = vad.chunkwise_rms(); in TEST() 49 EXPECT_FLOAT_EQ(vad.last_voice_probability(), kDefaultVoiceValue); in TEST() 56 VoiceActivityDetector vad; in TEST() local 75 vad.ProcessChunk(&data[0], data.size(), kSampleRateHz); in TEST() 77 mean_probability += vad.last_voice_probability(); in TEST() 91 VoiceActivityDetector vad; in TEST() local 110 vad.ProcessChunk(&data[0], data.size(), kSampleRateHz); in TEST() 112 mean_probability += vad.last_voice_probability(); in TEST() [all …]
|
D | standalone_vad.cc | 22 StandaloneVad::StandaloneVad(VadInst* vad) in StandaloneVad() argument 23 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) {} in StandaloneVad() 30 VadInst* vad = WebRtcVad_Create(); in Create() local 31 if (!vad) in Create() 34 int err = WebRtcVad_Init(vad); in Create() 35 err |= WebRtcVad_set_mode(vad, kDefaultStandaloneVadMode); in Create() 37 WebRtcVad_Free(vad); in Create() 40 return new StandaloneVad(vad); in Create()
|
D | BUILD.gn | 10 rtc_library("vad") { 61 ":vad",
|
D | standalone_vad.h | 56 explicit StandaloneVad(VadInst* vad);
|
/external/webrtc/common_audio/vad/ |
D | webrtc_vad.c | 58 int vad = -1; in WebRtcVad_Process() local 76 vad = WebRtcVad_CalcVad48khz(self, audio_frame, frame_length); in WebRtcVad_Process() 78 vad = WebRtcVad_CalcVad32khz(self, audio_frame, frame_length); in WebRtcVad_Process() 80 vad = WebRtcVad_CalcVad16khz(self, audio_frame, frame_length); in WebRtcVad_Process() 82 vad = WebRtcVad_CalcVad8khz(self, audio_frame, frame_length); in WebRtcVad_Process() 85 if (vad > 0) { in WebRtcVad_Process() 86 vad = 1; in WebRtcVad_Process() 88 return vad; in WebRtcVad_Process()
|
D | vad_core.c | 499 self->vad = 1; // Speech active (=1). in WebRtcVad_InitCore() 609 int vad; in WebRtcVad_CalcVad48khz() local 627 vad = WebRtcVad_CalcVad8khz(inst, speech_nb, frame_length / 6); in WebRtcVad_CalcVad48khz() 629 return vad; in WebRtcVad_CalcVad48khz() 636 int vad; in WebRtcVad_CalcVad32khz() local 650 vad = WebRtcVad_CalcVad8khz(inst, speechNB, len); in WebRtcVad_CalcVad32khz() 652 return vad; in WebRtcVad_CalcVad32khz() 659 int vad; in WebRtcVad_CalcVad16khz() local 667 vad = WebRtcVad_CalcVad8khz(inst, speechNB, len); in WebRtcVad_CalcVad16khz() 669 return vad; in WebRtcVad_CalcVad16khz() [all …]
|
D | vad_core.h | 26 int vad; member
|
/external/webrtc/common_audio/ |
D | BUILD.gn | 35 "vad/include/vad.h", 36 "vad/vad.cc", 78 "vad/mock/mock_vad.h", 141 "vad/include/webrtc_vad.h", 142 "vad/vad_core.c", 143 "vad/vad_core.h", 144 "vad/vad_filterbank.c", 145 "vad/vad_filterbank.h", 146 "vad/vad_gmm.c", 147 "vad/vad_gmm.h", [all …]
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | apm_vad.cc | 60 VoiceActivityDetector vad; in main() local 70 vad.ProcessChunk(samples.data(), audio_frame_len, wav_reader.sample_rate()); in main() 72 auto probs = vad.chunkwise_voice_probabilities(); in main() 73 auto rms = vad.chunkwise_rms(); in main()
|
D | vad.cc | 63 std::unique_ptr<Vad> vad = CreateVad(Vad::Aggressiveness::kVadNormal); in main() local 73 const auto is_speech = vad->VoiceActivity( in main()
|
D | annotations.py | 101 for vad in external_vads.values(): 102 if not isinstance(vad, external_vad.ExternalVad): 104 'Invalid vad type: ' + str(type(vad))) 106 str(vad.name))
|
/external/webrtc/modules/audio_coding/neteq/ |
D | background_noise.cc | 49 const PostDecodeVad& vad) { in Update() argument 51 if (vad.running() && vad.active_speech()) { in Update() 71 if ((!vad.running() && in Update() 73 (vad.running() && !vad.active_speech())) { in Update()
|
D | post_decode_vad_unittest.cc | 20 PostDecodeVad vad; in TEST() local
|
D | background_noise.h | 42 bool Update(const AudioMultiVector& sync_buffer, const PostDecodeVad& vad);
|
/external/speex/libspeexdsp/ |
D | testdenoise.c | 33 int vad; in main() local 37 vad = speex_preprocess_run(st, in); in main()
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/ |
D | BUILD.gn | 96 ":vad", 111 rtc_executable("vad") { 113 sources = [ "quality_assessment/vad.cc" ] 129 "../../vad",
|
/external/webrtc/modules/audio_processing/test/ |
D | apmtest.m | 28 % 'vad' The VAD test set. 70 tests = {'apm','apmm','aec','aecm','agc','ns','vad'}; 111 opt = ['-ec 1 -agc 2 -nc 2 -vad 3']; 115 ' -ns --ns_moderate -vad']; 127 ' -ns --ns_moderate -vad']; 210 if ~isempty(findstr(opt, '-vad'))
|
/external/webrtc/modules/audio_processing/agc/ |
D | BUILD.gn | 38 "../vad", 55 "../vad",
|
/external/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.h | 41 Vad* vad = nullptr; member
|
D | audio_encoder_cng.cc | 88 vad_(config.vad ? std::unique_ptr<Vad>(config.vad)
|
/external/rnnoise/src/ |
D | rnn.h | 67 void compute_rnn(RNNState *rnn, float *gains, float *vad, const float *input);
|
D | denoise.c | 555 float vad=0; in main() local 615 if (vad_cnt >= 10) vad = 0; in main() 616 else if (vad_cnt > 0) vad = 0.5f; in main() 617 else vad = 1.f; in main() 630 if (vad==0 && noise_gain==0) g[i] = -1; in main() 637 fwrite(&vad, sizeof(float), 1, stdout); in main()
|
D | rnn.c | 160 void compute_rnn(RNNState *rnn, float *gains, float *vad, const float *input) { in compute_rnn() argument 167 compute_dense(rnn->model->vad_output, vad, rnn->vad_gru_state); in compute_rnn()
|
/external/google-breakpad/src/client/mac/sender/sv.lproj/ |
D | Localizable.strings | 8 "commentsMsg" = "Hjälp oss gärna att lösa det här problemet genom att beskriva vad du gjorde innan …
|