search for: compress_length

Displaying 4 results from an estimated 4 matches for "compress_length".

2007 Jul 23
2
Shoehorning speex is confusing a newbie
...would work with my initialization but when I stepped through the code in nb_celp for encode it would put it in mode 6 (instead of mode 3), which I believe is 18.2kbs (table 8.2). My set up code is: st = speex_encoder_init(&speex_nb_mode); speex_bits_set_bit_buffer(&bits, &G729_tx, COMPRESS_LENGTH); tmp=TESTENC_QUALITY; //=4 speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); speex_encode_int(st, (spx_int16_t *)samples_in, &bits); which I thought would put it in 8kbs narrowband. I tried to use SPEEX_SET_MODE in there too but it just got overwritten by the set mode in the encode...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...would work with my initialization but when I stepped through the code in nb_celp for encode it would put it in mode 6 (instead of mode 3), which I believe is 18.2kbs (table 8.2). My set up code is: st = speex_encoder_init(&speex_nb_mode); speex_bits_set_bit_buffer(&bits, &G729_tx, COMPRESS_LENGTH); tmp=TESTENC_QUALITY; //=4 speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); speex_encode_int(st, (spx_int16_t *)samples_in, &bits); which I thought would put it in 8kbs narrowband. I tried to use SPEEX_SET_MODE in there too but it just got overwritten by the set mode in the encode...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...ork with my initialization but when I stepped through the code in nb_celp for encode it would put it in mode 6 (instead of mode 3), which I believe is 18.2kbs (table 8.2). My set up code is: st = speex_encoder_init(&speex_nb_mode); speex_bits_set_bit_buffer(&bits, &G729_tx, COMPRESS_LENGTH); tmp=TESTENC_QUALITY; //=4 speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); speex_encode_int(st, (spx_int16_t *)samples_in, &bits); which I thought would put it in 8kbs narrowband. I tried to use SPEEX_SET_MODE in there too but it just got overwritten by the set mod...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...would work with my initialization but when I stepped through the code in nb_celp for encode it would put it in mode 6 (instead of mode 3), which I believe is 18.2kbs (table 8.2). My set up code is: st = speex_encoder_init(&speex_nb_mode); speex_bits_set_bit_buffer(&bits, &G729_tx, COMPRESS_LENGTH); tmp=TESTENC_QUALITY; //=4 speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); speex_encode_int(st, (spx_int16_t *)samples_in, &bits); which I thought would put it in 8kbs narrowband. I tried to use SPEEX_SET_MODE in there too but it just got overwritten by the set mode in the encode...