Lines Matching defs:Pframe
565 static void speex_compute_agc(SpeexPreprocessState *st, spx_word16_t Pframe, spx_word16_t *ft)
580 if (Pframe>.3f)
582 /*rate=2.0f*Pframe*Pframe/(1+st->nb_loudness_adapt);*/
583 rate = .03*Pframe*Pframe;
587 st->init_max *= 1.f + .1f*Pframe*Pframe;
589 /*printf ("%f %f %f %f\n", Pframe, loudness, pow(st->loudness, 1.0f/LOUDNESS_EXP), st->loudness2);*/
593 if ((Pframe>.5 && st->nb_adapt > 20) || target_gain < st->agc_gain)
731 spx_word16_t Pframe;
821 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands)));
823 effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), MULT16_16(Pframe, st->echo_suppress_active)),15));
856 q = Q15_ONE-MULT16_16_Q15(Pframe,P1);
951 speex_compute_agc(st, Pframe, st->ft);
992 st->speech_prob = Pframe;