Home | History | Annotate | Download | only in libspeex

Lines Matching refs:WORD2INT

86 #define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x)))  
88 #define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x))))
281 return WORD2INT(32768.*cutoff);
285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func));
928 x[j+st->filt_len-1]=WORD2INT(in[j*istride_save]);
947 out[j*ostride_save] = WORD2INT(ystack[j]);