FFmpeg
Data Fields
AVFilter Struct Reference

Filter definition. More...

#include <avfilter.h>

Data Fields

const char * name
 Filter name. More...
 
const char * description
 A description of the filter. More...
 
const AVFilterPadinputs
 List of static inputs. More...
 
const AVFilterPadoutputs
 List of static outputs. More...
 
const AVClasspriv_class
 A class for the private data, used to declare filter private AVOptions. More...
 
int flags
 A combination of AVFILTER_FLAG_*. More...
 

Detailed Description

Filter definition.

This defines the pads a filter contains, and all the callback functions used to interact with the filter.

Examples
decode_filter_audio.c, decode_filter_video.c, filter_audio.c, and transcode.c.

Definition at line 199 of file avfilter.h.

Field Documentation

◆ name

const char* AVFilter::name

◆ description

const char* AVFilter::description

A description of the filter.

May be NULL.

You should use the NULL_IF_CONFIG_SMALL() macro to define it.

Definition at line 210 of file avfilter.h.

◆ inputs

const AVFilterPad* AVFilter::inputs

List of static inputs.

NULL if there are no (static) inputs. Instances of filters with AVFILTER_FLAG_DYNAMIC_INPUTS set may have more inputs than present in this list.

Definition at line 219 of file avfilter.h.

◆ outputs

const AVFilterPad* AVFilter::outputs

List of static outputs.

NULL if there are no (static) outputs. Instances of filters with AVFILTER_FLAG_DYNAMIC_OUTPUTS set may have more outputs than present in this list.

Definition at line 228 of file avfilter.h.

◆ priv_class

const AVClass* AVFilter::priv_class

A class for the private data, used to declare filter private AVOptions.

This field is NULL for filters that do not declare any options.

If this field is non-NULL, the first member of the filter private data must be a pointer to AVClass, which will be set by libavfilter generic code to this class.

Definition at line 238 of file avfilter.h.

◆ flags

int AVFilter::flags

A combination of AVFILTER_FLAG_*.

Definition at line 243 of file avfilter.h.

Referenced by ff_filter_activate(), and filter_frame_framed().


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