Displaying 3 results from an estimated 3 matches for "mem_sw_whole".
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...k considerably, however I do not know the minimum values that I would set the static arrays to be. I hate to be a bother but could you tell me the minimum values for these arrays/structures in the state structure? Thanks!
encode:
stack
winBuf
excBuf
swBuf
lagWindow
old_lsp
old_qlsp
mem_sp
mem_sw
mem_sw_whole
mem_exc
mem_exc2
pi_gain
pitch
decode:
stack
excBuf
interp_qlpc
old_qlsp
mem_sp
pi_gain
>>> Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> 08/06/07 7:04 PM >>>
Last thing. All the codebooks are stored as tables of char, so you're
probably wasting a lot of space fro...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...ot know the minimum values that I would set the static
> arrays to be. I hate to be a bother but could you tell me the
> minimum values for these arrays/structures in the state structure?
> Thanks!
>
> encode: stack winBuf excBuf swBuf lagWindow old_lsp old_qlsp mem_sp
> mem_sw mem_sw_whole mem_exc mem_exc2 pi_gain pitch
>
> decode: stack excBuf interp_qlpc old_qlsp mem_sp pi_gain
What I meant is that you can reduce the stack part (assuming you're not
already using VAR_ARRAYS or USE_ALLOCA). The other variables above still
require the same size they are currently using. Fo...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
..._lsp_t));
st->first = 1;
for (i=0;i<st->lpcSize;i++)
{
st->lsp[i]=LSP_SCALING*(M_PI*((float)(i+1)))/(st->lpcSize+1);
}
st->mem_sp = speex_alloc((st->lpcSize)*sizeof(spx_mem_t));
st->mem_sw = speex_alloc((st->lpcSize)*sizeof(spx_mem_t));
st->mem_sw_whole = speex_alloc((st->lpcSize)*sizeof(spx_mem_t));
st->mem_exc = speex_alloc((st->lpcSize)*sizeof(spx_mem_t));
st->pi_gain = speex_alloc((st->nbSubframes)*sizeof(spx_word32_t));
st->pitch = speex_alloc((st->nbSubframes)*sizeof(int));
st->vbr = speex_alloc(sizeof(...