search for: shape_bit

Displaying 5 results from an estimated 5 matches for "shape_bit".

Did you mean: shape_bits
2006 Sep 18
2
Exc CB Search very little Question
...r a codebook, finding nb_subvect codebook entries to quantize the excitation signal. After finding these nb_subvect codebook entries, they're written into the stream: /*save indices*/ for (i=0;i<nb_subvect;i++) { ind[i]=nind[0][i]; speex_bits_pack(bits,ind[i],params->shape_bits+have_sign); } I want to know if I'm correct in that I can just do sth like this without any effect on the encoded signal: /*put optimal values into array*/ for (i=0;i<nb_subvect;i++) { ind[i]=nind[0][i]; } /*Change the order of the values in the array*/ // this...
2007 Feb 26
3
probably heap corruption detection
Hi, So I see in: split_cb_shape_sign_unquant this call is going wrong: ind[i] = speex_bits_unpack_unsigned(bits, params->shape_bits); ind as a way negative number- basically this should return bet. 0-255 or somesuch right? So seems like I need to reset speex at this point if if (ind[i] > 256) like the note says. So I guess my question is is this range still valid? also what is the most innocuous value for ind[i] - 0?...
2006 Sep 18
2
Exc CB Search very little Question
Hello, just to make sure I haven't gotten anything wrong: In cb_search.c (function split_cb_search_shape_sign) after all that searching nb_subvect CB entries are being written into the stream. These are all taken from the same codebook. If I wanted to, I could just change their order, couldn't I? Because important is only the linear combination of them all together, which I keep
2007 Aug 06
2
11kbps narrowband on a 24bit DSP
...ltp_params ltp_params_lbr = { gain_cdbk_lbr, 5, 7 }; /* Split-VQ innovation parameters narrowband */ static const split_cb_params split_cb_nb_med = { 8, /*subvect_size*/ 5, /*nb_subvect*/ exc_8_128_table, /*shape_cb*/ 7, /*shape_bits*/ 0, I have three problems. 1. My DSP has 24 bits register and memory with a 24 X 24 = 48 bit multiply and a 56 bit accumulator. I see scaling shifts when using 32 bit registers. Can anyone tell me what scaling values like #define LPC_SCALING 8192 #define SIG_SCALING 1638...
2007 Aug 06
0
11kbps narrowband on a 24bit DSP
...; > > > /* Split-VQ innovation parameters narrowband */ > > static const split_cb_params split_cb_nb_med = { > > 8, /*subvect_size*/ > > 5, /*nb_subvect*/ > > exc_8_128_table, /*shape_cb*/ > > 7, /*shape_bits*/ > > 0, > > > > > > > > I have three problems. > > > > 1. My DSP has 24 bits register and memory with a 24 X 24 = 48 bit > multiply and a 56 bit accumulator. I see scaling shifts when using 32 > bit registers. Can anyone tell me wh...