search for: nb_encoder_init

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

Did you mean: sb_encoder_init
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...r the persistent storage, the only change that I have made is to MAX_CHARS_PER_FRAME, which is set to 2000 in bits.c. I changed bits.c to set this value only if it was not already defined, and then put my own, much smaller value in config.h. For the scratch stack, I replace the fixed values in nb_encoder_init and nb_decoder_init with constants that I defined in config.h. Jamey Hicks original C5x patch had some test code in stack_alloc.h to detect working stack overflow. Maybe something similar could be done to measure the peak stack usage, enabled by a debug switch. Then, for a space critical ap...
2005 Feb 19
2
memory usage
Hi I am currently trying to port speex v1.1.6 to a microcontroller with very limited memory (<64Kbyte RAM). what I found when initialising the encoder, a chunk of 32Kb was attempted to be alloced, which failed: src/nb_celp.c: void *nb_encoder_init(const SpeexMode *m) { /* snip */ st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(spx_sig_t)); /* snip */ } same goes for the decoder: void *nb_decoder_init(const SpeexMode *m) { /* snip */ st = (DecState *)speex_alloc(sizeof(DecState)+4000*sizeof(spx_sig_t)); /* snip *...
2005 Mar 11
1
DSP c5x
I'm finding it dificult to get the code to fit within c5x dsp, especially due to the large heap necessary for the huge allocations in nb_encoder_init and nb_decoder_init. Are the people that have this running using additonal external ram? Has anyone experimented with reducing the internal encoder/decoder stack sizes for narrow band... is there a practical minimum that is usable? Also, Should ENABLE_VALGRIND be enabled? Any assistance alwa...
2005 May 25
0
Speex on TI C6x, Problem with TI C5x Patch
...; MAX_CHARS_PER_FRAME, which is set to 2000 in bits.c. I changed bits.c to > set this value only if it was not already defined, and then put my own, much > smaller value in config.h. Yeah, I think I'll add an option like that. > For the scratch stack, I replace the fixed values in nb_encoder_init and > nb_decoder_init with constants that I defined in config.h. Jamey Hicks > original C5x patch had some test code in stack_alloc.h to detect working > stack overflow. Maybe something similar could be done to measure the peak > stack usage, enabled by a debug switch. Then, for...
2004 Aug 06
6
Speex wishlist
Hi, Speex is getting close to beta4, which I'd like to be feature-complete (or as close as possible). That's why I'd like to ask if anyone here has needs for a feature that hasn't been implemented yet. If so, please let me know. For those interested, here's what's going to be in beta4. First, the VBR code has been greatly improved and now works good with wideband too.
2004 Aug 06
0
Speex wishlist
Jean-Marc, I was wondering if you could add a check to ensure that memory is actually allocated during the nb_encoder_init and sb_encoder_init functions. We have been looking at using Speex on a DSP and noticed that if we didn't allocate a large enough heap space memory segment that the DSP would crash. I would recommend something like: if (!st->stack) fprintf(stderr,"ERROR could not allocate memory for s...
2005 Feb 19
0
memory usage
...rit : > Hi > > I am currently trying to port speex v1.1.6 to a microcontroller with > very limited memory (<64Kbyte RAM). > > what I found when initialising the encoder, a chunk of 32Kb was > attempted to be alloced, which failed: > > src/nb_celp.c: > > void *nb_encoder_init(const SpeexMode *m) > { > /* snip */ > st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(spx_sig_t)); > /* snip */ > } > > > same goes for the decoder: > > void *nb_decoder_init(const SpeexMode *m) > { > /* snip */ > st = (DecState *)s...
2005 Mar 09
2
Valin 2.0 released
Hi everyone, I'm pleased to announce the new and improved Valin 2.0, codename "Alexandre", released March 7th, featuring: - 6 lbs (2.7 kg) at birth - Pretty face - Built-in crying algorithm Screenshots are available at http://people.xiph.org/~jm/alexandre/ . Note that this new release is not open-source and only has two "users". Both co-authors are fine, but tired at
2005 May 24
2
Speex on TI C6x, Problem with TI C5x Patch
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: maleout12may.wav Type: audio/wav Size: 95884 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050524/57112d0c/maleout12may-0001.bin
2008 Mar 29
0
GCC/ELF Visibility patch
...sp_enforce_margin -T lsp_interpolate -T lsp_quant_high -T lsp_quant_lbr -T lsp_quant_nb -T lsp_to_lpc -T lsp_unquant_high -T lsp_unquant_lbr -T lsp_unquant_nb -T multicomb -T nb_decode -T nb_decoder_ctl -T nb_decoder_destroy -T nb_decoder_init -T nb_encode -T nb_encoder_ctl -T nb_encoder_destroy -T nb_encoder_init -T nb_mode_query -T noise_codebook_quant -T noise_codebook_unquant -T open_loop_nbest_pitch -T pitch_search_3tap -T pitch_unquant_3tap -T pitch_xcorr -T qmf_decomp -T qmf_synth -T residue_percep_zero16 -T sanitize_values32 -T sb_decode -T sb_decoder_ctl -T sb_decoder_destroy -T sb_decoder_init -T s...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...sp_enforce_margin -T lsp_interpolate -T lsp_quant_high -T lsp_quant_lbr -T lsp_quant_nb -T lsp_to_lpc -T lsp_unquant_high -T lsp_unquant_lbr -T lsp_unquant_nb -T multicomb -T nb_decode -T nb_decoder_ctl -T nb_decoder_destroy -T nb_decoder_init -T nb_encode -T nb_encoder_ctl -T nb_encoder_destroy -T nb_encoder_init -T nb_mode_query -T noise_codebook_quant -T noise_codebook_unquant -T open_loop_nbest_pitch -T pitch_search_3tap -T pitch_unquant_3tap -T pitch_xcorr -T qmf_decomp -T qmf_synth -T residue_percep_zero16 -T sanitize_values32 -T sb_decode -T sb_decoder_ctl -T sb_decoder_destroy -T sb_decoder_init -T s...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...130, 0.163546, 0.310413, 0.428220, 0.555887, 0.719055, 0.938694, 1.326874}; const float exc_gain_quant_scal1_bound[1]={0.87798}; const float exc_gain_quant_scal1[2]={0.70469, 1.05127}; #define LSP_MARGIN .002 #define LSP_DELTA1 .2 #define LSP_DELTA2 .05 #endif #define sqr(x) ((x)*(x)) void *nb_encoder_init(const SpeexMode *m) { EncState *st; const SpeexNBMode *mode; int i; mode=(const SpeexNBMode *)m->mode; #if defined(VAR_ARRAYS) || defined (USE_ALLOCA) st = (EncState*)speex_alloc(sizeof(EncState)); st->stack = NULL; #else st = (EncState*)speex_alloc(sizeof(EncState)+8000...