Lines Matching refs:coupled_streams
434 int coupled_streams, in opus_multistream_encoder_init_impl() argument
445 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_encoder_init_impl()
446 (streams<1) || (coupled_streams<0) || (streams>255-coupled_streams)) in opus_multistream_encoder_init_impl()
452 st->layout.nb_coupled_streams = coupled_streams; in opus_multistream_encoder_init_impl()
502 int coupled_streams, in opus_multistream_encoder_init() argument
508 coupled_streams, mapping, in opus_multistream_encoder_init()
518 int *coupled_streams, in opus_multistream_surround_encoder_init() argument
533 *coupled_streams=0; in opus_multistream_surround_encoder_init()
538 *coupled_streams=1; in opus_multistream_surround_encoder_init()
547 *coupled_streams=vorbis_mappings[channels-1].nb_coupled_streams; in opus_multistream_surround_encoder_init()
556 *coupled_streams=0; in opus_multistream_surround_encoder_init()
562 if (!validate_ambisonics(channels, streams, coupled_streams)) in opus_multistream_surround_encoder_init()
564 for(i = 0; i < (*streams - *coupled_streams); i++) in opus_multistream_surround_encoder_init()
565 mapping[i] = i + (*coupled_streams * 2); in opus_multistream_surround_encoder_init()
566 for(i = 0; i < *coupled_streams * 2; i++) in opus_multistream_surround_encoder_init()
567 mapping[i + (*streams - *coupled_streams)] = i; in opus_multistream_surround_encoder_init()
581 *coupled_streams, mapping, in opus_multistream_surround_encoder_init()
589 int coupled_streams, in opus_multistream_encoder_create() argument
597 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_encoder_create()
598 (streams<1) || (coupled_streams<0) || (streams>255-coupled_streams)) in opus_multistream_encoder_create()
604 st = (OpusMSEncoder *)opus_alloc(opus_multistream_encoder_get_size(streams, coupled_streams)); in opus_multistream_encoder_create()
611 …ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, applicati… in opus_multistream_encoder_create()
627 int *coupled_streams, in opus_multistream_surround_encoder_create() argument
656 …eam_surround_encoder_init(st, Fs, channels, mapping_family, streams, coupled_streams, mapping, app… in opus_multistream_surround_encoder_create()