Searched refs:Pframe (Results 1 – 1 of 1) sorted by relevance
/external/speex/libspeexdsp/ |
D | preprocess.c | 565 static void speex_compute_agc(SpeexPreprocessState *st, spx_word16_t Pframe, spx_word16_t *ft) in speex_compute_agc() argument 580 if (Pframe>.3f) in speex_compute_agc() 583 rate = .03*Pframe*Pframe; in speex_compute_agc() 587 st->init_max *= 1.f + .1f*Pframe*Pframe; in speex_compute_agc() 593 if ((Pframe>.5 && st->nb_adapt > 20) || target_gain < st->agc_gain) in speex_compute_agc() 731 spx_word16_t Pframe; in speex_preprocess_run() local 821 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands))); in speex_preprocess_run() 823 …ress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), MULT16_16(Pfram… in speex_preprocess_run() 856 q = Q15_ONE-MULT16_16_Q15(Pframe,P1); in speex_preprocess_run() 951 speex_compute_agc(st, Pframe, st->ft); in speex_preprocess_run() [all …]
|