OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:peak_index
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
time_stretch.cc
63
int
peak_index
;
local
66
fs_mult_, &
peak_index
, &peak_value);
67
// Assert that |
peak_index
| stays within boundaries.
68
assert(
peak_index
>= 0);
69
assert(
peak_index
<= (2 * kCorrelationLen - 1) * fs_mult_);
71
// Compensate
peak_index
for displaced starting position. The displacement
73
// domain, while the |
peak_index
| is in the original sample rate; hence, the
75
peak_index
+= kMinLag * fs_mult_ * 2;
76
// Assert that |
peak_index
| stays within boundaries.
77
assert(
peak_index
>= 20 * fs_mult_)
[
all
...]
preemptive_expand.cc
43
int*
peak_index
) const {
52
*
peak_index
= std::min(*
peak_index
,
57
const int16_t *input, size_t input_length, size_t
peak_index
,
76
input, (unmodified_length +
peak_index
) * num_channels_);
77
// Copy the last |
peak_index
| samples up to 15 ms to |temp_vector|.
80
&input[(unmodified_length -
peak_index
) * num_channels_],
81
peak_index
* num_channels_);
83
output->CrossFade(temp_vector,
peak_index
);
accelerate.cc
37
int* /*
peak_index
*/) const {
44
const int16_t* input, size_t input_length, size_t
peak_index
,
55
assert(fs_mult_120 >=
peak_index
); // Should be handled in Process().
58
// Copy the |
peak_index
| starting at 15 ms to |temp_vector|.
61
peak_index
* num_channels_);
63
output->CrossFade(temp_vector,
peak_index
);
66
&input[(fs_mult_120 +
peak_index
) * num_channels_],
67
input_length - (fs_mult_120 +
peak_index
) * num_channels_);
dsp_helper.cc
104
int*
peak_index
, int16_t* peak_value) {
117
peak_index
[i] = WebRtcSpl_MaxIndexW16(data, data_length - 1);
120
min_index = std::max(0,
peak_index
[i] - 2);
121
max_index = std::min(data_length - 1,
peak_index
[i] + 2);
124
if ((
peak_index
[i] != 0) && (
peak_index
[i] != (data_length - 2))) {
125
ParabolicFit(&data[
peak_index
[i] - 1], fs_mult, &
peak_index
[i],
128
if (
peak_index
[i] == data_length - 2) {
129
if (data[
peak_index
[i]] > data[peak_index[i] + 1])
[
all
...]
accelerate.h
50
// Sets the parameters |best_correlation| and |
peak_index
| to suitable
54
int*
peak_index
) const OVERRIDE;
59
const int16_t* input, size_t input_length, size_t
peak_index
,
time_stretch.h
65
// Sets the parameters |best_correlation| and |
peak_index
| to suitable
70
int*
peak_index
) const = 0;
76
const int16_t* input, size_t input_length, size_t
peak_index
,
105
int
peak_index
, int scaling) const;
dsp_helper.h
78
// locations and values are written to the arrays |
peak_index
| and
83
int*
peak_index
, int16_t* peak_value);
89
// |
peak_index
| and |peak_value| is given in the full sample rate, as
92
int*
peak_index
, int16_t* peak_value);
Completed in 59 milliseconds