Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_multistream_encoder.c47 int nb_streams; member
73 for (s=0;s<st->layout.nb_streams;s++) in ms_get_preemph_mem()
93 for (s=0;s<st->layout.nb_streams;s++) in ms_get_window_mem()
104 static int validate_ambisonics(int nb_channels, int *nb_streams, int *nb_coupled_streams) in validate_ambisonics() argument
120 if (nb_streams) in validate_ambisonics()
121 *nb_streams = acn_channels + (nondiegetic_channels != 0); in validate_ambisonics()
130 for (s=0;s<layout->nb_streams;s++) 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()
386 + (nb_streams-nb_coupled_streams) * align(mono_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()
63 + (nb_streams-nb_coupled_streams) * align(mono_size); in opus_multistream_decoder_get_size()
85 st->layout.nb_streams = streams; in opus_multistream_decoder_init()
103 for (;i<st->layout.nb_streams;i++) in opus_multistream_decoder_init()
150 opus_int32 len, int nb_streams, opus_int32 Fs) in opus_multistream_packet_validate() argument
159 for (s=0;s<nb_streams;s++) in opus_multistream_packet_validate()
164 count = opus_packet_parse_impl(data, len, s!=nb_streams-1, &toc, NULL, in opus_multistream_packet_validate()
220 if (!do_plc && len < 2*st->layout.nb_streams-1) in opus_multistream_decode_native()
227 int ret = opus_multistream_packet_validate(data, len, st->layout.nb_streams, Fs); in opus_multistream_decode_native()
[all …]
Drepacketizer.c278 …pus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_streams) in opus_multistream_packet_pad() argument
295 for (s=0;s<nb_streams-1;s++) in opus_multistream_packet_pad()
309 opus_int32 opus_multistream_packet_unpad(unsigned char *data, opus_int32 len, int nb_streams) in opus_multistream_packet_unpad() argument
324 for (s=0;s<nb_streams;s++) in opus_multistream_packet_unpad()
327 int self_delimited = s!=nb_streams-1; in opus_multistream_packet_unpad()
Dopus_projection_encoder.c145 int nb_streams; in opus_projection_ambisonics_encoder_get_size() local
154 ret = get_streams_from_channels(channels, mapping_family, &nb_streams, 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()
401 ms_encoder->layout.nb_channels * (ms_encoder->layout.nb_streams in opus_projection_encoder_ctl()
426 nb_input_streams = ms_encoder->layout.nb_streams + in opus_projection_encoder_ctl()
Dopus_multistream.c45 max_channel = layout->nb_streams+layout->nb_coupled_streams; in validate_layout()
Dopus_private.h49 int nb_streams; member
/external/libopus/include/
Dopus.h958 …us_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_streams);
973 …SULT opus_int32 opus_multistream_packet_unpad(unsigned char *data, opus_int32 len, int nb_streams);