HomeSort by relevance Sort by last modified time
    Searched full:old_ps (Results 1 - 1 of 1) sorted by null

  /external/speex/libspeex/
preprocess.c 213 spx_word32_t *old_ps; /**< Power spectrum for last frame */ member in struct:SpeexPreprocessState_
457 st->old_ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
489 st->old_ps[i]=1;
543 speex_free(st->old_ps);
789 st->old_ps[i] = ps[i];
804 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(st->old_ps[i],ADD32(st->old_ps[i],tot_noise))));
807 st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(st->old_ps[i],tot_noise))), 15));
857 st->old_ps[i] = MULT16_32_P15(QCONST16(.2f,15),st->old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(st->gain[i])),ps[i])
    [all...]

Completed in 214 milliseconds