AVFilterContext

An instance of a filter

Members

Structs

AVFilterCommand
struct AVFilterCommand
Undocumented in source.

Variables

av_class
const(AVClass)* av_class;

< needed for av_log() and filters common options

command_queue
AVFilterCommand* command_queue;
Undocumented in source.
enable
void* enable;

< parsed expression (AVExpr*)

enable_str
char* enable_str;

< enable expression string

extra_hw_frames
int extra_hw_frames;

Sets the number of extra hardware frames which the filter will allocate on its output links for use in following filters or by the caller.

filter
const(AVFilter)* filter;

< the AVFilter of which this is an instance

graph
AVFilterGraph* graph;

< filtergraph this filter belongs to

hw_device_ctx
AVBufferRef* hw_device_ctx;

For filters which will create hardware frames, sets the device the filter should create them in. All other filters will ignore this field: in particular, a filter which consumes or processes hardware frames will instead use the hw_frames_ctx field in AVFilterLink to carry the hardware context information.

input_pads
AVFilterPad* input_pads;

< array of input pads

inputs
AVFilterLink** inputs;

< array of pointers to input links

internal
AVFilterInternal* internal;

An opaque struct for libavfilter internal use.

is_disabled
int is_disabled;

< the enabled state from the last expression evaluation

name
char* name;

< name of this filter instance

nb_inputs
uint nb_inputs;

< number of input pads

nb_outputs
uint nb_outputs;

< number of output pads

nb_threads
int nb_threads;

Max number of threads allowed in this filter instance. If <= 0, its value is ignored. Overrides global number of threads set per filter graph.

output_pads
AVFilterPad* output_pads;

< array of output pads

outputs
AVFilterLink** outputs;

< array of pointers to output links

priv
void* priv;

< private data for use by the filter

ready
uint ready;

Ready status of the filter. A non-0 value means that the filter needs activating; a higher value suggests a more urgent activation.

thread_type
int thread_type;

Type of multithreading being allowed/used. A combination of AVFILTER_THREAD_* flags.

var_values
double* var_values;

< variable values for the enable expression

Meta