Home
last modified time | relevance | path

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

/frameworks/av/media/codecs/amrnb/common/src/
Dvad1.cpp1481 Word32 pow_sum, /* i : power of the input frame */ in vad_decision() argument
1544 if (L_sub(pow_sum, VAD_POW_LOW, pOverflow) < 0) in vad_decision()
2295 Word32 pow_sum; in vad1() local
2299 pow_sum = 0L; in vad1()
2303 pow_sum = L_mac(pow_sum, in_buf[i-LOOKAHEAD], in_buf[i-LOOKAHEAD], pOverflow); in vad1()
2309 if (L_sub(pow_sum, POW_PITCH_THR, pOverflow) < 0) in vad1()
2317 if (L_sub(pow_sum, POW_COMPLEX_THR, pOverflow) < 0) in vad1()
2327 return (vad_decision(st, level, pow_sum, pOverflow)); in vad1()
/frameworks/av/media/codecs/amrwb/enc/src/
Dwb_vad.c462 Word32 pow_sum /* i : power of the input frame */ in vad_decision() argument
535 if(pow_sum < VAD_POW_LOW) in vad_decision()
767 Word32 L_temp, pow_sum; in wb_vad() local
777 pow_sum = L_add(L_temp, st->prev_pow_sum); in wb_vad()
783 if (pow_sum < POW_TONE_THR) in wb_vad()
791 VAD_flag = vad_decision(st, level, pow_sum); in wb_vad()