Lines Matching refs:nb_adapt
241 int nb_adapt; /**< Number of frames used for adaptation so far */ member
524 st->nb_adapt=0; in speex_preprocess_state_init()
586 if (st->init_max < st->max_gain && st->nb_adapt > 20) in speex_compute_agc()
593 if ((Pframe>.5 && st->nb_adapt > 20) || target_gain < st->agc_gain) in speex_compute_agc()
672 if (st->nb_adapt==1) in update_noise_prob()
678 if (st->nb_adapt < 100) in update_noise_prob()
680 else if (st->nb_adapt < 1000) in update_noise_prob()
682 else if (st->nb_adapt < 10000) in update_noise_prob()
735 st->nb_adapt++; in speex_preprocess_run()
736 if (st->nb_adapt>20000) in speex_preprocess_run()
737 st->nb_adapt = 20000; in speex_preprocess_run()
740 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); in speex_preprocess_run()
783 if (st->nb_adapt==1) in speex_preprocess_run()