search for: interp_qlpc

Displaying 12 results from an estimated 12 matches for "interp_qlpc".

2005 Oct 24
2
(small) bug in nb_decode?
Hi, So I got a crash on the following code: k1=SUBMODE(lpc_enh_k1); k2=SUBMODE(lpc_enh_k2); which in the newer codebase is: bw_lpc(SUBMODE(lpc_enh_k1), st->interp_qlpc, awk1, st->lpcSize); bw_lpc(SUBMODE(lpc_enh_k2), st->interp_qlpc, awk2, st->lpcSize); I am not sure if the newer code will have the same issue but the following check is performed in nb_decode_lost, so I figure the same thing should be done in decode... right? add (or equivalen...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...st->lagWindow[i]=16384*exp(-.5*sqr(2*M_PI*st->lag_factor*i)); st->autocorr = speex_alloc((st->lpcSize+1)*sizeof(spx_word16_t)); st->lpc = speex_alloc((st->lpcSize+1)*sizeof(spx_coef_t)); st->interp_lpc = speex_alloc((st->lpcSize+1)*sizeof(spx_coef_t)); 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-&g...
2005 May 25
1
Deallocation of buffers
...and wide band destroy functions only 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 Tec...
2010 Feb 02
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc, I'm currently trying to analyze the LPC synthesis filter. For this, can you please tell me the exact format of the LPC coeffs (in variable interp_qlpc), please? cheers, Frank -----Urspr?ngliche Nachricht----- Von: "Frank Lorenz" <Frank_wtal at web.de> Gesendet: 02.02.10 11:00:16 An: jean-marc.valin at usherbrooke.ca CC: speex-dev at xiph.org Betreff: Re: [Speex-dev]Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000...
2005 Jun 22
2
Deallocation bug in speex
...der_destroy (state=0x4156b60) at sb_celp.c:339 #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 ----...
2007 Mar 14
2
re: decoder issue in sb_celp
...req[i2+1] * *n3 + *n4; ... in the floating point version this code can produce xout1 or xout2 that go to INF. That is the main issue- I have also seen the IIR filter go wonky occasionally, which is what is corrupting st->mem_sp. Usually this is just because there are some odd values in st->interp_qlpc. However it seems like it can also just happen sometimes as output of the _mm_mul_ps multiply goes to INF (this can also happen in the non-sse code). I am working on figuring out why this is happening. With the new changes also filter_ratio went to 0 in one of my tests, in part because rh was INF...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...ld 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 from the fact that chars on C5x are 16-bit long. You might be able to...
2005 Jun 22
0
Deallocation bug in speex
...oder_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 > >...
2006 Feb 13
1
NB encoder with multiple channels
I am trying to implement a relatively high number of encoders (24/32) on a single DSP and would like to minimize the memory requirements. Has anyone optimized the persistent EncState memory allocation for multiple channels. The default C64x fixed point implementation allocates 5280 bytes of persistent memory per encoder. I'm willing to restrict my settings to complexity 1, quality 3. It
2007 Mar 14
0
re: decoder issue in sb_celp
...em with the input. Checked that? > That is the main issue- I have also seen the IIR filter go wonky > occasionally, which is what is corrupting st->mem_sp. Well, they would if the filter is bad (read unstable). > Usually > this is just because there are some odd values in st->interp_qlpc. > However it seems like it can also just happen sometimes as > output of the _mm_mul_ps multiply goes to INF (this can also > happen in the non-sse code). I am working on figuring out why > this is happening. Can you leave SSE out of that for now? > With the new changes also filt...
2007 Mar 13
3
re: decoder issue in sb_celp
A little more info on this: I backtracked deeper into this and it looks like excBuf is corrupted, which is corrupted by low_innov_alias being invalid. However it is not entirely clear where that gets initialized (in sb_celp it is set to out+st->frame_size) Tom
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...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. For the stack, the easiest way to measure (it's platform-dependent to som...