Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/neteq/
Dexpand.cc504 int32_t energy1 = WebRtcSpl_DotProductWithScale( in AnalyzeSignal() local
516 if ((energy1 > 0) && (energy2 > 0)) { in AnalyzeSignal()
517 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); in AnalyzeSignal()
524 int32_t scaled_energy1 = energy1 >> energy1_scale; in AnalyzeSignal()
545 energy1 = WebRtcSpl_DotProductWithScale(vector1, vector1, expansion_length, in AnalyzeSignal()
552 if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) { in AnalyzeSignal()
559 WebRtcSpl_DivW32W16(WEBRTC_SPL_SHIFT_W32(energy1, -scaled_energy1), 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
189 silk_sum_sqr_shift( energy1, shift1, exc_buf, 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()