Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
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 …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp1148 temp = sub(st->old_level[i], st->bckr_est[i], pOverflow); in noise_estimate_update()
1153 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()
1167 st->bckr_est[i] = add(bckr_add, 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()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dwb_vad.h40 Word16 bckr_est[COMPLEN]; /* background noise estimate */ member
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dvad1.h102 Word16 bckr_est[COMPLEN]; /* background noise estimate */ member