Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_multistream_encoder.c48 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()
[all …]
Dopus_multistream_decoder.c53 opus_int32 opus_multistream_decoder_get_size(int nb_streams, int nb_coupled_streams) in opus_multistream_decoder_get_size() argument
58 if(nb_streams<1||nb_coupled_streams>nb_streams||nb_coupled_streams<0)return 0; in opus_multistream_decoder_get_size()
62 + nb_coupled_streams * align(coupled_size) in opus_multistream_decoder_get_size()
63 + (nb_streams-nb_coupled_streams) * align(mono_size); in opus_multistream_decoder_get_size()
86 st->layout.nb_coupled_streams = coupled_streams; in opus_multistream_decoder_init()
97 for (i=0;i<st->layout.nb_coupled_streams;i++) in opus_multistream_decoder_init()
245 ptr += (s < st->layout.nb_coupled_streams) ? align(coupled_size) : align(mono_size); in opus_multistream_decode_native()
262 if (s < st->layout.nb_coupled_streams) in opus_multistream_decode_native()
455 if (s < st->layout.nb_coupled_streams) in opus_multistream_decoder_ctl_va_list()
473 if (s < st->layout.nb_coupled_streams) in opus_multistream_decoder_ctl_va_list()
[all …]
Dopus_projection_encoder.c146 int nb_coupled_streams; in opus_projection_ambisonics_encoder_get_size() local
155 &nb_coupled_streams, &order_plus_one); in opus_projection_ambisonics_encoder_get_size()
194 opus_multistream_encoder_get_size(nb_streams, nb_coupled_streams); in opus_projection_ambisonics_encoder_get_size()
402 + ms_encoder->layout.nb_coupled_streams) * sizeof(opus_int16); in opus_projection_encoder_ctl()
427 ms_encoder->layout.nb_coupled_streams; in opus_projection_encoder_ctl()
Dopus_multistream.c45 max_channel = layout->nb_streams+layout->nb_coupled_streams; in validate_layout()
87 if (layout->mapping[i]==stream_id+layout->nb_coupled_streams) in get_mono_channel()
Dopus_private.h50 int nb_coupled_streams; member