Searched refs:fs_mult (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | dsp_helper.cc | 103 size_t num_peaks, int fs_mult, in PeakDetection() argument 125 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i], in PeakDetection() 130 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i], in PeakDetection() 135 peak_index[i] = (peak_index[i] * 2 + 1) * fs_mult; in PeakDetection() 139 peak_index[i] = peak_index[i] * 2 * fs_mult; in PeakDetection() 150 void DspHelper::ParabolicFit(int16_t* signal_points, int fs_mult, in ParabolicFit() argument 153 if (fs_mult == 1) { in ParabolicFit() 157 } else if (fs_mult == 2) { in ParabolicFit() 163 } else if (fs_mult == 4) { in ParabolicFit() 196 int16_t stp = kParabolaCoefficients[fit_index[fs_mult]][0] in ParabolicFit() [all …]
|
D | normal.cc | 48 const int fs_mult = fs_hz_ / 8000; in Process() local 49 assert(fs_mult > 0); in Process() 53 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult); in Process() 80 std::min(static_cast<size_t>(fs_mult * 64), length_per_channel); in Process() 114 int increment = 64 / fs_mult; in Process() 134 for (size_t i = 0; i < static_cast<size_t>(8 * fs_mult); i++) { in Process() 163 memcpy(cng_output, signal, fs_mult * 8 * sizeof(int16_t)); in Process() 170 for (size_t i = 0; i < static_cast<size_t>(8 * fs_mult); i++) { in Process() 181 int increment = 64 / fs_mult; in Process()
|
D | expand.cc | 80 int fs_mult = fs_hz_ / 8000; in Process() local 249 parameters.mute_slope = std::max(parameters.mute_slope, 1049 / fs_mult); in Process() 254 parameters.mute_slope = std::max(parameters.mute_slope, 2097 / fs_mult); in Process() 365 int fs_mult = fs_hz_ / 8000; in AnalyzeSignal() local 368 size_t fs_mult_4 = static_cast<size_t>(fs_mult * 4); in AnalyzeSignal() 369 size_t fs_mult_20 = static_cast<size_t>(fs_mult * 20); in AnalyzeSignal() 370 size_t fs_mult_120 = static_cast<size_t>(fs_mult * 120); in AnalyzeSignal() 371 size_t fs_mult_dist_len = fs_mult * kDistortionLength; in AnalyzeSignal() 372 size_t fs_mult_lpc_analysis_len = fs_mult * kLpcAnalysisLength; in AnalyzeSignal() 374 const size_t signal_length = static_cast<size_t>(256 * fs_mult); in AnalyzeSignal() [all …]
|
D | dsp_helper.h | 82 size_t num_peaks, int fs_mult, 91 static void ParabolicFit(int16_t* signal_points, int fs_mult,
|