Lines Matching refs:Pframe
569 static void speex_compute_agc(SpeexPreprocessState *st, spx_word16_t Pframe, spx_word16_t *ft)
584 if (Pframe>.3f)
586 /*rate=2.0f*Pframe*Pframe/(1+st->nb_loudness_adapt);*/
587 rate = .03*Pframe*Pframe;
591 st->init_max *= 1.f + .1f*Pframe*Pframe;
593 /*printf ("%f %f %f %f\n", Pframe, loudness, pow(st->loudness, 1.0f/LOUDNESS_EXP), st->loudness2);*/
597 if ((Pframe>.5 && st->nb_adapt > 20) || target_gain < st->agc_gain)
735 spx_word16_t Pframe;
825 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands)));
827 effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), MULT16_16(Pframe, st->echo_suppress_active)),15));
860 q = Q15_ONE-MULT16_16_Q15(Pframe,P1);
955 speex_compute_agc(st, Pframe, st->ft);
996 st->speech_prob = Pframe;