Home
last modified time | relevance | path

Searched refs:vbr_max (Results 1 – 4 of 4) sorted by relevance

/external/speex/libspeex/
Dsb_celp.h78 spx_int32_t vbr_max; /**< Max bit-rate allowed in VBR mode (total) */ member
Dsb_celp.c259 st->vbr_max = 0; in sb_encoder_init()
1285 st->vbr_max = (*(spx_int32_t*)ptr); in sb_encoder_ctl()
1288 speex_encoder_ctl(st->st_low, SPEEX_SET_VBR_MAX_BITRATE, &st->vbr_max); in sb_encoder_ctl()
1292 if (st->vbr_max >= 42200) in sb_encoder_ctl()
1295 } else if (st->vbr_max >= 27800) in sb_encoder_ctl()
1298 } else if (st->vbr_max > 20600) in sb_encoder_ctl()
1306 low_rate = st->vbr_max - st->vbr_max_high; in sb_encoder_ctl()
1312 (*(spx_int32_t*)ptr) = st->vbr_max; in sb_encoder_ctl()
Dnb_celp.h101 spx_int32_t vbr_max; /**< Max bit-rate allowed in VBR mode */ member
Dnb_celp.c193 st->vbr_max = 0; in nb_encoder_init()
492 if (st->vbr_max>0) in nb_encode()
496 if (rate > st->vbr_max) in nb_encode()
498 rate = st->vbr_max; in nb_encode()
1730 st->vbr_max = (*(spx_int32_t*)ptr); in nb_encoder_ctl()
1733 (*(spx_int32_t*)ptr) = st->vbr_max; in nb_encoder_ctl()