Home | History | Annotate | Download | only in libspeex

Lines Matching refs:MULT16_16_Q15

93 #define SQR16_Q15(x) (MULT16_16_Q15((x),(x)))
317 return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,x))));
333 gain_floor[i] = MULT16_16_Q15(noise_gain,
343 gain_floor[i] = MULT16_16_Q15(echo_gain,
638 st->frame[i] = MULT16_16_Q15(st->frame[i], st->window[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))));
825 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands)));
859 P1 = QCONST16(.199f,15)+MULT16_16_Q15(QCONST16(.8f,15),qcurve (st->zeta[i]));
860 q = Q15_ONE-MULT16_16_Q15(Pframe,P1);
863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-EXTRACT16(theta)),1))));
902 if (MULT16_16_Q15(QCONST16(.333f,15),g) > st->gain[i])
983 st->frame[i] = MULT16_16_Q15(st->frame[i], st->window[i]);
1037 st->outbuf[i] = MULT16_16_Q15(x[st->frame_size-N3+i],st->window[st->frame_size+i]);
1140 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_start, 100);
1148 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_continue, 100);
1196 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob, 100);