Displaying 6 results from an estimated 6 matches for "old_qlsp".
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...data size can be shrunk 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...
2005 May 25
1
Deallocation of buffers
...ed. I think that it should be:
void nb_decoder_destroy(void *state)
{
DecState *st;
st=(DecState*)state;
speex_free (st->inBuf);
speex_free (st->excBuf);
speex_free (st->innov);
speex_free (st->interp_qlpc);
speex_free (st->qlsp);
speex_free (st->old_qlsp);
speex_free (st->interp_qlsp);
speex_free (st->mem_sp);
speex_free (st->comb_mem);
speex_free (st->pi_gain);
speex_free (st);
}
This would apply to the encoder destroy functions also.
-Fritz
On2 Technologies, Inc.
http://www.on2.com
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...iderably,
> 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
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...
2005 Jun 22
2
Deallocation bug in speex
...troy (state=0x4156b60) at speex.c:62
(gdb) l nb_celp.c:229
224
225 speex_free (st->inBuf);
226 speex_free (st->excBuf);
227 speex_free (st->innov);
228 speex_free (st->interp_qlpc);
229 speex_free (st->qlsp);
230 speex_free (st->old_qlsp);
231 speex_free (st->interp_qlsp);
232 speex_free (st->swBuf);
Thanks for any help,
Dario Andrade
IP.TV
Mobile +55.21.9453.5005
Office +55.21.2141.9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/piperma...
2005 Jun 22
0
Deallocation bug in speex
...gt; 224
>
> 225 speex_free (st->inBuf);
>
> 226 speex_free (st->excBuf);
>
> 227 speex_free (st->innov);
>
> 228 speex_free (st->interp_qlpc);
>
> 229 speex_free (st->qlsp);
>
> 230 speex_free (st->old_qlsp);
>
> 231 speex_free (st->interp_qlsp);
>
> 232 speex_free (st->swBuf);
>
>
>
>
>
> Thanks for any help,
>
> Dario Andrade
>
> IP.TV
>
> Mobile +55.21.9453.5005
>
> Office +55.21.2141.9525
>
>
>
>...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...of(spx_coef_t));
st->bw_lpc2 = speex_alloc((st->lpcSize+1)*sizeof(spx_coef_t));
st->lsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->qlsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->old_lsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->old_qlsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->interp_lsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->interp_qlsp = speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
st->first = 1;
for (i=0;i<st->lpcSize;i++)
{
st->lsp[i]=LSP_SCALING*(M_PI*(...