search for: qlsp

Displaying 7 results from an estimated 7 matches for "qlsp".

Did you mean: lsp
2005 Feb 27
2
memory usage
...o the wall, you can try below (need to "rewrite" the code a little): unless i am very much mistaken, you can do "dynamic allocation" for some of the memory. these memories are only required when you are running eg speex_encode for the current frame. one example would be st->qlsp. others are more "static" eg. st->inBuf which you basically cannot do much with. hope this helps. rgds, tk
2005 May 25
1
Deallocation of buffers
...the main pointer is being freed. 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...
2005 Jun 22
2
Deallocation bug in speex
...9 #10 0x657bac1f in speex_encoder_destroy (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 scru...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...)); st->interp_qlpc = speex_alloc((st->lpcSize+1)*sizeof(spx_coef_t)); st->bw_lpc1 = speex_alloc((st->lpcSize+1)*sizeof(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((...
2005 Feb 28
0
memory usage
...elow (need to "rewrite" the code a little): > unless i am very much mistaken, you can do "dynamic allocation" for > some of the memory. these memories are only required when you are > running eg speex_encode for the current frame. one example would be > > st->qlsp. others are more "static" eg. st->inBuf which you basically cannot > do much with. > > hope this helps. > > rgds, > tk > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinf...
2005 Feb 28
2
memory usage
...ite" the code a little): > > unless i am very much mistaken, you can do "dynamic allocation" for > > some of the memory. these memories are only required when you are > > running eg speex_encode for the current frame. one example would be > > > > st->qlsp. others are more "static" eg. st->inBuf which you basically cannot > > do much with. > > > > hope this helps. > > > > rgds, > > tk > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev@xiph.org...
2005 Jun 22
0
Deallocation bug in speex
...> > > (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 >...