Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc31 : fs_hz_(fs_hz), in Merge()
33 fs_mult_(fs_hz_ / 8000), in Merge()
34 timestamps_per_call_(static_cast<size_t>(fs_hz_ / 100)), in Merge()
45 assert(fs_hz_ == 8000 || fs_hz_ == 16000 || fs_hz_ == 32000 || in Process()
46 fs_hz_ == 48000); in Process()
47 assert(fs_hz_ <= kMaxSampleRate); // Should not be possible. in Process()
267 int decimation_factor = fs_hz_ / 4000; in Downsample()
269 size_t length_limit = static_cast<size_t>(fs_hz_ / 100); // 10 ms in samples. in Downsample()
270 if (fs_hz_ == 8000) { in Downsample()
273 } else if (fs_hz_ == 16000) { in Downsample()
[all …]
Dcomfort_noise.cc57 assert(fs_hz_ == 8000 || fs_hz_ == 16000 || fs_hz_ == 32000 || in Generate()
58 fs_hz_ == 48000); in Generate()
97 if (fs_hz_ == 8000) { in Generate()
102 } else if (fs_hz_ == 16000) { in Generate()
107 } else if (fs_hz_ == 32000) { in Generate()
Dcomfort_noise.h37 : fs_hz_(fs_hz), in ComfortNoise()
39 overlap_length_(5 * fs_hz_ / 8000), in ComfortNoise()
63 int fs_hz_;
Dneteq_impl.cc108 fs_hz_ = fs; in NetEqImpl()
292 if (fs_hz_ == 0) in CurrentDelayMs()
302 static_cast<int>(delay_samples) / rtc::CheckedDivExact(fs_hz_, 1000); in CurrentDelayMs()
332 stats_.GetNetworkStatistics(fs_hz_, total_samples_in_buffers, in NetworkStatistics()
423 nack_->UpdateSampleRate(fs_hz_); in EnableNack()
694 if (decoder_info->fs_hz != fs_hz_ || in InsertPacketInternal()
701 nack_->UpdateSampleRate(fs_hz_); in InsertPacketInternal()
722 rtc::checked_cast<int>((1000 * packet_length_samples) / fs_hz_)); in InsertPacketInternal()
732 fs_hz_); in InsertPacketInternal()
768 sid_frame_available, fs_hz_); in GetAudioInternal()
[all …]
Dexpand.cc38 fs_hz_(fs), in Expand()
80 int fs_mult = fs_hz_ / 8000; in Process()
138 if (fs_hz_ == 8000) { in Process()
143 } else if (fs_hz_ == 16000) { in Process()
148 } else if (fs_hz_ == 32000) { in Process()
311 std::min(expand_duration_samples_, rtc::checked_cast<size_t>(fs_hz_ * 2)); in Process()
320 rtc::checked_cast<int>(expand_duration_samples_) / (fs_hz_ / 1000)); in SetParametersForNormalAfterExpand()
365 int fs_mult = fs_hz_ / 8000; in AnalyzeSignal()
775 if (fs_hz_ == 8000) { in Correlation()
779 } else if (fs_hz_ == 16000) { in Correlation()
[all …]
Dnormal.h38 : fs_hz_(fs_hz), in Normal()
59 int fs_hz_;
Dmerge.h56 const int fs_hz_;
Dexpand.h94 const int fs_hz_; variable
Dnormal.cc48 const int fs_mult = fs_hz_ / 8000; in Process()
Dneteq_impl.h377 int fs_hz_ GUARDED_BY(crit_sect_);