Lines Matching refs:spx_word16_t
116 static const spx_word16_t gc_quant_bound[16] = {125, 164, 215, 282, 370, 484, 635, 832, 1090, 1428,…
117 static const spx_word16_t fold_quant_bound[32] = {
128 static const spx_word16_t gc_quant_bound[16] = {
131 static const spx_word16_t fold_quant_bound[32] = {
146 static const spx_word16_t h0[64] = {2, -7, -7, 18, 15, -39, -25, 75, 35, -130, -41, 212, 38, -327, …
186 extern const spx_word16_t lag_window[];
187 extern const spx_word16_t lpc_window[];
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t)); in sb_encoder_init()
235 st->h0_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_encoder_init()
236 st->h1_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_encoder_init()
246 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t)); in sb_encoder_init()
311 VARDECL(spx_word16_t *target); in sb_encode()
312 VARDECL(spx_word16_t *syn_resp); in sb_encode()
314 spx_word16_t *low; in sb_encode()
315 spx_word16_t *high; in sb_encode()
316 VARDECL(spx_word16_t *low_exc_rms); in sb_encode()
317 VARDECL(spx_word16_t *low_innov_rms); in sb_encode()
320 spx_word16_t *in = (spx_word16_t*)vin; in sb_encode()
321 spx_word16_t e_low=0, e_high=0; in sb_encode()
351 ALLOC(low_innov_rms, st->nbSubframes, spx_word16_t); in sb_encode()
362 ALLOC(low_exc_rms, st->nbSubframes, spx_word16_t); in sb_encode()
384 VARDECL(spx_word16_t *autocorr); in sb_encode()
385 VARDECL(spx_word16_t *w_sig); in sb_encode()
386 ALLOC(autocorr, st->lpcSize+1, spx_word16_t); in sb_encode()
387 ALLOC(w_sig, st->windowSize, spx_word16_t); in sb_encode()
544 ALLOC(syn_resp, st->subframeSize, spx_word16_t); in sb_encode()
546 ALLOC(target, st->subframeSize, spx_word16_t); in sb_encode()
550 VARDECL(spx_word16_t *exc); in sb_encode()
551 VARDECL(spx_word16_t *res); in sb_encode()
552 VARDECL(spx_word16_t *sw); in sb_encode()
553 spx_word16_t *sp; in sb_encode()
554 spx_word16_t filter_ratio; /*Q7*/ in sb_encode()
557 spx_word16_t eh=0; in sb_encode()
561 ALLOC(exc, st->subframeSize, spx_word16_t); in sb_encode()
562 ALLOC(res, st->subframeSize, spx_word16_t); in sb_encode()
563 ALLOC(sw, st->subframeSize, spx_word16_t); in sb_encode()
603 spx_word16_t el; /*Q0*/ in sb_encode()
642 spx_word16_t gc; /*Q7*/ in sb_encode()
644 spx_word16_t el; /*Q0*/ in sb_encode()
790 st->g0_mem = (spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_decoder_init()
791 st->g1_mem = (spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_decoder_init()
793 st->excBuf = (spx_word16_t*)speex_alloc((st->subframeSize)*sizeof(spx_word16_t)); in sb_decoder_init()
799 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t)); in sb_decoder_init()
835 static void sb_decode_lost(SBDecState *st, spx_word16_t *out, int dtx, char *stack) in sb_decode_lost()
881 VARDECL(spx_word16_t *low_exc_rms); in sb_decode()
887 spx_word16_t *out = (spx_word16_t*)vout; in sb_decode()
888 spx_word16_t *low_innov_alias; in sb_decode()
963 ALLOC(low_exc_rms, st->nbSubframes, spx_word16_t); in sb_decode()
982 spx_word16_t *innov_save=NULL; in sb_decode()
983 spx_word16_t *sp; in sb_decode()
984 spx_word16_t filter_ratio; in sb_decode()
985 spx_word16_t el=0; in sb_decode()
1043 spx_word16_t gc; in sb_decode()
1336 ((spx_word16_t*)ptr)[i] = st->exc_rms[i]; in sb_encoder_ctl()
1345 st->innov_rms_save = (spx_word16_t*)ptr; in sb_encoder_ctl()
1465 ((spx_word16_t*)ptr)[i] = st->exc_rms[i]; in sb_decoder_ctl()
1472 st->innov_save = (spx_word16_t*)ptr; in sb_decoder_ctl()