Home
last modified time | relevance | path

Searched refs:RenderDelayBuffer (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/modules/audio_processing/aec3/
Drender_delay_buffer_unittest.cc36 TEST(RenderDelayBuffer, BufferOverflow) { in TEST() argument
41 std::unique_ptr<RenderDelayBuffer> delay_buffer( in TEST()
42 RenderDelayBuffer::Create(config, rate, num_channels)); in TEST()
48 EXPECT_EQ(RenderDelayBuffer::BufferingEvent::kNone, in TEST()
53 RenderDelayBuffer::BufferingEvent event = in TEST()
57 RenderDelayBuffer::BufferingEvent::kRenderOverrun == event; in TEST()
66 TEST(RenderDelayBuffer, AvailableBlock) { in TEST() argument
70 std::unique_ptr<RenderDelayBuffer> delay_buffer(RenderDelayBuffer::Create( in TEST()
75 EXPECT_EQ(RenderDelayBuffer::BufferingEvent::kNone, in TEST()
81 TEST(RenderDelayBuffer, AlignFromDelay) { in TEST() argument
[all …]
Dblock_processor.cc44 std::unique_ptr<RenderDelayBuffer> render_buffer,
74 std::unique_ptr<RenderDelayBuffer> render_buffer_;
78 RenderDelayBuffer::BufferingEvent render_event_;
90 std::unique_ptr<RenderDelayBuffer> render_buffer, in BlockProcessorImpl()
100 render_event_(RenderDelayBuffer::BufferingEvent::kNone) { in BlockProcessorImpl()
138 if (render_event_ == RenderDelayBuffer::BufferingEvent::kRenderOverrun && in ProcessCapture()
147 render_event_ = RenderDelayBuffer::BufferingEvent::kNone; in ProcessCapture()
152 RenderDelayBuffer::BufferingEvent buffer_event = in ProcessCapture()
155 if (buffer_event == RenderDelayBuffer::BufferingEvent::kRenderUnderrun) { in ProcessCapture()
217 RenderDelayBuffer::BufferingEvent::kNone); in BufferRender()
[all …]
Decho_path_delay_estimator_unittest.cc54 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
55 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in TEST_P()
91 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
92 RenderDelayBuffer::Create(config, kSampleRateHz, kNumRenderChannels)); in TEST()
147 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
148 RenderDelayBuffer::Create(EchoCanceller3Config(), kSampleRateHz, in TEST()
172 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
173 RenderDelayBuffer::Create(config, 48000, 1)); in TEST()
187 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
188 RenderDelayBuffer::Create(config, 48000, 1)); in TEST()
Drender_delay_controller_unittest.cc66 std::unique_ptr<RenderDelayBuffer> delay_buffer( in TEST()
67 RenderDelayBuffer::Create(config, rate, num_render_channels)); in TEST()
105 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
106 RenderDelayBuffer::Create(config, rate, num_render_channels)); in TEST()
156 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
157 RenderDelayBuffer::Create(config, rate, num_render_channels)); in TEST()
223 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
224 RenderDelayBuffer::Create(config, rate, num_render_channels)); in TEST()
279 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
280 RenderDelayBuffer::Create(config, rate, num_render_channels)); in TEST()
[all …]
Decho_remover_unittest.cc62 std::unique_ptr<RenderDelayBuffer> render_buffer(RenderDelayBuffer::Create( in TEST_P()
107 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST()
108 RenderDelayBuffer::Create(EchoCanceller3Config(), rate, 1)); in TEST()
130 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST()
131 RenderDelayBuffer::Create(EchoCanceller3Config(), rate, 1)); in TEST()
150 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST()
151 RenderDelayBuffer::Create(EchoCanceller3Config(), 16000, 1)); in TEST()
185 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST()
186 RenderDelayBuffer::Create(config, rate, num_channels)); in TEST()
Drender_delay_buffer.h26 class RenderDelayBuffer {
35 static RenderDelayBuffer* Create(const EchoCanceller3Config& config,
38 virtual ~RenderDelayBuffer() = default;
Drender_signal_analyzer_unittest.cc68 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in RunNarrowBandDetectionTest()
69 RenderDelayBuffer::Create(config, kSampleRateHz, num_channels)); in RunNarrowBandDetectionTest()
137 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
138 RenderDelayBuffer::Create(EchoCanceller3Config(), 48000, num_channels)); in TEST()
Dblock_processor.h40 std::unique_ptr<RenderDelayBuffer> render_buffer);
46 std::unique_ptr<RenderDelayBuffer> render_buffer,
Dmatched_filter_unittest.cc170 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
171 RenderDelayBuffer::Create(config, kSampleRateHz, kNumChannels)); in TEST()
274 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
275 RenderDelayBuffer::Create(config, kSampleRateHz, kNumChannels)); in TEST()
324 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
325 RenderDelayBuffer::Create(EchoCanceller3Config(), kSampleRateHz, in TEST()
Dadaptive_fir_filter_unittest.cc72 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
73 RenderDelayBuffer::Create(EchoCanceller3Config(), kSampleRateHz, in TEST_P()
185 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
186 RenderDelayBuffer::Create(EchoCanceller3Config(), kSampleRateHz, in TEST_P()
297 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
298 RenderDelayBuffer::Create(EchoCanceller3Config(), 48000, 1)); in TEST()
376 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
377 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in TEST_P()
Drender_delay_buffer.cc42 class RenderDelayBufferImpl final : public RenderDelayBuffer {
203 RenderDelayBuffer::BufferingEvent RenderDelayBufferImpl::Insert( in Insert()
247 RenderDelayBuffer::BufferingEvent
249 RenderDelayBuffer::BufferingEvent event = BufferingEvent::kNone; in PrepareCaptureProcessing()
499 RenderDelayBuffer* RenderDelayBuffer::Create(const EchoCanceller3Config& config, in Create()
Dsubtractor_unittest.cc56 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in RunSubtractorTest()
57 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in RunSubtractorTest()
203 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
204 RenderDelayBuffer::Create(config, 48000, 1)); in TEST()
Dresidual_echo_estimator_unittest.cc42 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
43 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in TEST_P()
Derle_estimator_unittest.cc162 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
163 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in TEST_P()
216 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST_P()
217 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in TEST_P()
Daec_state_unittest.cc33 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in RunNormalUsageTest()
34 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in RunNormalUsageTest()
250 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
251 RenderDelayBuffer::Create(config, 48000, 1)); in TEST()
Dsuppression_gain_unittest.cc84 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in TEST()
85 RenderDelayBuffer::Create(config, kSampleRateHz, kNumRenderChannels)); in TEST()
Dsignal_dependent_erle_estimator_unittest.cc71 std::unique_ptr<RenderDelayBuffer> render_delay_buffer_;
85 RenderDelayBuffer::Create(cfg, 16000, num_render_channels)), in TestInputs()
Dblock_processor_unittest.cc153 .WillRepeatedly(Return(RenderDelayBuffer::BufferingEvent::kNone)); in TEST()
203 .WillRepeatedly(Return(RenderDelayBuffer::BufferingEvent::kNone)); in TEST()
Dcoarse_filter_update_gain_unittest.cc56 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in RunFilterUpdateTest()
57 RenderDelayBuffer::Create(config, kSampleRateHz, num_render_channels)); in RunFilterUpdateTest()
Drefined_filter_update_gain_unittest.cc92 std::unique_ptr<RenderDelayBuffer> render_delay_buffer( in RunFilterUpdateTest()
93 RenderDelayBuffer::Create(config, kSampleRateHz, kNumRenderChannels)); in RunFilterUpdateTest()
/external/webrtc/modules/audio_processing/aec3/mock/
Dmock_render_delay_buffer.h25 class MockRenderDelayBuffer : public RenderDelayBuffer {
31 MOCK_METHOD(RenderDelayBuffer::BufferingEvent,
35 MOCK_METHOD(RenderDelayBuffer::BufferingEvent,