Lines Matching refs:post
53 J.-M. Valin, J. Rouat, and F. Michaud, "Microphone array post-filter for separation
212 spx_word16_t *post; /**< A-posteriori SNR */
455 st->post = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t));
487 st->post[i]=SHL16(1, SNR_SHIFT);
542 speex_free(st->post);
796 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT));
797 st->post[i]=MIN16(st->post[i], QCONST16(100.f,SNR_SHIFT));
802 /* A priori SNR update = gamma*max(0,post) + (1-gamma)*old/noise */
803 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));
807 /*print_vec(st->post, N+M, "");*/
847 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT));
888 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT));