/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | standalone_vad_unittest.cc | 23 rtc::scoped_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 | 23 StandaloneVad::StandaloneVad(VadInst* vad) in StandaloneVad() argument 24 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) { in StandaloneVad() 32 VadInst* vad = WebRtcVad_Create(); in Create() local 33 if (!vad) in Create() 36 int err = WebRtcVad_Init(vad); in Create() 37 err |= WebRtcVad_set_mode(vad, kDefaultStandaloneVadMode); in Create() 39 WebRtcVad_Free(vad); in Create() 42 return new StandaloneVad(vad); in Create()
|
D | standalone_vad.h | 57 explicit StandaloneVad(VadInst* vad);
|
/external/webrtc/webrtc/common_audio/ |
D | common_audio.gyp | 28 'vad/include', 105 'vad/include/vad.h', 106 'vad/include/webrtc_vad.h', 107 'vad/vad.cc', 108 'vad/webrtc_vad.c', 109 'vad/vad_core.c', 110 'vad/vad_core.h', 111 'vad/vad_filterbank.c', 112 'vad/vad_filterbank.h', 113 'vad/vad_gmm.c', [all …]
|
D | BUILD.gn | 16 "vad/include", 91 "vad/include/vad.h", 92 "vad/include/webrtc_vad.h", 93 "vad/vad.cc", 94 "vad/vad_core.c", 95 "vad/vad_core.h", 96 "vad/vad_filterbank.c", 97 "vad/vad_filterbank.h", 98 "vad/vad_gmm.c", 99 "vad/vad_gmm.h", [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing.gypi | 125 'vad/common.h', 126 'vad/gmm.cc', 127 'vad/gmm.h', 128 'vad/noise_gmm_tables.h', 129 'vad/pitch_based_vad.cc', 130 'vad/pitch_based_vad.h', 131 'vad/pitch_internal.cc', 132 'vad/pitch_internal.h', 133 'vad/pole_zero_filter.cc', 134 'vad/pole_zero_filter.h', [all …]
|
D | BUILD.gn | 115 "vad/common.h", 116 "vad/gmm.cc", 117 "vad/gmm.h", 118 "vad/noise_gmm_tables.h", 119 "vad/pitch_based_vad.cc", 120 "vad/pitch_based_vad.h", 121 "vad/pitch_internal.cc", 122 "vad/pitch_internal.h", 123 "vad/pole_zero_filter.cc", 124 "vad/pole_zero_filter.h", [all …]
|
/external/webrtc/webrtc/common_audio/vad/ |
D | webrtc_vad.c | 60 int vad = -1; in WebRtcVad_Process() local 78 vad = WebRtcVad_CalcVad48khz(self, audio_frame, frame_length); in WebRtcVad_Process() 80 vad = WebRtcVad_CalcVad32khz(self, audio_frame, frame_length); in WebRtcVad_Process() 82 vad = WebRtcVad_CalcVad16khz(self, audio_frame, frame_length); in WebRtcVad_Process() 84 vad = WebRtcVad_CalcVad8khz(self, audio_frame, frame_length); in WebRtcVad_Process() 87 if (vad > 0) { in WebRtcVad_Process() 88 vad = 1; in WebRtcVad_Process() 90 return vad; in WebRtcVad_Process()
|
D | vad_core.c | 490 self->vad = 1; // Speech active (=1). in WebRtcVad_InitCore() 600 int vad; in WebRtcVad_CalcVad48khz() local 618 vad = WebRtcVad_CalcVad8khz(inst, speech_nb, frame_length / 6); in WebRtcVad_CalcVad48khz() 620 return vad; in WebRtcVad_CalcVad48khz() 627 int vad; in WebRtcVad_CalcVad32khz() local 641 vad = WebRtcVad_CalcVad8khz(inst, speechNB, len); in WebRtcVad_CalcVad32khz() 643 return vad; in WebRtcVad_CalcVad32khz() 650 int vad; in WebRtcVad_CalcVad16khz() local 658 vad = WebRtcVad_CalcVad8khz(inst, speechNB, len); in WebRtcVad_CalcVad16khz() 660 return vad; in WebRtcVad_CalcVad16khz() [all …]
|
D | vad_core.h | 30 int vad; member
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | RTPencode.cc | 95 int vad, 104 int* vad, 286 int useVAD, vad; in main() local 675 &vad, useVAD, bitrate, numChannels); in main() 677 if (usingStereo && stereoMode != STEREO_MODE_FRAME && vad == 1) { in main() 694 if (vad) in main() 710 if (vad) in main() 723 if (vad) // regular speech data in main() 913 int vad, in NetEQTest_init_coders() argument 982 WebRtcG729_EncoderInit(G729enc_inst[k], vad); in NetEQTest_init_coders() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | background_noise.cc | 45 const PostDecodeVad& vad) { in Update() argument 46 if (vad.running() && vad.active_speech()) { in Update() 68 if ((!vad.running() && in Update() 70 (vad.running() && !vad.active_speech())) { in Update()
|
D | post_decode_vad_unittest.cc | 20 PostDecodeVad vad; in TEST() local
|
D | background_noise.h | 42 const PostDecodeVad& vad);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | APITest.cc | 918 bool* vad; in TestSendVAD() local 934 vad = &_sendVADA; in TestSendVAD() 941 vad = &_sendVADB; in TestSendVAD() 955 *vad = true; in TestSendVAD() 960 *vad = true; in TestSendVAD() 965 *vad = true; in TestSendVAD() 970 *vad = false; in TestSendVAD() 980 CHECK_ERROR_MT(myACM->SetVAD(*dtx, *vad, *mode)); in TestSendVAD() 1017 bool* vad; in ChangeCodec() local 1032 vad = &_sendVADA; in ChangeCodec() [all …]
|
D | TestStereo.cc | 148 bool vad; in Perform() local 198 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); in Perform() 200 EXPECT_TRUE(vad); in Perform() 203 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); in Perform() 205 EXPECT_FALSE(vad); in Perform() 339 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); in Perform() 341 EXPECT_FALSE(vad); in Perform() 343 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); in Perform() 345 EXPECT_FALSE(vad); in Perform() 528 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); in Perform() [all …]
|
/external/speex/libspeexdsp/ |
D | testdenoise.c | 33 int vad; in main() local 37 vad = speex_preprocess_run(st, in); in main()
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | apmtest.m | 18 % 'vad' The VAD test set. 60 tests = {'apm','apmm','aec','aecm','agc','ns','vad'}; 101 opt = ['-ec 1 -agc 2 -nc 2 -vad 3']; 105 ' -ns --ns_moderate -vad']; 117 ' -ns --ns_moderate -vad']; 200 if ~isempty(findstr(opt, '-vad'))
|
/external/webrtc/webrtc/modules/ |
D | modules.gyp | 249 'audio_processing/vad/gmm_unittest.cc', 250 'audio_processing/vad/pitch_based_vad_unittest.cc', 251 'audio_processing/vad/pitch_internal_unittest.cc', 252 'audio_processing/vad/pole_zero_filter_unittest.cc', 253 'audio_processing/vad/standalone_vad_unittest.cc', 254 'audio_processing/vad/vad_audio_proc_unittest.cc', 255 'audio_processing/vad/vad_circular_buffer_unittest.cc', 256 'audio_processing/vad/voice_activity_detector_unittest.cc',
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.cc | 58 vad_(config.vad ? rtc_make_scoped_ptr(config.vad) in AudioEncoderCng()
|
D | audio_encoder_cng.h | 46 Vad* vad = nullptr; member
|
D | audio_encoder_cng_unittest.cc | 46 config_.vad = mock_vad_; in AudioEncoderCngTest() 407 config_.vad = NULL; in AudioEncoderCngDeathTest()
|
/external/webrtc/talk/media/webrtc/ |
D | fakewebrtcvoiceengine.h | 152 vad(false), in Channel() 173 bool vad; member 236 return channels_[channel]->vad; in GetVAD() 482 channels_[channel]->vad = enable;
|
/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 …
|