Searched defs:fs_mult (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dnormal.cc48 const unsigned fs_mult = fs_hz_ / 8000; local
49 assert(fs_mult > 0);
50 // fs_shift = log2(fs_mult), rounded down.
53 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult);
79 int energy_length = std::min(static_cast<int>(fs_mult * 64),
111 int16_t increment = 64 / fs_mult;
130 for (size_t i = 0; i < 8 * fs_mult; i++) {
159 memcpy(cng_output, signal, fs_mult * 8 * sizeof(int16_t));
166 for (size_t i = 0; i < 8 * fs_mult; i++) {
177 int16_t increment = 64 / fs_mult;
[all...]
H A Ddsp_helper.cc103 int num_peaks, int fs_mult,
125 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i],
130 ParabolicFit(&data[peak_index[i] - 1], fs_mult, &peak_index[i],
135 peak_index[i] = (peak_index[i] * 2 + 1) * fs_mult;
139 peak_index[i] = peak_index[i] * 2 * fs_mult;
150 void DspHelper::ParabolicFit(int16_t* signal_points, int fs_mult, argument
153 if (fs_mult == 1) {
157 } else if (fs_mult == 2) {
163 } else if (fs_mult == 4) {
196 int16_t stp = kParabolaCoefficients[fit_index[fs_mult]][
102 PeakDetection(int16_t* data, int data_length, int num_peaks, int fs_mult, int* peak_index, int16_t* peak_value) argument
[all...]
H A Dexpand.cc49 int fs_mult = fs_hz_ / 8000; local
150 // max_lag_ = fs_mult * 120;
151 // expand_lags_[0] = fs_mult * 120;
152 // expand_lags_[1] = fs_mult * 120;
153 // expand_lags_[2] = fs_mult * 120;
179 // <= 31 * fs_mult => go from 1 to 0 in about 8 ms;
180 // (>= 31 .. <= 63) * fs_mult => go from 1 to 0 in about 16 ms;
181 // >= 64 * fs_mult => go from 1 to 0 in about 32 ms.
215 // mute_slope = 0.0010 / fs_mult in Q20.
217 static_cast<int16_t>(1049 / fs_mult));
324 int fs_mult = fs_hz_ / 8000; local
[all...]

Completed in 80 milliseconds