Home
last modified time | relevance | path

Searched refs:coupled_streams (Results 1 – 19 of 19) sorted by relevance

/external/libopus/include/
Dopus_multistream.h205 int coupled_streams
261 int coupled_streams,
272 int *coupled_streams,
331 int coupled_streams,
342 int *coupled_streams,
472 int coupled_streams
508 int coupled_streams,
552 int coupled_streams,
Dopus_projection.h166 int *coupled_streams,
220 int *coupled_streams,
359 int coupled_streams
401 int coupled_streams,
452 int coupled_streams,
/external/libopus/src/
Dopus_projection_decoder.c108 int coupled_streams) in opus_projection_decoder_get_size() argument
114 mapping_matrix_get_size(streams + coupled_streams, channels); in opus_projection_decoder_get_size()
118 decoder_size = opus_multistream_decoder_get_size(streams, coupled_streams); in opus_projection_decoder_get_size()
126 int channels, int streams, int coupled_streams, in opus_projection_decoder_init() argument
137 nb_input_streams = streams + coupled_streams; in opus_projection_decoder_init()
171 get_multistream_decoder(st), Fs, channels, streams, coupled_streams, mapping); in opus_projection_decoder_init()
177 opus_int32 Fs, int channels, int streams, int coupled_streams, in opus_projection_decoder_create() argument
185 size = opus_projection_decoder_get_size(channels, streams, coupled_streams); in opus_projection_decoder_create()
200 ret = opus_projection_decoder_init(st, Fs, channels, streams, coupled_streams, in opus_projection_decoder_create()
Dopus_projection_encoder.c102 int *streams, int *coupled_streams, in get_streams_from_channels() argument
111 if (coupled_streams) in get_streams_from_channels()
112 *coupled_streams = channels / 2; in get_streams_from_channels()
204 int *streams, int *coupled_streams, in opus_projection_ambisonics_encoder_init() argument
215 if (streams == NULL || coupled_streams == NULL) { in opus_projection_ambisonics_encoder_init()
220 coupled_streams, &order_plus_one) != OPUS_OK) in opus_projection_ambisonics_encoder_init()
291 if (*streams + *coupled_streams > mixing_matrix->rows || in opus_projection_ambisonics_encoder_init()
294 *streams + *coupled_streams > demixing_matrix->cols) in opus_projection_ambisonics_encoder_init()
304 *coupled_streams, mapping, application); in opus_projection_ambisonics_encoder_init()
310 int *coupled_streams, int application, int *error) in opus_projection_ambisonics_encoder_create() argument
[all …]
Dopus_multistream_encoder.c434 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()
[all …]
Dopus_multistream_decoder.c71 int coupled_streams, in opus_multistream_decoder_init() argument
80 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_decoder_init()
81 (streams<1) || (coupled_streams<0) || (streams>255-coupled_streams)) in opus_multistream_decoder_init()
86 st->layout.nb_coupled_streams = coupled_streams; in opus_multistream_decoder_init()
117 int coupled_streams, in opus_multistream_decoder_create() argument
124 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_decoder_create()
125 (streams<1) || (coupled_streams<0) || (streams>255-coupled_streams)) in opus_multistream_decoder_create()
131 st = (OpusMSDecoder *)opus_alloc(opus_multistream_decoder_get_size(streams, coupled_streams)); in opus_multistream_decoder_create()
138 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); in opus_multistream_decoder_create()
Dopus_demo.c195 int streams, coupled_streams;
197 …opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled_streams, mapping, app…
202 int coupled_streams;
205 coupled_streams = channels==2;
206 …return (OpusDecoder *)opus_multistream_decoder_create(Fs, channels, streams, coupled_streams, mapp…
/external/webrtc/api/audio_codecs/opus/
Daudio_decoder_multi_channel_opus_config.h26 int coupled_streams; member
33 if (num_channels < 0 || num_streams < 0 || coupled_streams < 0) { in IsOk()
36 if (num_streams < coupled_streams) { in IsOk()
45 const int max_coded_channel = num_streams + coupled_streams; in IsOk()
Daudio_encoder_multi_channel_opus_config.cc30 coupled_streams(-1) {} in AudioEncoderMultiChannelOpusConfig()
50 if (num_channels < 0 || num_streams < 0 || coupled_streams < 0) { in IsOk()
53 if (num_streams < coupled_streams) { in IsOk()
62 const int max_coded_channel = num_streams + coupled_streams; in IsOk()
Daudio_encoder_multi_channel_opus_config.h56 int coupled_streams; member
/external/webrtc/test/fuzzers/
Daudio_decoder_multistream_opus_fuzzer.cc20 int coupled_streams, in MakeDecoderConfig() argument
25 config.coupled_streams = coupled_streams; in MakeDecoderConfig()
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_decoder_multi_channel_opus_impl.cc36 config.coupled_streams, config.channel_mapping.data()); in MakeAudioDecoder()
69 auto coupled_streams = GetFormatParameter<int>(format, "coupled_streams"); in SdpToConfig() local
70 if (!coupled_streams.has_value()) { in SdpToConfig()
73 config.coupled_streams = *coupled_streams; in SdpToConfig()
Daudio_encoder_multi_channel_opus_impl.cc192 config.num_streams, config.coupled_streams, in RecreateEncoderInstance()
270 auto coupled_streams = GetFormatParameter<int>(format, "coupled_streams"); in SdpToConfig() local
271 if (!coupled_streams.has_value()) { in SdpToConfig()
274 config.coupled_streams = *coupled_streams; in SdpToConfig()
Dopus_interface.h81 size_t coupled_streams,
375 size_t coupled_streams,
Dopus_interface.cc101 size_t coupled_streams, in WebRtcOpus_MultistreamEncoderCreate() argument
124 opus_multistream_encoder_create(48000, channels, streams, coupled_streams, in WebRtcOpus_MultistreamEncoderCreate()
431 size_t coupled_streams, in WebRtcOpus_MultistreamDecoderCreate() argument
445 48000, channels, streams, coupled_streams, channel_mapping, &error); in WebRtcOpus_MultistreamDecoderCreate()
Daudio_decoder_multi_channel_opus_unittest.cc95 EXPECT_EQ(decoder_config->coupled_streams, 2); in TEST()
Daudio_encoder_multi_channel_opus_unittest.cc101 EXPECT_EQ(encoder_config->coupled_streams, 2); in TEST()
/external/libopus/tests/
Dtest_opus_projection.c192 int coupled_streams; in test_creation_arguments() local
209 mapping_family, &streams, &coupled_streams, application, &enc_error); in test_creation_arguments()
227 coupled_streams, matrix, matrix_size, &dec_error); in test_creation_arguments()
244 streams, coupled_streams); in test_creation_arguments()
Dopus_encode_regressions.c50 int coupled_streams; in celt_ec_internal_error() local
54 &coupled_streams, mapping, OPUS_APPLICATION_VOIP, &err); in celt_ec_internal_error()
400 int coupled_streams; in surround_analysis_uninit() local
404 &coupled_streams, mapping, OPUS_APPLICATION_AUDIO, &err); in surround_analysis_uninit()