OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:residual_energy
(Results
1 - 5
of
5
) sorted by null
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
lpc_masking_model_unittest.cc
29
int32_t
residual_energy
= 0;
local
31
// Test the code path where (
residual_energy
>= 0x10000).
32
residual_energy
= CalculateResidualEnergyFunction(kIntOrder,
34
EXPECT_EQ(1789023310,
residual_energy
);
37
// Test the code path where (
residual_energy
< 0x10000)
43
residual_energy
= CalculateResidualEnergyFunction(kIntOrder,
45
EXPECT_EQ(1595279092,
residual_energy
);
48
// Test the code path where (
residual_energy
<= 0x7fff).
52
residual_energy
= CalculateResidualEnergyFunction(kIntOrder,
54
EXPECT_EQ(2029266944,
residual_energy
);
[
all
...]
lpc_masking_model_mips.c
25
int32_t tmp32 = 0, word32_high = 0, word32_low = 0,
residual_energy
= 0;
local
33
//
residual_energy
+=
116
//
residual_energy
+=
209
"srl %[
residual_energy
], %[sum64_lo], %[shift_norm] \n\t"
213
"or %[
residual_energy
], %[
residual_energy
], %[tmp1] \n\t"
215
: [
residual_energy
] "=&r" (
residual_energy
), [tmp1]"=&r"(tmp1),
223
residual_energy
= (uint32_t)word32_low >> 1;
226
residual_energy
= word32_low << shift_norm
[
all
...]
lpc_masking_model.c
470
int32_t tmp32 = 0, word32_high = 0, word32_low = 0,
residual_energy
= 0;
local
475
/* For the case of i == 0:
residual_energy
+=
477
* For the case of i != 0:
residual_energy
+=
508
residual_energy
= (int32_t)(sum64 >> shift_norm);
512
residual_energy
= (uint32_t)word32_low >> 1;
515
residual_energy
= word32_low << shift_norm;
526
return
residual_energy
;
/external/webrtc/webrtc/modules/audio_coding/neteq/
background_noise.cc
98
int32_t
residual_energy
= WebRtcSpl_DotProductWithScale(fiter_output,
local
106
// If 20 *
residual_energy
>= sample_energy << 6, the spectrum is flat
108
if ((
residual_energy
* 20 >= (sample_energy << 6)) &&
116
residual_energy
);
231
int32_t
residual_energy
) {
244
// Normalize
residual_energy
to 29 or 30 bits before sqrt.
245
int16_t norm_shift = WebRtcSpl_NormW32(
residual_energy
) - 1;
249
residual_energy
= WEBRTC_SPL_SHIFT_W32(
residual_energy
, norm_shift);
252
parameters.scale = static_cast<int16_t>(WebRtcSpl_SqrtFloor(
residual_energy
));
[
all
...]
background_noise.h
126
int32_t
residual_energy
);
Completed in 3119 milliseconds