/external/webrtc/webrtc/modules/audio_coding/neteq/ |
post_decode_vad_unittest.cc | 20 PostDecodeVad vad; local
|
/external/webrtc/webrtc/common_audio/vad/ |
webrtc_vad.c | 11 #include "webrtc/common_audio/vad/include/webrtc_vad.h" 17 #include "webrtc/common_audio/vad/vad_core.h" 40 // Initialize the core VAD component. 60 int vad = -1; local 78 vad = WebRtcVad_CalcVad48khz(self, audio_frame, frame_length); 80 vad = WebRtcVad_CalcVad32khz(self, audio_frame, frame_length); 82 vad = WebRtcVad_CalcVad16khz(self, audio_frame, frame_length); 84 vad = WebRtcVad_CalcVad8khz(self, audio_frame, frame_length); 87 if (vad > 0) { 88 vad = 1 [all...] |
vad_core.h | 13 * This header file includes the descriptions of the core VAD calls. 30 int vad; member in struct:VadInstT_ 58 // Initializes the core VAD component. The default aggressiveness mode is 70 * This function changes the VAD settings 73 * - inst : VAD instance 92 * Calculate probability for active speech and make VAD decision. 102 * Return value : VAD decision
|
vad_core.c | 11 #include "webrtc/common_audio/vad/vad_core.h" 14 #include "webrtc/common_audio/vad/vad_filterbank.h" 15 #include "webrtc/common_audio/vad/vad_gmm.h" 16 #include "webrtc/common_audio/vad/vad_sp.h" 58 // Maximum number of counted speech (VAD = 1) frames in a row. 117 // - self [i/o] : Pointer to VAD instance 123 // - returns : the VAD decision (0 - noise, 1 - speech). 169 // 1) Calculating the likelihood of speech and thereby a VAD decision. 229 // used for the global VAD decision. 233 // Local VAD decision 600 int vad; local 627 int vad; local 650 int vad; local [all...] |
/external/webrtc/webrtc/modules/audio_processing/vad/ |
standalone_vad.cc | 11 #include "webrtc/modules/audio_processing/vad/standalone_vad.h" 23 StandaloneVad::StandaloneVad(VadInst* vad) 24 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) { 32 VadInst* vad = WebRtcVad_Create(); local 33 if (!vad) 36 int err = WebRtcVad_Init(vad); 37 err |= WebRtcVad_set_mode(vad, kDefaultStandaloneVadMode); 39 WebRtcVad_Free(vad); 42 return new StandaloneVad(vad);
|
voice_activity_detector_unittest.cc | 11 #include "webrtc/modules/audio_processing/vad/voice_activity_detector.h" 41 VoiceActivityDetector vad; local 43 std::vector<double> p = vad.chunkwise_voice_probabilities(); 44 std::vector<double> rms = vad.chunkwise_rms(); 49 EXPECT_FLOAT_EQ(vad.last_voice_probability(), kDefaultVoiceValue); 56 VoiceActivityDetector vad; local 75 vad.ProcessChunk(&data[0], data.size(), kSampleRateHz); 77 mean_probability += vad.last_voice_probability(); 91 VoiceActivityDetector vad; local 110 vad.ProcessChunk(&data[0], data.size(), kSampleRateHz) 123 VoiceActivityDetector vad; local 146 VoiceActivityDetector vad; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
audio_encoder_cng.h | 17 #include "webrtc/common_audio/vad/include/vad.h" 28 class Vad; 39 Vad::Aggressiveness vad_mode = Vad::kVadNormal; 42 // The Vad pointer is mainly for testing. If a NULL pointer is passed, the 43 // AudioEncoderCng creates (and destroys) a Vad object internally. If an 44 // object is passed, the AudioEncoderCng assumes ownership of the Vad 46 Vad* vad = nullptr member in struct:webrtc::final::Config [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
TestStereo.cc | 148 bool vad; local 194 // Start with setting VAD/DTX, before we know we will send stereo. 196 // VAD/DTX gets turned off. 198 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); 200 EXPECT_TRUE(vad); 203 EXPECT_EQ(0, acm_a_->VAD(&dtx, &vad, &vad_mode)); 205 EXPECT_FALSE(vad); 337 // Test that VAD/DTX cannot be turned on while sending stereo [all...] |
APITest.cc | 491 // VAD TEST 598 _acmA->VAD(&dtxEnabled, &vadEnabled, &vadMode); 605 fprintf(stdout, "DTX %3s, VAD %3s, Mode %d", dtxEnabled ? "ON" : "OFF", 611 fprintf(stdout, "DTX %3s, VAD %3s, Mode %d => bit-rate %3.0f kbps\n", 622 fprintf(stderr, ">>> Error Enabling VAD <<<\n"); 625 fprintf(stderr, ">>> Error setting VAD-mode <<<\n"); 628 _acmB->VAD(&dtxEnabled, &vadEnabled, &vadMode); 636 fprintf(stdout, "DTX %3s, VAD %3s, Mode %d", dtxEnabled ? "ON" : "OFF", 642 fprintf(stdout, "DTX %3s, VAD %3s, Mode %d => bit-rate %3.0f kbps\n", 653 fprintf(stderr, ">>> Error Enabling VAD <<<\n") 918 bool* vad; local 1017 bool* vad; local [all...] |
/external/webrtc/talk/media/webrtc/ |
fakewebrtcvoiceengine.h | 152 vad(false), 173 bool vad; member in struct:cricket::FakeWebRtcVoiceEngine::Channel 236 return channels_[channel]->vad; 479 // Replicating VoE behavior; VAD cannot be enabled for stereo. 482 channels_[channel]->vad = enable;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
RTPencode.cc | 95 int vad, 104 int* vad, 286 int useVAD, vad; local 499 printf("Error: this simulation does not support VAD/DTX/CNG\n"); 523 // fixed-rate frame codecs (with internal VAD) 675 &vad, useVAD, bitrate, numChannels); 677 if (usingStereo && stereoMode != STEREO_MODE_FRAME && vad == 1) { 694 if (vad) 710 if (vad) 723 if (vad) // regular speech dat [all...] |