Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_multistream_encoder.c969 int curr_max; in opus_multistream_encode_native() local
1013 curr_max = max_data_bytes - tot_size; in opus_multistream_encode_native()
1015 curr_max -= IMAX(0,2*(st->layout.nb_streams-s-1)-1); in opus_multistream_encode_native()
1016 curr_max = IMIN(curr_max,MS_FRAME_TMP); in opus_multistream_encode_native()
1018 if (s != st->layout.nb_streams-1) curr_max -= curr_max>253 ? 2 : 1; in opus_multistream_encode_native()
1020 opus_encoder_ctl(enc, OPUS_SET_BITRATE(curr_max*(8*Fs/frame_size))); in opus_multistream_encode_native()
1021 len = opus_encode_native(enc, buf, frame_size, tmp_data, curr_max, lsb_depth, in opus_multistream_encode_native()