FFmpeg
Data Fields
AVFilterInOut Struct Reference

A linked-list of the inputs/outputs of the filter chain. More...

#include <avfilter.h>

Data Fields

char * name
 unique name for this input/output in the list More...
 
AVFilterContextfilter_ctx
 filter context associated to this input/output More...
 
int pad_idx
 index of the filt_ctx pad to use for linking More...
 
struct AVFilterInOutnext
 next input/input in the list, NULL if this is the last More...
 

Detailed Description

A linked-list of the inputs/outputs of the filter chain.

This is mainly useful for avfilter_graph_parse() / avfilter_graph_parse2(), where it is used to communicate open (unlinked) inputs and outputs from and to the caller. This struct specifies, per each not connected pad contained in the graph, the filter context and the pad index required for establishing a link.

Examples
filtering_audio.c, filtering_video.c, and transcoding.c.

Definition at line 1003 of file avfilter.h.

Field Documentation

◆ name

char* AVFilterInOut::name

unique name for this input/output in the list

Definition at line 1005 of file avfilter.h.

Referenced by avfilter_graph_parse(), link_filter_inouts(), open_output_file(), parse_inputs(), and parse_outputs().

◆ filter_ctx

AVFilterContext* AVFilterInOut::filter_ctx

filter context associated to this input/output

Definition at line 1008 of file avfilter.h.

Referenced by avfilter_graph_parse(), describe_filter_link(), init_complex_filtergraph(), link_filter_inouts(), and parse_outputs().

◆ pad_idx

int AVFilterInOut::pad_idx

index of the filt_ctx pad to use for linking

Definition at line 1011 of file avfilter.h.

Referenced by avfilter_graph_parse(), describe_filter_link(), init_complex_filtergraph(), link_filter_inouts(), parse_inputs(), and parse_outputs().

◆ next

struct AVFilterInOut* AVFilterInOut::next

The documentation for this struct was generated from the following file: