Searched refs:kChunkSizeMs (Results 1 – 15 of 15) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | transient_suppressor_unittest.cc | 30 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { in TEST() 44 for (int time_ms = 0; time_ms < 990; time_ms += ts::kChunkSizeMs) { in TEST() 61 for (int time_ms = 0; time_ms < 1000; time_ms += ts::kChunkSizeMs) { in TEST() 73 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { in TEST() 78 for (int time_ms = 0; time_ms < 1000; time_ms += ts::kChunkSizeMs) { in TEST()
|
D | transient_suppressor.cc | 102 data_length_ = sample_rate_hz * ts::kChunkSizeMs / 1000; in Initialize() 116 detection_length_ = detection_rate_hz * ts::kChunkSizeMs / 1000; in Initialize() 285 const int kKeypressPenalty = 1000 / ts::kChunkSizeMs; in UpdateKeypress() 286 const int kIsTypingThreshold = 1000 / ts::kChunkSizeMs; in UpdateKeypress() 287 const int kChunksUntilNotTyping = 4000 / ts::kChunkSizeMs; // 4 seconds. in UpdateKeypress()
|
D | transient_detector.cc | 27 kTransientLengthMs / ts::kChunkSizeMs; 31 : samples_per_chunk_(sample_rate_hz * ts::kChunkSizeMs / 1000), in TransientDetector()
|
D | common.h | 17 static const int kChunkSizeMs = 10; variable
|
D | transient_detector_unittest.cc | 80 const size_t buffer_length = sample_rate_hz * ts::kChunkSizeMs / 1000; in TEST()
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer_unittest.cc | 23 const int kChunkSizeMs = 10; variable 58 bf.Initialize(kChunkSizeMs, kSampleRateHz); in TEST() 75 bf.Initialize(kChunkSizeMs, kSampleRateHz); in TEST() 96 bf.Initialize(kChunkSizeMs, kSampleRateHz); in TEST() 115 bf.Initialize(kChunkSizeMs, kSampleRateHz); in TEST() 134 bf.Initialize(kChunkSizeMs, kSampleRateHz); in TEST()
|
D | nonlinear_beamformer_test.cc | 32 const int kChunkSizeMs = 1000 / kChunksPerSecond; variable 54 bf.Initialize(kChunkSizeMs, in_file.sample_rate()); in main()
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | test_utils.cc | 109 return static_cast<size_t>(AudioProcessing::kChunkSizeMs * rate / 1000); in SamplesFromRate() 115 frame->samples_per_channel_ = AudioProcessing::kChunkSizeMs * in SetFrameSampleRate()
|
D | audio_file_processor.h | 45 static const int kChunksPerSecond = 1000 / AudioProcessing::kChunkSizeMs;
|
D | audio_processing_unittest.cc | 1298 static_cast<size_t>(AudioProcessing::kChunkSizeMs * kSampleRateHz / 1000); in TEST_F() 1946 test->sample_rate() * AudioProcessing::kChunkSizeMs / 1000); in TEST_F()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl_locking_unittest.cc | 672 frame_data_.input_sample_rate_hz * AudioProcessing::kChunkSizeMs / 1000; in PrepareFrame() 695 frame_data_.output_sample_rate_hz * AudioProcessing::kChunkSizeMs / 1000; in PrepareFrame() 945 frame_data_.input_sample_rate_hz * AudioProcessing::kChunkSizeMs / 1000; in PrepareFrame() 968 frame_data_.output_sample_rate_hz * AudioProcessing::kChunkSizeMs / 1000; in PrepareFrame()
|
D | audio_processing_performance_unittest.cc | 411 AudioProcessing::kChunkSizeMs / 1000), in PrepareFrame()
|
D | audio_processing_impl.cc | 1310 private_submodules_->beamformer->Initialize(kChunkSizeMs, in InitializeBeamformer()
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_enhancer.cc | 35 const int kChunkSizeMs = 10; // Size provided by APM. variable 76 static_cast<size_t>(config.sample_rate_hz * kChunkSizeMs / 1000)), in IntelligibilityEnhancer()
|
/external/webrtc/webrtc/modules/audio_processing/include/ |
D | audio_processing.h | 493 static const int kChunkSizeMs = 10; variable 546 AudioProcessing::kChunkSizeMs * sample_rate_hz / 1000); in calculate_frames()
|