search for: speexenc_scratch_stack_size

Displaying 3 results from an estimated 3 matches for "speexenc_scratch_stack_size".

2007 Sep 12
1
alignment and static variable size question
...EM_EXC_SIZE 20 #define ENC_MEM_EXC2_SIZE 20 #define ENC_PI_GAIN_SIZE 8 #define ENC_PITCH_SIZE 4 #define DEC_EXCBUF_SIZE 500 #define DEC_INTERP_QLPC_SIZE 10 #define DEC_OLD_QLSP_SIZE 10 #define DEC_MEM_SP_SIZE 20 #define DEC_PI_GAIN_SIZE 8 #define SPEEXENC_PERSIST_STACK_SIZE 5000 #define SPEEXENC_SCRATCH_STACK_SIZE 1170 #define SPEEXDEC_PERSIST_STACK_SIZE 2500 #define SPEEXDEC_SCRATCH_STACK_SIZE 550 Thank you -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070912/a665b975/attachment.htm
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
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...ned(VAR_ARRAYS) || defined (USE_ALLOCA) st = (EncState*)speex_alloc(sizeof(EncState)); if (!st) return NULL; st->stack = NULL; #elif defined(SCRATCH_ALLOC) st = (EncState*)speex_alloc(sizeof(EncState)); if (!st) return NULL; st->stack = (char*)speex_alloc_scratch(SPEEXENC_SCRATCH_STACK_SIZE); #else st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(spx_sig_t)); if (!st) return NULL; st->stack = ((char*)st) + sizeof(EncState); #endif Note that I also moved the "if (!st)" check to before st-stack is set, since a write to a bad location would occur oth...