Lines Matching refs:stack
54 /* Default size for the encoder and decoder stack (can be changed at compile time).
206 st->stack = NULL;
208 /*st->stack = (char*)speex_alloc_scratch(SB_ENC_STACK);*/
209 speex_encoder_ctl(st->st_low, SPEEX_GET_STACK, &st->stack);
270 VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
281 /*speex_free_scratch(st->stack);*/
308 char *stack;
332 stack=st->stack;
339 qmf_decomp(in, h0, low, high, st->full_frame_size, QMF_ORDER, st->h0_mem, stack);
411 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack);
414 roots = lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA2, stack);
523 iir_mem16(high, st->interp_qlpc, high, st->frame_size, st->lpcSize, st->mem_sp, stack);
572 lsp_to_lpc(interp_lsp, interp_lpc, st->lpcSize,stack);
573 lsp_to_lpc(interp_qlsp, st->interp_qlpc, st->lpcSize, stack);
596 fir_mem16(sp, st->interp_qlpc, exc, st->subframeSize, st->lpcSize, st->mem_sp2, stack);
611 char *tmp_stack=stack;
621 stack = tmp_stack;
663 compute_impulse_response(st->interp_qlpc, bw_lpc1, bw_lpc2, syn_resp, st->subframeSize, st->lpcSize, stack);
673 iir_mem16(res, st->interp_qlpc, res, st->subframeSize, st->lpcSize, mem, stack);
677 filter_mem16(res, bw_lpc1, bw_lpc2, res, st->subframeSize, st->lpcSize, mem, stack);
682 filter_mem16(sp, bw_lpc1, bw_lpc2, sw, st->subframeSize, st->lpcSize, mem, stack);
696 innov, syn_resp, bits, stack, st->complexity, SUBMODE(double_codebook));
702 char *tmp_stack=stack;
711 innov2, syn_resp, bits, stack, st->complexity, 0);
716 stack = tmp_stack;
735 iir_mem16(exc, st->interp_qlpc, sp, st->subframeSize, st->lpcSize, st->mem_sp, stack);
738 filter_mem16(sp, bw_lpc1, bw_lpc2, sw, st->subframeSize, st->lpcSize, st->mem_sw, stack);
769 st->stack = NULL;
771 /*st->stack = (char*)speex_alloc_scratch(SB_DEC_STACK);*/
772 speex_decoder_ctl(st->st_low, SPEEX_GET_STACK, &st->stack);
809 VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
820 /*speex_free_scratch(st->stack);*/
835 static void sb_decode_lost(SBDecState *st, spx_word16_t *out, int dtx, char *stack)
860 st->mem_sp, stack);
864 qmf_synth(out, out+st->frame_size, h0, out, st->full_frame_size, QMF_ORDER, st->g0_mem, st->g1_mem, stack);
879 char *stack;
892 stack=st->stack;
910 sb_decode_lost(st, out, dtx, stack);
944 sb_decode_lost(st, out, 1, stack);
954 iir_mem16(out+st->frame_size, st->interp_qlpc, out+st->frame_size, st->frame_size, st->lpcSize, st->mem_sp, stack);
956 qmf_synth(out, out+st->frame_size, h0, out, st->full_frame_size, QMF_ORDER, st->g0_mem, st->g1_mem, stack);
1005 lsp_to_lpc(interp_qlsp, ak, st->lpcSize, stack);
1055 bits, stack, &st->seed);
1060 char *tmp_stack=stack;
1065 bits, stack, &st->seed);
1069 stack = tmp_stack;
1081 st->mem_sp, stack);
1091 qmf_synth(out, out+st->frame_size, h0, out, st->full_frame_size, QMF_ORDER, st->g0_mem, st->g1_mem, stack);
1351 *((char**)ptr) = st->stack;
1478 *((char**)ptr) = st->stack;