Home
last modified time | relevance | path

Searched refs:energy2 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dexpand.cc508 int32_t energy2 = WebRtcSpl_DotProductWithScale( in AnalyzeSignal() local
516 if ((energy1 > 0) && (energy2 > 0)) { in AnalyzeSignal()
518 int energy2_scale = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal()
525 int32_t scaled_energy2 = energy2 >> energy2_scale; in AnalyzeSignal()
547 energy2 = WebRtcSpl_DotProductWithScale(vector2, vector2, expansion_length, in AnalyzeSignal()
552 if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) { in AnalyzeSignal()
555 int32_t scaled_energy2 = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal()
560 static_cast<int16_t>(energy2 >> scaled_energy2)); in AnalyzeSignal()
584 if ((energy1 / 4 < energy2) || (energy2 == 0)) { in AnalyzeSignal()
/external/libopus/silk/
DPLC.c170 static OPUS_INLINE void silk_PLC_energy(opus_int32 *energy1, opus_int *shift1, opus_int32 *energy2,… in silk_PLC_energy() argument
190 silk_sum_sqr_shift( energy2, shift2, &exc_buf[ subfr_length ], subfr_length ); in silk_PLC_energy()
204 opus_int32 energy1, energy2, *rand_ptr, *pred_lag_ptr; in silk_PLC_conceal() local
235 …silk_PLC_energy(&energy1, &shift1, &energy2, &shift2, psDec->exc_Q14, prevGain_Q10, psDec->subfr_l… in silk_PLC_conceal()
237 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) { in silk_PLC_conceal()