Lines Matching defs:channels
23 * Join multiple audio inputs as different channels in
53 ChannelMap *channels;
73 { "map", "A comma-separated list of channels maps in the format "
149 if (s->channels[out_ch_idx].input >= 0) {
173 s->channels[out_ch_idx].input = input_idx;
175 s->channels[out_ch_idx].in_channel = in_channel;
177 s->channels[out_ch_idx].in_channel_idx = in_ch_idx;
196 s->channels = av_mallocz(sizeof(*s->channels) * s->nb_channels);
199 if (!s->channels || !s->buffers|| !s->input_frames)
203 s->channels[i].out_channel = av_channel_layout_extract_channel(s->channel_layout, i);
204 s->channels[i].input = -1;
237 av_freep(&s->channels);
302 uint64_t *inputs; // nth element tracks which channels are used from nth input
309 ChannelMap *ch = &s->channels[i];
333 /* first try unused matching channels */
335 ChannelMap *ch = &s->channels[i];
343 ChannelMap *ch = &s->channels[i];
362 ChannelMap *ch = &s->channels[i];
371 av_log(ctx, AV_LOG_WARNING, "No channels are used from input "
422 ChannelMap *ch = &s->channels[i];
472 av_frame_set_channels(frame, outlink->channels);