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
decode_filter_audio.c, decode_filter_video.c, and transcode.c.

Definition at line 930 of file avfilter.h.

Field Documentation

◆ name

char* AVFilterInOut::name

unique name for this input/output in the list

Definition at line 932 of file avfilter.h.

Referenced by avfilter_graph_parse(), avfilter_graph_parse_ptr(), and inout_add().

◆ filter_ctx

AVFilterContext* AVFilterInOut::filter_ctx

filter context associated to this input/output

Definition at line 935 of file avfilter.h.

Referenced by avfilter_graph_parse(), avfilter_graph_parse_ptr(), configure_input_audio_filter(), configure_input_video_filter(), describe_filter_link(), and inout_add().

◆ pad_idx

int AVFilterInOut::pad_idx

index of the filt_ctx pad to use for linking

Definition at line 938 of file avfilter.h.

Referenced by avfilter_graph_parse(), avfilter_graph_parse_ptr(), configure_input_audio_filter(), configure_input_video_filter(), describe_filter_link(), and inout_add().

◆ next

struct AVFilterInOut* AVFilterInOut::next

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

Definition at line 941 of file avfilter.h.

Referenced by append_inout(), avfilter_graph_parse(), avfilter_graph_parse_ptr(), avfilter_inout_free(), and configure_filtergraph().


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