Lines Matching refs:channels
34 MAKE_ACCESSORS(AVFrame, frame, int, channels)
44 (frame)->channels == \
201 int channels;
206 if (!frame->channels)
207 frame->channels = av_get_channel_layout_nb_channels(frame->channel_layout);
209 channels = frame->channels;
210 planes = planar ? channels : 1;
214 ret = av_samples_get_buffer_size(&frame->linesize[0], channels,
262 else if (frame->nb_samples > 0 && (frame->channel_layout || frame->channels > 0))
275 dst->channels = src->channels;
327 int ch = src->channels;
428 tmp.channels = frame->channels;
533 int channels = frame->channels;
534 if (!channels)
537 planes = av_sample_fmt_is_planar(frame->format) ? channels : 1;
628 int channels = dst->channels;
629 int planes = planar ? channels : 1;
633 dst->channels != src->channels ||
644 dst->nb_samples, channels, dst->format);