Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_multistream_decoder.c50 opus_int32 opus_multistream_decoder_get_size(int nb_streams, int nb_coupled_streams) in opus_multistream_decoder_get_size() argument
55 if(nb_streams<1||nb_coupled_streams>nb_streams||nb_coupled_streams<0)return 0; in opus_multistream_decoder_get_size()
60 + (nb_streams-nb_coupled_streams) * align(mono_size); in opus_multistream_decoder_get_size()
82 st->layout.nb_streams = streams; in opus_multistream_decoder_init()
100 for (;i<st->layout.nb_streams;i++) in opus_multistream_decoder_init()
156 opus_int32 len, int nb_streams, opus_int32 Fs) in opus_multistream_packet_validate() argument
165 for (s=0;s<nb_streams;s++) in opus_multistream_packet_validate()
170 count = opus_packet_parse_impl(data, len, s!=nb_streams-1, &toc, NULL, in opus_multistream_packet_validate()
219 if (!do_plc && len < 2*st->layout.nb_streams-1) in opus_multistream_decode_native()
226 int ret = opus_multistream_packet_validate(data, len, st->layout.nb_streams, Fs); in opus_multistream_decode_native()
[all …]
Dopus_multistream_encoder.c46 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()
[all …]
Drepacketizer.c274 …pus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_streams) in opus_multistream_packet_pad() argument
291 for (s=0;s<nb_streams-1;s++) in opus_multistream_packet_pad()
305 opus_int32 opus_multistream_packet_unpad(unsigned char *data, opus_int32 len, int nb_streams) in opus_multistream_packet_unpad() argument
320 for (s=0;s<nb_streams;s++) in opus_multistream_packet_unpad()
323 int self_delimited = s!=nb_streams-1; in opus_multistream_packet_unpad()
Dopus_multistream.c45 max_channel = layout->nb_streams+layout->nb_coupled_streams; in validate_layout()
Dopus_private.h46 int nb_streams; member
/external/libopus/include/
Dopus.h955 …us_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_streams);
970 …SULT opus_int32 opus_multistream_packet_unpad(unsigned char *data, opus_int32 len, int nb_streams);
/external/libvncserver/client_examples/
Dvnc2mpg.c295 for(i = 0; i < oc->nb_streams; i++) { in movie_close()