Home
last modified time | relevance | path

Searched refs:fs_mult_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc31 static_cast<size_t>(fs_mult_ * 120); // Corresponds to 15 ms. in Process()
67 fs_mult_, &peak_index, &peak_value); in Process()
69 assert(peak_index <= (2 * kCorrelationLen - 1) * fs_mult_); in Process()
75 peak_index += kMinLag * fs_mult_ * 2; in Process()
77 assert(peak_index >= static_cast<size_t>(20 * fs_mult_)); in Process()
78 assert(peak_index <= 20 * fs_mult_ + (2 * kCorrelationLen - 1) * fs_mult_); in Process()
Dmerge.cc36 fs_mult_(fs_hz_ / 8000), in Merge()
99 std::min(kMaxCorrelationLength * fs_mult_, in Process()
115 const int increment = std::max(4194 / fs_mult_, back_to_fullscale_inc); in Process()
195 const size_t required_length = static_cast<size_t>((120 + 80 + 2) * fs_mult_); in GetExpandedSignal()
213 64 * rtc::dchecked_cast<size_t>(fs_mult_), input_length); in SignalScaling()
321 std::min(max_corr_length, expand_->max_lag() / (fs_mult_ * 2) + 1); in CorrelateAndPeakSearch()
350 size_t start_index_downsamp = start_index / (fs_mult_ * 2); in CorrelateAndPeakSearch()
362 fs_mult_, &best_correlation_index, in CorrelateAndPeakSearch()
Dtime_stretch.h41 fs_mult_(sample_rate_hz / 8000), in TimeStretch()
90 const int fs_mult_; // Sample rate multiplier = sample_rate_hz_ / 8000. variable
Daccelerate.cc28 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_) { in Process()
63 size_t fs_mult_120 = fs_mult_ * 120; in CheckCriteriaAndStretch()
Dpreemptive_expand.cc32 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_ || in Process()
69 size_t fs_mult_120 = static_cast<size_t>(fs_mult_ * 120); in CheckCriteriaAndStretch()
Dmerge.h88 const int fs_mult_; // fs_hz_ / 8000. variable
Dneteq_impl.cc176 fs_mult_ = fs / 8000; in NetEqImpl()
178 output_size_samples_ = static_cast<size_t>(kOutputSizeMs * 8 * fs_mult_); in NetEqImpl()
1216 const size_t samples_10_ms = static_cast<size_t>(80 * fs_mult_); in GetDecision()
1695 static_cast<size_t>(240 * fs_mult_); // Must have 30 ms. in DoAccelerate()
1767 static_cast<size_t>(240 * fs_mult_); // Must have 30 ms. in DoPreemptiveExpand()
2103 fs_mult_ = fs_hz / 8000; in SetSampleRateAndChannels()
2104 output_size_samples_ = static_cast<size_t>(kOutputSizeMs * 8 * fs_mult_); in SetSampleRateAndChannels()
2121 sync_buffer_.reset(new SyncBuffer(channels, kSyncBufferSize * fs_mult_)); in SetSampleRateAndChannels()
Dneteq_impl.h367 int fs_mult_ RTC_GUARDED_BY(mutex_);