Home
last modified time | relevance | path

Searched refs:delay_buffer (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/modules/audio_processing/aec3/
Drender_delay_buffer_unittest.cc41 std::unique_ptr<RenderDelayBuffer> delay_buffer( in TEST() local
49 delay_buffer->Insert(block_to_insert)); in TEST()
54 delay_buffer->Insert(block_to_insert); in TEST()
70 std::unique_ptr<RenderDelayBuffer> delay_buffer(RenderDelayBuffer::Create( in TEST() local
76 delay_buffer->Insert(input_block)); in TEST()
77 delay_buffer->PrepareCaptureProcessing(); in TEST()
83 std::unique_ptr<RenderDelayBuffer> delay_buffer( in TEST() local
85 ASSERT_TRUE(delay_buffer->Delay()); in TEST()
86 delay_buffer->Reset(); in TEST()
90 ASSERT_TRUE(delay_buffer->AlignFromDelay(delay)); in TEST()
[all …]
Dblock_delay_buffer_unittest.cc71 BlockDelayBuffer delay_buffer(num_channels, num_bands, subband_frame_length, in TEST_P() local
87 delay_buffer.DelaySignal(&audio_buffer); in TEST_P()
Dsubtractor_unittest.cc75 std::vector<std::vector<std::unique_ptr<DelayBuffer<float>>>> delay_buffer( in RunSubtractorTest() local
78 delay_buffer[capture_ch].resize(num_render_channels); in RunSubtractorTest()
80 delay_buffer[capture_ch][render_ch] = in RunSubtractorTest()
117 delay_buffer[capture_ch][render_ch]->Delay(x[0][render_ch], in RunSubtractorTest()
Drender_delay_controller_unittest.cc66 std::unique_ptr<RenderDelayBuffer> delay_buffer( in TEST() local
73 delay_buffer->GetDownsampledRenderBuffer(), in TEST()
74 delay_buffer->Delay(), block); in TEST()
Dcoarse_filter_update_gain_unittest.cc76 DelayBuffer<float> delay_buffer(delay_samples); in RunFilterUpdateTest() local
89 delay_buffer.Delay(x[0][0], y); in RunFilterUpdateTest()
Drefined_filter_update_gain_unittest.cc118 DelayBuffer<float> delay_buffer(delay_samples); in RunFilterUpdateTest() local
146 delay_buffer.Delay(x[0][0], y); in RunFilterUpdateTest()
Dadaptive_fir_filter_unittest.cc417 std::vector<DelayBuffer<float>> delay_buffer( in TEST_P()
435 delay_buffer[ch].Delay(x[0][ch], y_channel); in TEST_P()
/external/webrtc/modules/audio_processing/test/
Decho_canceller_test_tools_unittest.cc24 DelayBuffer<float> delay_buffer(kDelay); in TEST() local
32 delay_buffer.Delay( in TEST()
43 DelayBuffer<int> delay_buffer(kDelay); in TEST() local
51 delay_buffer.Delay( in TEST()
/external/webrtc/modules/audio_processing/ns/
Dnoise_suppressor.cc110 rtc::ArrayView<float, kFftSize - kNsFrameSize> delay_buffer, in DelaySignal()
113 std::copy(delay_buffer.begin(), delay_buffer.end(), delayed_frame.begin()); in DelaySignal()
115 delayed_frame.begin() + delay_buffer.size()); in DelaySignal()
118 delay_buffer.begin()); in DelaySignal()
/external/libopus/src/
Dopus_encoder.c112 opus_val16 delay_buffer[MAX_ENCODER_BUFFER*2]; member
1628 …OPUS_COPY(pcm_buf, &st->delay_buffer[(st->encoder_buffer-total_buffer)*st->channels], total_buffer… in opus_encode_native()
1813 gain_fade(st->delay_buffer+prefill_offset, st->delay_buffer+prefill_offset, in opus_encode_native()
1815 OPUS_CLEAR(st->delay_buffer, prefill_offset); in opus_encode_native()
1817 pcm_silk = st->delay_buffer; in opus_encode_native()
1820 pcm_silk[i] = FLOAT2INT16(st->delay_buffer[i]); in opus_encode_native()
1926 …OPUS_COPY(tmp_prefill, &st->delay_buffer[(st->encoder_buffer-total_buffer-st->Fs/400)*st->channels… in opus_encode_native()
1931 …OPUS_MOVE(st->delay_buffer, &st->delay_buffer[st->channels*frame_size], st->channels*(st->encoder_… in opus_encode_native()
1932 OPUS_COPY(&st->delay_buffer[st->channels*(st->encoder_buffer-frame_size-total_buffer)], in opus_encode_native()
1936 …OPUS_COPY(st->delay_buffer, &pcm_buf[(frame_size+total_buffer-st->encoder_buffer)*st->channels], s… in opus_encode_native()