Home
last modified time | relevance | path

Searched refs:resampler_ (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/common_audio/resampler/
Dpush_sinc_resampler.cc22 : resampler_(new SincResampler(source_frames * 1.0 / destination_frames, in PushSincResampler()
52 RTC_CHECK_EQ(source_length, resampler_->request_frames()); in Resample()
73 resampler_->Resample(resampler_->ChunkSize(), destination); in Resample()
75 resampler_->Resample(destination_frames_, destination); in Resample()
Dpush_sinc_resampler.h62 SincResampler* get_resampler_for_testing() { return resampler_.get(); } in get_resampler_for_testing()
64 std::unique_ptr<SincResampler> resampler_; variable
/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.cc235 resampler_(MakeUniqueSwrContext()) { in SimulatedAudioCapturer()
241 if (swr_is_initialized(resampler_.get())) { in ~SimulatedAudioCapturer()
242 swr_close(resampler_.get()); in ~SimulatedAudioCapturer()
248 if (swr_is_initialized(resampler_.get())) { in EnsureResamplerIsInitializedFor()
261 swr_get_delay(resampler_.get(), std::micro::den)); in EnsureResamplerIsInitializedFor()
276 swr_config_frame(resampler_.get(), fake_output_frame.get(), &frame); in EnsureResamplerIsInitializedFor()
282 const int init_result = swr_init(resampler_.get()); in EnsureResamplerIsInitializedFor()
301 swr_get_delay(resampler_.get(), input_sample_rate_); in ProcessDecodedFrame()
314 resampler_.get(), output_argument, num_output_samples_desired, in ProcessDecodedFrame()
318 swr_close(resampler_.get()); in ProcessDecodedFrame()
Dsimulated_capturer.h158 const SwrContextUniquePtr resampler_; variable
/external/webrtc/modules/audio_coding/acm2/
Dacm_resampler.cc41 if (resampler_.InitializeIfNeeded(in_freq_hz, out_freq_hz, in Resample10Msec()
50 resampler_.Resample(in_audio, in_length, out_audio, out_capacity_samples); in Resample10Msec()
Dacm_resampler.h35 PushResampler<int16_t> resampler_;
Dacm_receiver.h217 ACMResampler resampler_ RTC_GUARDED_BY(mutex_);
Dacm_receiver.cc166 int samples_per_channel_int = resampler_.Resample10Msec( in GetAudio()
181 int samples_per_channel_int = resampler_.Resample10Msec( in GetAudio()
Daudio_coding_module.cc163 acm2::ACMResampler resampler_ RTC_GUARDED_BY(acm_mutex_);
496 int samples_per_channel = resampler_.Resample10Msec( in PreprocessToAddData()
/external/webrtc/audio/
Dremix_resample_unittest.cc40 PushResampler<int16_t> resampler_; member in webrtc::voe::__anon2b0da77f0111::UtilityTest
228 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
234 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
243 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
250 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
/external/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc29 resampler_.ResetIfNeeded(file_rate_hz_, output_rate_hz, 1); in Read()
31 RTC_CHECK_EQ(resampler_.Push(temp_destination.get(), samples_to_read, in Read()
Dresample_input_audio_file.h47 Resampler resampler_; variable
/external/webrtc/modules/audio_processing/agc2/
Dvad_with_level.cc49 resampler_.Resample(frame.channel(0).data(), frame.samples_per_channel(), in AnalyzeFrame()
66 resampler_.InitializeIfNeeded(sample_rate_hz, rnn_vad::kSampleRate24kHz, in SetSampleRate()
Dvad_with_level.h43 PushResampler<float> resampler_; variable
/external/webrtc/modules/audio_processing/vad/
Dvoice_activity_detector.cc45 resampler_.ResetIfNeeded(sample_rate_hz, kSampleRateHz, kNumChannels), in ProcessChunk()
47 resampler_.Push(audio, length, resampled_, kLength10Ms, length); in ProcessChunk()
Dvoice_activity_detector.h60 Resampler resampler_; variable
/external/webrtc/modules/audio_coding/test/
Dopus_test.h50 acm2::ACMResampler resampler_; variable
Dopus_test.cc258 EXPECT_EQ(480, resampler_.Resample10Msec( in Run()