Home
last modified time | relevance | path

Searched refs:bckr_est (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/av/media/codecs/amrwb/enc/src/
H A Dwb_vad.c423 temp = (st->old_level[i] - st->bckr_est[i]); in noise_estimate_update()
427 st->bckr_est[i] = add1(-2, add(st->bckr_est[i],vo_mult_r(alpha_down, temp))); in noise_estimate_update()
429 if(st->bckr_est[i] < NOISE_MIN) in noise_estimate_update()
431 st->bckr_est[i] = NOISE_MIN; in noise_estimate_update()
435 st->bckr_est[i] = add1(bckr_add, add1(st->bckr_est[i],vo_mult_r(alpha_up, temp))); in noise_estimate_update()
438 if(st->bckr_est[i] > NOISE_MAX) in noise_estimate_update()
440 st->bckr_est[i] = NOISE_MAX; in noise_estimate_update()
481 exp = norm_s(st->bckr_est[i]); in vad_decision()
482 temp = (st->bckr_est[i] << exp); in vad_decision()
492 L_temp = vo_L_add(L_temp, st->bckr_est[i]); in vad_decision()
[all …]
/aosp12/frameworks/av/media/codecs/amrnb/common/src/
H A Dvad1.cpp1153 temp = add(st->bckr_est[i], temp, pOverflow); in noise_estimate_update()
1155 st->bckr_est[i] = add(-2, temp, pOverflow); in noise_estimate_update()
1158 if (st->bckr_est[i] < NOISE_MIN) in noise_estimate_update()
1160 st->bckr_est[i] = NOISE_MIN; in noise_estimate_update()
1166 temp = add(st->bckr_est[i], temp, pOverflow); in noise_estimate_update()
1170 if (st->bckr_est[i] > NOISE_MAX) in noise_estimate_update()
1172 st->bckr_est[i] = NOISE_MAX; in noise_estimate_update()
1504 exp = norm_s(st->bckr_est[i]); in vad_decision()
1505 temp = shl(st->bckr_est[i], exp, pOverflow); in vad_decision()
1518 L_temp = L_add(L_temp, st->bckr_est[i], pOverflow); in vad_decision()
[all …]
/aosp12/frameworks/av/media/codecs/amrwb/enc/inc/
H A Dwb_vad.h40 Word16 bckr_est[COMPLEN]; /* background noise estimate */ member
/aosp12/frameworks/av/media/codecs/amrnb/common/include/
H A Dvad1.h102 Word16 bckr_est[COMPLEN]; /* background noise estimate */ member