Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc30 static_cast<size_t>(fs_mult_ * 120); // Corresponds to 15 ms. in Process()
66 fs_mult_, &peak_index, &peak_value); in Process()
68 assert(peak_index <= (2 * kCorrelationLen - 1) * fs_mult_); in Process()
74 peak_index += kMinLag * fs_mult_ * 2; in Process()
76 assert(peak_index >= static_cast<size_t>(20 * fs_mult_)); in Process()
77 assert(peak_index <= 20 * fs_mult_ + (2 * kCorrelationLen - 1) * fs_mult_); in Process()
Dmerge.cc33 fs_mult_(fs_hz_ / 8000), in Merge()
103 kMaxCorrelationLength * fs_mult_, in Process()
110 int increment = 4194 / fs_mult_; in Process()
193 const size_t required_length = static_cast<size_t>((120 + 80 + 2) * fs_mult_); in GetExpandedSignal()
211 std::min(static_cast<size_t>(64 * fs_mult_), input_length); in SignalScaling()
217 int log_fs_mult = 30 - WebRtcSpl_NormW32(fs_mult_); in SignalScaling()
316 std::min(max_corr_length, expand_->max_lag() / (fs_mult_ * 2) + 1); in CorrelateAndPeakSearch()
349 size_t start_index_downsamp = start_index / (fs_mult_ * 2); in CorrelateAndPeakSearch()
361 fs_mult_, &best_correlation_index, in CorrelateAndPeakSearch()
Daccelerate.cc25 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_) { in Process()
59 size_t fs_mult_120 = fs_mult_ * 120; in CheckCriteriaAndStretch()
Dtime_stretch.h41 fs_mult_(sample_rate_hz / 8000), in TimeStretch()
93 const int fs_mult_; // Sample rate multiplier = sample_rate_hz_ / 8000. variable
Dpreemptive_expand.cc30 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_ || in Process()
67 size_t fs_mult_120 = static_cast<size_t>(fs_mult_ * 120); in CheckCriteriaAndStretch()
Ddecision_logic.cc101 fs_mult_ = fs_hz / 8000; in SetSampleRate()
156 static_cast<int>(output_size_samples_ / (8 * fs_mult_)); in FilterBufferLevel()
Ddecision_logic_normal.cc71 static_cast<uint32_t>(5 * 8000 * fs_mult_); in GetDecisionSpecialized()
209 static_cast<size_t>(kAllowMergeWithoutExpandMs * fs_mult_ * 8))) { in FuturePacketAvailable()
Dmerge.h91 const int fs_mult_; // fs_hz_ / 8000. variable
Dneteq_impl.cc109 fs_mult_ = fs / 8000; in NetEqImpl()
111 output_size_samples_ = static_cast<size_t>(kOutputSizeMs * 8 * fs_mult_); in NetEqImpl()
1060 const size_t samples_10_ms = static_cast<size_t>(80 * fs_mult_); in GetDecision()
1512 static_cast<size_t>(240 * fs_mult_); // Must have 30 ms. in DoAccelerate()
1586 static_cast<size_t>(240 * fs_mult_); // Must have 30 ms. in DoPreemptiveExpand()
1964 fs_mult_ = fs_hz / 8000; in SetSampleRateAndChannels()
1965 output_size_samples_ = static_cast<size_t>(kOutputSizeMs * 8 * fs_mult_); in SetSampleRateAndChannels()
1988 sync_buffer_.reset(new SyncBuffer(channels, kSyncBufferSize * fs_mult_)); in SetSampleRateAndChannels()
Ddecision_logic.h151 int fs_mult_; variable
Dneteq_impl.h378 int fs_mult_ GUARDED_BY(crit_sect_);