Home | History | Annotate | Download | only in src

Lines Matching refs:layout

41    ChannelLayout layout;
81 st->layout.nb_channels = channels;
82 st->layout.nb_streams = streams;
83 st->layout.nb_coupled_streams = coupled_streams;
85 for (i=0;i<st->layout.nb_channels;i++)
86 st->layout.mapping[i] = mapping[i];
87 if (!validate_layout(&st->layout))
94 for (i=0;i<st->layout.nb_coupled_streams;i++)
100 for (;i<st->layout.nb_streams;i++)
219 if (!do_plc && len < 2*st->layout.nb_streams-1)
226 int ret = opus_multistream_packet_validate(data, len, st->layout.nb_streams, Fs);
237 for (s=0;s<st->layout.nb_streams;s++)
243 ptr += (s < st->layout.nb_coupled_streams) ? align(coupled_size) : align(mono_size);
251 ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, s!=st->layout.nb_streams-1, &packet_offset, soft_clip);
260 if (s < st->layout.nb_coupled_streams)
265 while ( (chan = get_left_channel(&st->layout, s, prev)) != -1)
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
273 while ( (chan = get_right_channel(&st->layout, s, prev)) != -1)
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
283 while ( (chan = get_mono_channel(&st->layout, s, prev)) != -1)
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
292 for (c=0;c<st->layout.nb_channels;c++)
294 if (st->layout.mapping[c] == 255)
296 (*copy_channel_out)(pcm, st->layout.nb_channels, c,
446 for (s=0;s<st->layout.nb_streams;s++)
450 if (s < st->layout.nb_coupled_streams)
463 for (s=0;s<st->layout.nb_streams;s++)
468 if (s < st->layout.nb_coupled_streams)
484 if (stream_id<0 || stream_id >= st->layout.nb_streams)
493 if (s < st->layout.nb_coupled_streams)
506 for (s=0;s<st->layout.nb_streams;s++)
511 if (s < st->layout.nb_coupled_streams)