Searched refs:fs_mult (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/modules/audio_coding/neteq/ |
D | dsp_helper.cc | 109 int fs_mult, in PeakDetection() argument 132 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i], in PeakDetection() 137 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i], in PeakDetection() 142 peak_index[i] = (peak_index[i] * 2 + 1) * fs_mult; in PeakDetection() 146 peak_index[i] = peak_index[i] * 2 * fs_mult; in PeakDetection() 158 int fs_mult, in ParabolicFit() argument 162 if (fs_mult == 1) { in ParabolicFit() 166 } else if (fs_mult == 2) { in ParabolicFit() 172 } else if (fs_mult == 4) { in ParabolicFit() 205 int16_t stp = kParabolaCoefficients[fit_index[fs_mult]][0] - in ParabolicFit() [all …]
|
D | normal.cc | 46 const int fs_mult = fs_hz_ / 8000; in Process() local 47 RTC_DCHECK_GT(fs_mult, 0); in Process() 51 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult); in Process() 78 std::min(static_cast<size_t>(fs_mult * 64), length_per_channel); in Process() 113 const int increment = std::max(64 / fs_mult, back_to_fullscale_inc); in Process() 150 RTC_DCHECK_LE(8 * fs_mult, kCngLength); in Process() 163 (*output)[0].CopyTo(fs_mult * 8, 0, cng_output); in Process()
|
D | expand.cc | 82 int fs_mult = fs_hz_ / 8000; in Process() local 260 parameters.mute_slope = std::max(parameters.mute_slope, 1049 / fs_mult); in Process() 265 parameters.mute_slope = std::max(parameters.mute_slope, 2097 / fs_mult); in Process() 384 int fs_mult = fs_hz_ / 8000; in AnalyzeSignal() local 387 size_t fs_mult_4 = static_cast<size_t>(fs_mult * 4); in AnalyzeSignal() 388 size_t fs_mult_20 = static_cast<size_t>(fs_mult * 20); in AnalyzeSignal() 389 size_t fs_mult_120 = static_cast<size_t>(fs_mult * 120); in AnalyzeSignal() 390 size_t fs_mult_dist_len = fs_mult * kDistortionLength; in AnalyzeSignal() 391 size_t fs_mult_lpc_analysis_len = fs_mult * kLpcAnalysisLength; in AnalyzeSignal() 393 const size_t signal_length = static_cast<size_t>(256 * fs_mult); in AnalyzeSignal() [all …]
|
D | dsp_helper.h | 92 int fs_mult, 103 int fs_mult,
|