search for: lpcsize

Displaying 13 results from an estimated 13 matches for "lpcsize".

2011 Apr 11
2
lpcSize
I would like to make lpcSize a multiple of 4. In the current library for narrow band mode lpcSize is currently set to 10. I would like to increase this 12 for optimization reasons. Is it a simple matter of just changing lpcSize in the structures in mode.c or are there other implications to doing this? I did try and change...
2011 Apr 11
2
lpcSize
...process things in 4 element blocks. Is there a simpler approach you could recommend? Vasant Shridhar ________________________________________ From: Jean-Marc Valin [jmvalin at jmvalin.ca] Sent: Monday, April 11, 2011 5:29 PM To: Shridhar, Vasant Cc: speex-dev at xiph.org Subject: Re: [Speex-dev] lpcSize On 11-04-11 11:05 AM, Shridhar, Vasant wrote: > I would like to make lpcSize a multiple of 4. In the current library for > narrow band mode lpcSize is currently set to 10. I would like to > increase this 12 for optimization reasons. Is it a simple matter of just > changing lpcSize in t...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...= ((char*)st) + sizeof(EncState); #endif if (!st) return NULL; st->mode=m; st->frameSize = mode->frameSize; st->windowSize = st->frameSize*3/2; st->nbSubframes=mode->frameSize/mode->subframeSize; st->subframeSize=mode->subframeSize; st->lpcSize = mode->lpcSize; st->gamma1=mode->gamma1; st->gamma2=mode->gamma2; st->min_pitch=mode->pitchStart; st->max_pitch=mode->pitchEnd; st->lag_factor=mode->lag_factor; st->lpc_floor = mode->lpc_floor; st->submodes=mode->submodes; st-&g...
2011 Apr 11
0
lpcSize
...zeros in the functions you're trying to optimize. Jean-Marc > Vasant Shridhar ________________________________________ From: > Jean-Marc Valin [jmvalin at jmvalin.ca] Sent: Monday, April 11, 2011 > 5:29 PM To: Shridhar, Vasant Cc: speex-dev at xiph.org Subject: Re: > [Speex-dev] lpcSize > > On 11-04-11 11:05 AM, Shridhar, Vasant wrote: >> I would like to make lpcSize a multiple of 4. In the current >> library for narrow band mode lpcSize is currently set to 10. I >> would like to increase this 12 for optimization reasons. Is it a >> simple matter of j...
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 equivalent): if (st-&...
2005 Feb 19
2
memory usage
...e)+4000*sizeof(spx_sig_t)); /* snip */ } I tried to reduce the stacksize from 8000/4000 to say 2000/1000, and reduce buffer size to 160 bytes: src/modes.c: /* Default mode for narrowband */ static const SpeexNBMode nb_mode = { 160, /*frameSize*/ 40, /*subframeSize*/ 10, /*lpcSize*/ 640, /*bufSize*/ <--------- reduce to 160 this does not work, there are various crashes in strange places which looks like its caused by stack overflow or data corruption. question is; are there any clean way of reducing memory usage? the stack at the end of the state objec...
2005 Sep 27
1
Precomputing the remaining floating pointoperations.
...ine a new constant lag_factor_gauss that is manually set equal to exp(sqr(2*M_PI*lag_factor)/-2) by whoever changes the lag_factor. From bash you can say echo 'e((8*a(1)*.012)^2/-2)' |bc -l Then we can replace the code in the init functions with : gauss = 16384; for (i=0;i<st->lpcSize+1;i++) { st->lagWindow[i]=gauss; for (j=i*i; j < (i+1)*(i+1); j++) { gauss = MULT16_16_Q15 (gauss, st->lag_factor_gauss); } } A Taylor expansion will be more accurate.
2006 Feb 08
1
Speex Command line, Changing the LPC order and modifying the codebook
Hi, can someone help me understand and experiment with Speex in a better way than my knowledge. I want to change the LPC filter order of the Speex algorithm. I think I need to change the LPC order( or lpcSize) in modes.c file. but to make it work I need to modify the codebook also, can someone tell me how to go about changing the codebook entries to support the changed order of prediction. Please help me on this asap bye devilal --------------------------------- Relax. Yahoo! Mail virus scanni...
2006 Jan 19
0
Compile error (svn 10743)
...=============================================== 1. modes.c - nb_mode_new() SpeexNBMode * nb_mode; nb_mode = (SpeexNBMode *) speex_alloc (sizeof (SpeexNBMode)); if (nb_mode == NULL) return NULL; nb_mode->frameSize = frameSize; nb_mode->subframeSize = subframeSize; nb_mode->lpcSize = lpcSize; nb_mode->bufSize = bufSize; <<<--- 1>d:\voip\mod_speexrefcode\modes_noglobals.c(198) : error C2039: 'bufSize' : is not a member of 'SpeexNBMode' 2. mdf.c - speex_echo_cancel() /* Update weight to prevent circular convolution (MDF / AUMDF) */...
2006 Jan 19
1
Compile error (svn 10743)
...=============================================== 1. modes.c - nb_mode_new() SpeexNBMode * nb_mode; nb_mode = (SpeexNBMode *) speex_alloc (sizeof (SpeexNBMode)); if (nb_mode == NULL) return NULL; nb_mode->frameSize = frameSize; nb_mode->subframeSize = subframeSize; nb_mode->lpcSize = lpcSize; nb_mode->bufSize = bufSize; <<<--- 1>d:\voip\mod_speexrefcode\modes_noglobals.c(198) : error C2039: 'bufSize' : is not a member of 'SpeexNBMode' 2. mdf.c - speex_echo_cancel() /* Update weight to prevent circular convolution (MDF / AUMDF) */...
2007 Aug 06
2
11kbps narrowband on a 24bit DSP
...I am using speex 1.2beta2 on a 24bit DSP that has a severe program and data space limitations. I am only interested in the speex decoder for 11kbps narrowband implementation. I am using the following parameters and structures 160, /*frameSize*/ 40, /*subframeSize*/ 10, /*lpcSize*/ 17, /*pitchStart*/ 144, /*pitchEnd*/ /* 11 kbps medium bit-rate mode */ static const SpeexSubmode nb_submode4 = { -1, 0, 1, 0, /*LSP quantization*/ lsp_quant_lbr, lsp_unquant_lbr, /*Pitch quantization*/ pitch_search_3tap, pitch_unquant_3t...
2005 Feb 19
0
memory usage
...ed to reduce the stacksize from 8000/4000 to say 2000/1000, > and reduce buffer size to 160 bytes: > > > src/modes.c: > > /* Default mode for narrowband */ > static const SpeexNBMode nb_mode = { > 160, /*frameSize*/ > 40, /*subframeSize*/ > 10, /*lpcSize*/ > 640, /*bufSize*/ <--------- reduce to 160 > > > this does not work, there are various crashes in strange places which > looks like its caused by stack overflow or data corruption. > > question is; are there any clean way of reducing memory usage? >...
2007 Aug 06
0
11kbps narrowband on a 24bit DSP
...nd > data space limitations. I am only interested in the speex decoder for > 11kbps narrowband implementation. > > > > I am using the following parameters and structures > > > > 160, /*frameSize*/ > > 40, /*subframeSize*/ > > 10, /*lpcSize*/ > > 17, /*pitchStart*/ > > 144, /*pitchEnd*/ > > > > /* 11 kbps medium bit-rate mode */ > > static const SpeexSubmode nb_submode4 = { > > -1, > > 0, > > 1, > > 0, > > /*LSP quantization*/ > >...