FFmpeg 5.1.4
Data Fields
AVFilterInOut Struct Reference

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

#include <libavfilter/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 1031 of file avfilter.h.

Field Documentation

◆ name

char* AVFilterInOut::name

unique name for this input/output in the list

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

Definition at line 1033 of file avfilter.h.

Referenced by init_filter(), and init_filters().

◆ filter_ctx

AVFilterContext* AVFilterInOut::filter_ctx

filter context associated to this input/output

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

Definition at line 1036 of file avfilter.h.

Referenced by init_filter(), and init_filters().

◆ pad_idx

int AVFilterInOut::pad_idx

index of the filt_ctx pad to use for linking

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

Definition at line 1039 of file avfilter.h.

Referenced by init_filter(), and init_filters().

◆ next

struct AVFilterInOut* AVFilterInOut::next

next input/input in the list, NULL if this is the last

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

Definition at line 1042 of file avfilter.h.

Referenced by init_filter(), and init_filters().


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