Home
last modified time | relevance | path

Searched refs:render_buffer (Results 1 – 25 of 48) sorted by relevance

12

/external/webrtc/modules/audio_processing/aec3/
Dadaptive_fir_filter.h54 void AdaptPartitions(const RenderBuffer& render_buffer,
59 void AdaptPartitions_Neon(const RenderBuffer& render_buffer,
65 void AdaptPartitions_Sse2(const RenderBuffer& render_buffer,
70 void AdaptPartitions_Avx2(const RenderBuffer& render_buffer,
77 void ApplyFilter(const RenderBuffer& render_buffer,
82 void ApplyFilter_Neon(const RenderBuffer& render_buffer,
88 void ApplyFilter_Sse2(const RenderBuffer& render_buffer,
93 void ApplyFilter_Avx2(const RenderBuffer& render_buffer,
117 void Filter(const RenderBuffer& render_buffer, FftData* S) const;
121 void Adapt(const RenderBuffer& render_buffer,
[all …]
Decho_remover_unittest.cc62 std::unique_ptr<RenderDelayBuffer> render_buffer(RenderDelayBuffer::Create( in TEST_P() local
73 render_buffer->Insert(render); in TEST_P()
74 render_buffer->PrepareCaptureProcessing(); in TEST_P()
77 delay_estimate, render_buffer->GetRenderBuffer(), in TEST_P()
103 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST() local
110 render_buffer->GetRenderBuffer(), nullptr, &capture), in TEST()
120 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST() local
126 render_buffer->GetRenderBuffer(), nullptr, nullptr), in TEST()
149 std::unique_ptr<RenderDelayBuffer> render_buffer( in TEST() local
151 render_buffer->AlignFromDelay(delay_samples / kBlockSize); in TEST()
[all …]
Dadaptive_fir_filter.cc128 void AdaptPartitions(const RenderBuffer& render_buffer, in AdaptPartitions() argument
133 render_buffer.GetFftBuffer(); in AdaptPartitions()
134 size_t index = render_buffer.Position(); in AdaptPartitions()
151 void AdaptPartitions_Neon(const RenderBuffer& render_buffer, in AdaptPartitions_Neon() argument
156 render_buffer.GetFftBuffer(); in AdaptPartitions_Neon()
159 render_buffer_data.size() - render_buffer.Position(), num_partitions); in AdaptPartitions_Neon()
163 size_t X_partition = render_buffer.Position(); in AdaptPartitions_Neon()
194 X_partition = render_buffer.Position(); in AdaptPartitions_Neon()
217 void AdaptPartitions_Sse2(const RenderBuffer& render_buffer, in AdaptPartitions_Sse2() argument
222 render_buffer.GetFftBuffer(); in AdaptPartitions_Sse2()
[all …]
Decho_audibility.cc32 void EchoAudibility::Update(const RenderBuffer& render_buffer, in Update() argument
36 UpdateRenderNoiseEstimator(render_buffer.GetSpectrumBuffer(), in Update()
37 render_buffer.GetBlockBuffer(), in Update()
41 UpdateRenderStationarityFlags(render_buffer, average_reverb, delay_blocks); in Update()
52 const RenderBuffer& render_buffer, in UpdateRenderStationarityFlags() argument
55 const SpectrumBuffer& spectrum_buffer = render_buffer.GetSpectrumBuffer(); in UpdateRenderStationarityFlags()
59 int num_lookahead = render_buffer.Headroom() - min_channel_delay_blocks + 1; in UpdateRenderStationarityFlags()
Drender_signal_analyzer.cc29 const RenderBuffer& render_buffer, in IdentifySmallNarrowBandRegions() argument
42 render_buffer.Spectrum(*delay_partitions); in IdentifySmallNarrowBandRegions()
57 void IdentifyStrongNarrowBandComponent(const RenderBuffer& render_buffer, in IdentifyStrongNarrowBandComponent() argument
69 const Block& x_latest = render_buffer.GetBlock(0); in IdentifyStrongNarrowBandComponent()
73 render_buffer.Spectrum(0)[channel]; in IdentifyStrongNarrowBandComponent()
127 const RenderBuffer& render_buffer, in Update() argument
130 IdentifySmallNarrowBandRegions(render_buffer, delay_partitions, in Update()
134 IdentifyStrongNarrowBandComponent(render_buffer, strong_peak_freeze_duration_, in Update()
Dadaptive_fir_filter_unittest.cc104 auto* const render_buffer = render_delay_buffer->GetRenderBuffer(); in TEST_P() local
115 AdaptPartitions_Neon(*render_buffer, G, num_partitions, &H_Neon); in TEST_P()
116 AdaptPartitions(*render_buffer, G, num_partitions, &H_C); in TEST_P()
117 AdaptPartitions_Neon(*render_buffer, G, num_partitions, &H_Neon); in TEST_P()
118 AdaptPartitions(*render_buffer, G, num_partitions, &H_C); in TEST_P()
129 ApplyFilter_Neon(*render_buffer, num_partitions, H_Neon, &S_Neon); in TEST_P()
130 ApplyFilter(*render_buffer, num_partitions, H_C, &S_C); in TEST_P()
213 auto* const render_buffer = render_delay_buffer->GetRenderBuffer(); in TEST_P() local
215 ApplyFilter_Sse2(*render_buffer, num_partitions, H_Sse2, &S_Sse2); in TEST_P()
216 ApplyFilter(*render_buffer, num_partitions, H_C, &S_C); in TEST_P()
[all …]
Dadaptive_fir_filter_avx2.cc54 void AdaptPartitions_Avx2(const RenderBuffer& render_buffer, in AdaptPartitions_Avx2() argument
59 render_buffer.GetFftBuffer(); in AdaptPartitions_Avx2()
62 render_buffer_data.size() - render_buffer.Position(), num_partitions); in AdaptPartitions_Avx2()
66 size_t X_partition = render_buffer.Position(); in AdaptPartitions_Avx2()
99 X_partition = render_buffer.Position(); in AdaptPartitions_Avx2()
121 void ApplyFilter_Avx2(const RenderBuffer& render_buffer, in ApplyFilter_Avx2() argument
130 render_buffer.GetFftBuffer(); in ApplyFilter_Avx2()
133 render_buffer_data.size() - render_buffer.Position(), num_partitions); in ApplyFilter_Avx2()
137 size_t X_partition = render_buffer.Position(); in ApplyFilter_Avx2()
169 X_partition = render_buffer.Position(); in ApplyFilter_Avx2()
Dblock_processor.cc44 std::unique_ptr<RenderDelayBuffer> render_buffer,
89 std::unique_ptr<RenderDelayBuffer> render_buffer, in BlockProcessorImpl() argument
95 render_buffer_(std::move(render_buffer)), in BlockProcessorImpl()
244 std::unique_ptr<RenderDelayBuffer> render_buffer( in Create() local
254 num_capture_channels, std::move(render_buffer), in Create()
263 std::unique_ptr<RenderDelayBuffer> render_buffer) { in Create() argument
272 num_capture_channels, std::move(render_buffer), in Create()
281 std::unique_ptr<RenderDelayBuffer> render_buffer, in Create() argument
285 num_capture_channels, std::move(render_buffer), in Create()
Dresidual_echo_estimator.cc176 const RenderBuffer& render_buffer, in Estimate() argument
188 UpdateRenderNoisePower(render_buffer); in Estimate()
206 UpdateReverb(ReverbType::kLinear, aec_state, render_buffer, in Estimate()
225 render_buffer.GetSpectrumBuffer(), config_.echo_model, in Estimate()
244 UpdateReverb(ReverbType::kNonLinear, aec_state, render_buffer, in Estimate()
271 const RenderBuffer& render_buffer) { in UpdateRenderNoisePower() argument
274 render_buffer.Spectrum(0); in UpdateRenderNoisePower()
310 const RenderBuffer& render_buffer, in UpdateReverb() argument
321 render_buffer.Spectrum(first_reverb_partition); in UpdateReverb()
Dsubtractor.cc178 void Subtractor::Process(const RenderBuffer& render_buffer, in Process() argument
192 render_buffer.SpectralSum(refined_filters_[0]->SizePartitions(), in Process()
196 render_buffer.SpectralSums(coarse_filter_[0]->SizePartitions(), in Process()
200 render_buffer.SpectralSums(refined_filters_[0]->SizePartitions(), in Process()
218 refined_filters_[ch]->Filter(render_buffer, &S); in Process()
221 coarse_filter_[ch]->Filter(render_buffer, &S); in Process()
268 refined_filters_[ch]->Adapt(render_buffer, G, in Process()
302 coarse_filter_[ch]->Adapt(render_buffer, G, in Process()
305 coarse_filter_[ch]->Adapt(render_buffer, G); in Process()
Dresidual_echo_estimator.h39 const RenderBuffer& render_buffer,
54 void UpdateRenderNoisePower(const RenderBuffer& render_buffer);
59 const RenderBuffer& render_buffer,
Daec_state.cc177 const RenderBuffer& render_buffer, in Update() argument
198 filter_analyzer_.Update(adaptive_filter_impulse_responses, render_buffer, in Update()
208 render_buffer.GetBlock(-delay_state_.MinDirectPathFilterDelay()); in Update()
230 ComputeAvgRenderReverb(render_buffer.GetSpectrumBuffer(), in Update()
237 echo_audibility_.Update(render_buffer, avg_render_reverb_.reverb(), in Update()
247 erle_estimator_.Update(render_buffer, adaptive_filter_frequency_responses, in Update()
253 render_buffer.Spectrum(delay_state_.MinDirectPathFilterDelay()), Y2); in Update()
Decho_remover.cc124 RenderBuffer* render_buffer,
243 RenderBuffer* render_buffer, in ProcessCapture() argument
247 const Block& x = render_buffer->GetBlock(0); in ProcessCapture()
249 RTC_DCHECK(render_buffer); in ProcessCapture()
359 render_signal_analyzer_.Update(*render_buffer, in ProcessCapture()
369 subtractor_.Process(*render_buffer, *y, render_signal_analyzer_, aec_state_, in ProcessCapture()
394 subtractor_.FilterImpulseResponses(), *render_buffer, E2, in ProcessCapture()
413 residual_echo_estimator_.Estimate(aec_state_, *render_buffer, S2_linear, Y2, in ProcessCapture()
468 "aec3_X2", render_buffer->Spectrum( in ProcessCapture()
Dsignal_dependent_erle_estimator.h49 const RenderBuffer& render_buffer,
66 const RenderBuffer& render_buffer,
77 const RenderBuffer& render_buffer,
DBUILD.gn83 "render_buffer.cc",
138 ":render_buffer",
186 rtc_source_set("render_buffer") {
191 "render_buffer.h",
209 ":render_buffer",
312 ":render_buffer",
Decho_audibility.h34 void Update(const RenderBuffer& render_buffer,
62 void UpdateRenderStationarityFlags(const RenderBuffer& render_buffer,
Dsignal_dependent_erle_estimator.cc179 const RenderBuffer& render_buffer, in Update() argument
193 ComputeNumberOfActiveFilterSections(render_buffer, in Update()
233 const RenderBuffer& render_buffer, in ComputeNumberOfActiveFilterSections() argument
239 ComputeEchoEstimatePerFilterSection(render_buffer, in ComputeNumberOfActiveFilterSections()
346 const RenderBuffer& render_buffer, in ComputeEchoEstimatePerFilterSection() argument
350 render_buffer.GetSpectrumBuffer(); in ComputeEchoEstimatePerFilterSection()
360 size_t idx_render = render_buffer.Position(); in ComputeEchoEstimatePerFilterSection()
Dblock_processor.h41 std::unique_ptr<RenderDelayBuffer> render_buffer);
47 std::unique_ptr<RenderDelayBuffer> render_buffer,
Drender_delay_controller.cc48 const DownsampledRenderBuffer& render_buffer,
115 const DownsampledRenderBuffer& render_buffer, in GetDelay() argument
120 auto delay_samples = delay_estimator_.EstimateDelay(render_buffer, capture); in GetDelay()
Derle_estimator.cc46 const RenderBuffer& render_buffer, in Update() argument
71 render_buffer, filter_frequency_responses, X2_reverb, Y2, E2, in Update()
Dfilter_analyzer.cc77 const RenderBuffer& render_buffer, in Update() argument
87 AnalyzeRegion(filters_time_domain, render_buffer); in Update()
106 const RenderBuffer& render_buffer) { in AnalyzeRegion() argument
132 render_buffer.GetBlock(-filter_delays_blocks_[ch]), st_ch.peak_index, in AnalyzeRegion()
Decho_path_delay_estimator.cc62 const DownsampledRenderBuffer& render_buffer, in EstimateDelay() argument
74 matched_filter_.Update(render_buffer, downsampled_capture, in EstimateDelay()
Dfilter_analyzer.h46 const RenderBuffer& render_buffer,
76 const RenderBuffer& render_buffer);
/external/webrtc/modules/audio_processing/
Decho_control_mobile_bit_exact_unittest.cc72 AudioBuffer render_buffer( in RunBitexactnessTest() local
93 test::CopyVectorToAudioBuffer(render_config, render_input, &render_buffer); in RunBitexactnessTest()
97 ProcessOneFrame(sample_rate_hz, stream_delay_ms, &render_buffer, in RunBitexactnessTest()
Dgain_control_unittest.cc81 AudioBuffer render_buffer( in RunBitExactnessTest() local
102 test::CopyVectorToAudioBuffer(render_config, render_input, &render_buffer); in RunBitExactnessTest()
106 ProcessOneFrame(sample_rate_hz, &render_buffer, &capture_buffer, in RunBitExactnessTest()

12