Searched refs:fs_hz_ (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | merge.cc | 31 : 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 …]
|
D | comfort_noise.cc | 57 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()
|
D | comfort_noise.h | 37 : fs_hz_(fs_hz), in ComfortNoise() 39 overlap_length_(5 * fs_hz_ / 8000), in ComfortNoise() 63 int fs_hz_;
|
D | neteq_impl.cc | 108 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 …]
|
D | expand.cc | 38 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 …]
|
D | normal.h | 38 : fs_hz_(fs_hz), in Normal() 59 int fs_hz_;
|
D | merge.h | 56 const int fs_hz_;
|
D | expand.h | 94 const int fs_hz_; variable
|
D | normal.cc | 48 const int fs_mult = fs_hz_ / 8000; in Process()
|
D | neteq_impl.h | 377 int fs_hz_ GUARDED_BY(crit_sect_);
|