Lines Matching full:modeid
459 spx_int32_t modeid;
460 modeid = mode->nb_modes-1;
464 while (modeid)
470 thresh = mode->vbr_thresh[modeid][v1];
472 thresh = (st->vbr_quality-v1) * mode->vbr_thresh[modeid][v1+1] +
473 (1+v1-st->vbr_quality) * mode->vbr_thresh[modeid][v1];
474 if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->full_frame_size <= st->vbr_max_high)
476 modeid--;
478 speex_encoder_ctl(state, SPEEX_SET_HIGH_MODE, &modeid);
490 int modeid;
492 modeid=1;
494 modeid=st->submodeSelect;
496 st->submodeID=modeid;