Searched defs:DIV32_16_Q8 (Results 1 - 1 of 1) sorted by relevance

/external/speex/libspeex/
H A Dpreprocess.c96 static inline spx_word16_t DIV32_16_Q8(spx_word32_t a, spx_word32_t b) function
164 #define DIV32_16_Q8(a,b) ((a)/(b)) macro
800 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT));
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));

Completed in 30 milliseconds