AVFilter

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

Members

Variables

activate
int function(AVFilterContext* ctx) activate;

Filter activation function.

description
const(char)* description;

A description of the filter. May be NULL.

flags
int flags;

A combination of AVFILTER_FLAG_*

flags_internal
int flags_internal;

< Additional flags for avfilter internal use only.

init
int function(AVFilterContext* ctx) init;

Filter initialization function.

init_dict
int function(AVFilterContext* ctx, AVDictionary** options) init_dict;

Should be set instead of @ref AVFilter.init "init" by the filters that want to pass a dictionary of AVOptions to nested contexts that are allocated during init.

init_opaque
int function(AVFilterContext* ctx, void* opaque) init_opaque;

Filter initialization function, alternative to the init() callback. Args contains the user-supplied parameters, opaque is used for providing binary data.

inputs
const(AVFilterPad)* inputs;

List of inputs, terminated by a zeroed element.

name
const(char)* name;

Filter name. Must be non-NULL and unique among filters.

next
AVFilter* next;

Used by the filter registration system. Must not be touched by any other code.

outputs
const(AVFilterPad)* outputs;

List of outputs, terminated by a zeroed element.

preinit
int function(AVFilterContext* ctx) preinit;

Filter pre-initialization function

priv_class
const(AVClass)* 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.

priv_size
int priv_size;

< size of private data to allocate for the filter

process_command
int function(AVFilterContext*, const(char)* cmd, const(char)* arg, char* res, int res_len, int flags) process_command;

Make the filter instance process a command.

query_formats
int function(AVFilterContext*) query_formats;

Query formats supported by the filter on its inputs and outputs.

uninit
void function(AVFilterContext* ctx) uninit;

Filter uninitialization function.

Meta