Lines Matching refs:variable_duration
82 int variable_duration; member
252 st->variable_duration = OPUS_FRAMESIZE_ARG; in opus_encoder_init()
611 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs) in frame_size_select() argument
616 if (variable_duration == OPUS_FRAMESIZE_ARG) in frame_size_select()
618 … else if (variable_duration >= OPUS_FRAMESIZE_2_5_MS && variable_duration <= OPUS_FRAMESIZE_120_MS) in frame_size_select()
620 if (variable_duration <= OPUS_FRAMESIZE_40_MS) in frame_size_select()
621 new_size = (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS); in frame_size_select()
623 new_size = (variable_duration-OPUS_FRAMESIZE_2_5_MS-2)*Fs/50; in frame_size_select()
2206 frame_size = frame_size_select(analysis_frame_size, st->variable_duration, st->Fs); in opus_encode_float()
2227 frame_size = frame_size_select(analysis_frame_size, st->variable_duration, st->Fs); in opus_encode()
2241 frame_size = frame_size_select(analysis_frame_size, st->variable_duration, st->Fs); in opus_encode()
2260 frame_size = frame_size_select(analysis_frame_size, st->variable_duration, st->Fs); in opus_encode_float()
2631 st->variable_duration = value; in opus_encoder_ctl()
2642 *value = st->variable_duration; in opus_encoder_ctl()