Home | History | Annotate | Download | only in libspeex

Lines Matching defs:post

53    J.-M. Valin, J. Rouat, and F. Michaud, "Microphone array post-filter for separation
216 spx_word16_t *post; /**< A-posteriori SNR */
459 st->post = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t));
491 st->post[i]=SHL16(1, SNR_SHIFT);
546 speex_free(st->post);
800 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT));
801 st->post[i]=MIN16(st->post[i], QCONST16(100.f,SNR_SHIFT));
806 /* A priori SNR update = gamma*max(0,post) + (1-gamma)*old/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));
811 /*print_vec(st->post, N+M, "");*/
851 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT));
892 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT));