/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
expand.cc | 435 int32_t energy1 = WebRtcSpl_DotProductWithScale( local 447 if ((energy1 > 0) && (energy2 > 0)) { 448 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); 455 int16_t scaled_energy1 = energy1 >> energy1_scale; 459 // Calculate max_correlation / sqrt(energy1 * energy2) in Q14. 476 energy1 = WebRtcSpl_DotProductWithScale(vector1, vector1, expansion_length, 480 // Confirm that amplitude ratio sqrt(energy1 / energy2) is within 0.5 - 2.0, 481 // i.e., energy1 / energy1 is within 0.25 - 4. 483 if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
PLC.c | 177 opus_int32 energy1, energy2, *rand_ptr, *pred_lag_ptr; local 212 silk_sum_sqr_shift( &energy1, &shift1, exc_buf, psPLC->subfr_length ); 215 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) {
|
/external/libopus/silk/ |
PLC.c | 177 opus_int32 energy1, energy2, *rand_ptr, *pred_lag_ptr; local 212 silk_sum_sqr_shift( &energy1, &shift1, exc_buf, psPLC->subfr_length ); 215 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) {
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
ns_core.c | 1049 float energy1, energy2, gain, factor, factor1, factor2; local [all...] |
/external/webrtc/src/modules/audio_processing/ns/ |
ns_core.c | 729 float energy1, energy2, gain, factor, factor1, factor2; local 803 energy1 = 0.0; 806 energy1 += winData[i] * winData[i]; 808 if (energy1 == 0.0) { [all...] |