Lines Matching defs:channels
33 return ref->audio ? ref->audio->channels : 0;
44 int channels = link->channels;
47 av_assert0(channels == av_get_channel_layout_nb_channels(link->channel_layout) || !av_get_channel_layout_nb_channels(link->channel_layout));
54 av_frame_set_channels(frame, link->channels);
63 av_samples_set_silence(frame->extended_data, 0, nb_samples, channels,
88 int channels,
98 av_assert0(channels);
100 channels == av_get_channel_layout_nb_channels(channel_layout));
109 samplesref->audio->channels = channels;
111 planes = av_sample_fmt_is_planar(sample_fmt) ? channels : 1;
165 int channels = av_get_channel_layout_nb_channels(channel_layout);
168 channels, channel_layout);