Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dsb_celp.c459 spx_int32_t modeid; in sb_encode() local
460 modeid = mode->nb_modes-1; in sb_encode()
464 while (modeid) in sb_encode()
470 thresh = mode->vbr_thresh[modeid][v1]; in sb_encode()
472 thresh = (st->vbr_quality-v1) * mode->vbr_thresh[modeid][v1+1] + in sb_encode()
473 (1+v1-st->vbr_quality) * mode->vbr_thresh[modeid][v1]; in sb_encode()
474 …if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->f… in sb_encode()
476 modeid--; in sb_encode()
478 speex_encoder_ctl(state, SPEEX_SET_HIGH_MODE, &modeid); in sb_encode()
490 int modeid; in sb_encode() local
[all …]