search for: quality_map

Displaying 6 results from an estimated 6 matches for "quality_map".

2005 Feb 27
2
SPEEX_GET_QUALITY
...6/libspeex/nb_celp.c libspeex/nb_celp.c --- ../original/speex-1.1.6/libspeex/nb_celp.c 2004-07-15 01:16:52.000000000 -0400 +++ libspeex/nb_celp.c 2005-02-27 08:24:49.000000000 -0500 @@ -1746,6 +1746,21 @@ st->submodeSelect = st->submodeID = ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]; } break; + case SPEEX_GET_QUALITY: + { + int quality; + + for(quality=0;quality <=10; quality++) + if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]) break; + + if (quality>10) { + (*(int*)ptr) = -1; + spe...
2005 Feb 27
0
SPEEX_GET_QUALITY
...libspeex/nb_celp.c > --- ../original/speex-1.1.6/libspeex/nb_celp.c 2004-07-15 01:16:52.000000000 -0400 > +++ libspeex/nb_celp.c 2005-02-27 08:24:49.000000000 -0500 > @@ -1746,6 +1746,21 @@ > st->submodeSelect = st->submodeID = ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]; > } > break; > + case SPEEX_GET_QUALITY: > + { > + int quality; > + > + for(quality=0;quality <=10; quality++) > + if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]) break; > + > + if...
2005 Jan 03
2
Speex codec for 8Kbps setting ?
Hi, I am looking how to setup speex codec in codecs.conf for 8 Kbps and 6 Kbps. In config file are many parameters for setting. I don't know what is need to change for narrowbad like 8 Kbps and 6 kbps. Any suggestion? [speex] ;0-10 quality => 4 ;0-10 complexity => 4 ; true / false enhancement => true ; true / false vad => false ; true / false vbr => false ; 0 = off, otherwise,
2008 May 03
2
Resampler (no api)
...-= st->den_rate; + samp_frac_num -= den_rate; last_sample++; } } + st->last_sample[channel_index] = last_sample; st->samp_frac_num[channel_index] = samp_frac_num; return out_sample; @@ -583,7 +582,7 @@ /* up-sampling */ st->cutoff = quality_map[st->quality].upsample_bandwidth; } - + /* Choose the resampling type that requires the least amount of memory */ if (st->den_rate <= st->oversample) { @@ -643,18 +642,18 @@ if (!st->mem) { spx_uint32_t i; - st->mem = (spx_word16_t*)speex_allo...
2008 May 03
0
Resampler, memory only variant
...-= st->den_rate; + samp_frac_num -= den_rate; last_sample++; } } + st->last_sample[channel_index] = last_sample; st->samp_frac_num[channel_index] = samp_frac_num; return out_sample; @@ -583,7 +582,7 @@ /* up-sampling */ st->cutoff = quality_map[st->quality].upsample_bandwidth; } - + /* Choose the resampling type that requires the least amount of memory */ if (st->den_rate <= st->oversample) { @@ -643,18 +642,18 @@ if (!st->mem) { spx_uint32_t i; - st->mem = (spx_word16_t*)speex_allo...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...y; break; case SPEEX_SET_QUALITY: { int quality = (*(long*)ptr); if (quality < 0) quality = 0; if (quality > 10) quality = 10; st->submodeSelect = st->submodeID = ((const SpeexNBMode*)(st->mode->mode))->quality_map[quality]; } break; case SPEEX_SET_COMPLEXITY: st->complexity = (*(long*)ptr); if (st->complexity<0) st->complexity=0; break; case SPEEX_GET_COMPLEXITY: (*(long*)ptr) = st->complexity; break; case SPEEX_SET_BITRATE: {...