Lines Matching refs:nb_streams
46 int nb_streams; member
94 for (s=0;s<st->layout.nb_streams;s++) in ms_get_preemph_mem()
113 for (s=0;s<st->layout.nb_streams;s++) in ms_get_window_mem()
126 for (s=0;s<layout->nb_streams;s++) in validate_encoder_layout()
344 opus_int32 opus_multistream_encoder_get_size(int nb_streams, int nb_coupled_streams) in opus_multistream_encoder_get_size() argument
349 if(nb_streams<1||nb_coupled_streams>nb_streams||nb_coupled_streams<0)return 0; in opus_multistream_encoder_get_size()
354 + (nb_streams-nb_coupled_streams) * align(mono_size); in opus_multistream_encoder_get_size()
359 int nb_streams; in opus_multistream_surround_encoder_get_size() local
367 nb_streams=1; in opus_multistream_surround_encoder_get_size()
371 nb_streams=1; in opus_multistream_surround_encoder_get_size()
377 nb_streams=vorbis_mappings[channels-1].nb_streams; in opus_multistream_surround_encoder_get_size()
381 nb_streams=channels; in opus_multistream_surround_encoder_get_size()
385 size = opus_multistream_encoder_get_size(nb_streams, nb_coupled_streams); in opus_multistream_surround_encoder_get_size()
415 st->layout.nb_streams = streams; in opus_multistream_encoder_init_impl()
439 for (;i<st->layout.nb_streams;i++) in opus_multistream_encoder_init_impl()
501 *streams=vorbis_mappings[channels-1].nb_streams; in opus_multistream_surround_encoder_init()
640 nb_uncoupled = st->layout.nb_streams-nb_coupled-nb_lfe; in surround_rate_allocation()
655 for (i=0;i<st->layout.nb_streams;i++) in surround_rate_allocation()
714 channels = st->layout.nb_streams + st->layout.nb_coupled_streams; in opus_multistream_encode_native()
750 if (max_data_bytes < 4*st->layout.nb_streams-1) in opus_multistream_encode_native()
763 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encode_native()
798 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encode_native()
847 curr_max -= IMAX(0,4*(st->layout.nb_streams-s-1)-1); in opus_multistream_encode_native()
849 if (!vbr && s == st->layout.nb_streams-1) in opus_multistream_encode_native()
863 …data, max_data_bytes-tot_size, s != st->layout.nb_streams-1, !vbr && s == st->layout.nb_streams-1); in opus_multistream_encode_native()
1003 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encoder_ctl()
1050 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encoder_ctl()
1082 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encoder_ctl()
1103 if (stream_id<0 || stream_id >= st->layout.nb_streams) in opus_multistream_encoder_ctl()
1145 for (s=0;s<st->layout.nb_streams;s++) in opus_multistream_encoder_ctl()