search for: swbuf

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

Did you mean: wbuf
2006 Feb 13
1
NB encoder with multiple channels
...ict my settings to complexity 1, quality 3. It looks like I can share the st->window, lagWindow, bw_lpc1, bw_lpc2, variables which would save 562 bytes per encoder. Are there more variables that can be shared or eliminated if I stick to narrow band? The biggest variables are the inBuf, excBuf, swBuf, innov and I think these have to stay. Jerry J. Trantow Applied Signal Processing, Inc. jtrantow@ieee.org
2005 Jun 22
2
Deallocation bug in speex
...ree (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 scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20050622/99fdf43a/attachment-0001.html
2006 Nov 15
2
Quick survey for Speex 1.2
...ogether to form one big structure like below, > > typedef struct { > > EncState enc_state; > > char stack[NB_ENC_STACK]; > > spx_word16_t winBuf[80]; > > spx_word16_t excBuf[612]; > > spx_word16_t swBuf[612]; > > spx_word16_t lagWindow[22]; Yuk. That's so.... G.729 and ITU codecs :-) As much as you'd like something like that, it would be a pain to maintain it. If you want everything in one chunk, just go with the solution above. > The structure defined above is used to alloc...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...9;m glad to hear that my data size can be shrunk considerably, however I do not know the minimum values that I would 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 c...
2005 Jun 22
0
Deallocation bug in speex
...> > 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 > > > > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@...
2006 Feb 10
2
About wideband encode
Hi, all. I have two questions about wideband encoding. >From "testenc_wb.c"... 1) tmp=8; speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); tmp=3; speex_encoder_ctl(st, SPEEX_SET_HIGH_MODE, &tmp); tmp=6; speex_encoder_ctl(st, SPEEX_SET_LOW_MODE, &tmp); How to set high_mode and low_mode, if quality is set to '9'? When I set quality '9'
2006 Nov 15
0
Quick survey for Speex 1.2
...t implementation, all the memory allocations are collected together to form one big structure like below, typedef struct { EncState enc_state; char stack[NB_ENC_STACK]; spx_word16_t winBuf[80]; spx_word16_t excBuf[612]; spx_word16_t swBuf[612]; spx_word16_t lagWindow[22]; ............................................ int pitch[16]; VBRState vbr; } speex_encoder_memory; The structure defined above is used to allocate all memories after call the initial function. The probl...
2006 Nov 15
0
Quick survey for Speex 1.2
...; > > typedef struct { > > > > EncState enc_state; > > > > char stack[NB_ENC_STACK]; > > > > spx_word16_t winBuf[80]; > > > > spx_word16_t excBuf[612]; > > > > spx_word16_t swBuf[612]; > > > > spx_word16_t lagWindow[22]; > > Yuk. That's so.... G.729 and ITU codecs :-) As much as you'd like > something like that, it would be a pain to maintain it. If you want > everything in one chunk, just go with the solution above. > > > The str...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...size can be shrunk considerably, > however I do not know the minimum values that I would 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 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 ab...
2006 Nov 13
13
Quick survey for Speex 1.2
Hi everyone, As you may have guess, Speex 1.2 is slowly approaching, though there's still a lot left to do so I can't say how long it'll take. I thought this was the right time to ask if there's anything missing or that can be improved to make 1.2 better. At this point, it can't be anything major, but there are still some changes that are possible, e.g: - Improving some
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
.../ st->inBuf = speex_alloc((st->windowSize)*sizeof(spx_sig_t)); st->frame = st->inBuf; /* Allocating excitation buffer */ st->excBuf = speex_alloc((mode->frameSize+mode->pitchEnd+1)*sizeof(spx_sig_t)); st->exc = st->excBuf + mode->pitchEnd + 1; st->swBuf = speex_alloc((mode->frameSize+mode->pitchEnd+1)*sizeof(spx_sig_t)); st->sw = st->swBuf + mode->pitchEnd + 1; st->innov = speex_alloc((st->frameSize)*sizeof(spx_sig_t)); /* Asymmetric "pseudo-Hamming" window */ { int part1, part2; part1=st-&...
2003 Apr 11
14
PATCH: Forcible delaying of UFS (soft)updates
...umfrags(fs, nsize - osize) < 0) goto nospace; --- /usr/src/sys.org/sys/buf.h Sat Jan 25 20:02:23 2003 +++ sys/buf.h Sat Apr 12 00:30:48 2003 @@ -478,6 +478,7 @@ extern char *buffers; /* The buffer con extern int bufpages; /* Number of memory pages in the buffer pool. */ extern struct buf *swbuf; /* Swap I/O buffer headers. */ extern int nswbuf; /* Number of swap I/O buffer headers. */ +extern int stratcalls; /* I/O ops since last buffer sync */ extern TAILQ_HEAD(swqueue, buf) bswlist; extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES]; --- /usr/src/sys.org/sys/vnode.h Sun D...