• Home
  • Raw
  • Download

Lines Matching refs:nb_coupled_streams

48    int nb_coupled_streams;  member
75 if (s < st->layout.nb_coupled_streams) in ms_get_preemph_mem()
95 if (s < st->layout.nb_coupled_streams) in ms_get_window_mem()
104 static int validate_ambisonics(int nb_channels, int *nb_streams, int *nb_coupled_streams) in validate_ambisonics() argument
122 if (nb_coupled_streams) in validate_ambisonics()
123 *nb_coupled_streams = nondiegetic_channels != 0; in validate_ambisonics()
132 if (s < layout->nb_coupled_streams) in validate_encoder_layout()
376 opus_int32 opus_multistream_encoder_get_size(int nb_streams, int nb_coupled_streams) in opus_multistream_encoder_get_size() argument
381 if(nb_streams<1||nb_coupled_streams>nb_streams||nb_coupled_streams<0)return 0; in opus_multistream_encoder_get_size()
385 + nb_coupled_streams * align(coupled_size) in opus_multistream_encoder_get_size()
386 + (nb_streams-nb_coupled_streams) * align(mono_size); in opus_multistream_encoder_get_size()
392 int nb_coupled_streams; in opus_multistream_surround_encoder_get_size() local
400 nb_coupled_streams=0; in opus_multistream_surround_encoder_get_size()
404 nb_coupled_streams=1; in opus_multistream_surround_encoder_get_size()
410 nb_coupled_streams=vorbis_mappings[channels-1].nb_coupled_streams; in opus_multistream_surround_encoder_get_size()
414 nb_coupled_streams=0; in opus_multistream_surround_encoder_get_size()
417 if (!validate_ambisonics(channels, &nb_streams, &nb_coupled_streams)) in opus_multistream_surround_encoder_get_size()
421 size = opus_multistream_encoder_get_size(nb_streams, nb_coupled_streams); in opus_multistream_surround_encoder_get_size()
452 st->layout.nb_coupled_streams = coupled_streams; in opus_multistream_encoder_init_impl()
472 for (i=0;i<st->layout.nb_coupled_streams;i++) in opus_multistream_encoder_init_impl()
547 *coupled_streams=vorbis_mappings[channels-1].nb_coupled_streams; in opus_multistream_surround_encoder_init()
689 nb_coupled = st->layout.nb_coupled_streams; in surround_rate_allocation()
727 if (i<st->layout.nb_coupled_streams) in surround_rate_allocation()
747 const int nb_channels = st->layout.nb_streams + st->layout.nb_coupled_streams; in ambisonics_rate_allocation()
751 total_rate = (st->layout.nb_coupled_streams + st->layout.nb_streams) * in ambisonics_rate_allocation()
893 if (s < st->layout.nb_coupled_streams) in opus_multistream_encode_native()
912 if (s < st->layout.nb_coupled_streams) in opus_multistream_encode_native()
937 if (s < st->layout.nb_coupled_streams) in opus_multistream_encode_native()
1154 if (s < st->layout.nb_coupled_streams) in opus_multistream_encoder_ctl_va_list()
1201 if (s < st->layout.nb_coupled_streams) in opus_multistream_encoder_ctl_va_list()
1235 if (s < st->layout.nb_coupled_streams) in opus_multistream_encoder_ctl_va_list()
1260 if (s < st->layout.nb_coupled_streams) in opus_multistream_encoder_ctl_va_list()
1296 if (s < st->layout.nb_coupled_streams) in opus_multistream_encoder_ctl_va_list()