World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура AVFilterContext

#include <avfilter.h>

+ Граф связей класса AVFilterContext:

Открытые атрибуты

const AVClassav_class
 needed for av_log() and filters common options Подробнее...
 
const AVFilterfilter
 the AVFilter of which this is an instance Подробнее...
 
char * name
 name of this filter instance Подробнее...
 
AVFilterPadinput_pads
 array of input pads Подробнее...
 
AVFilterLink ** inputs
 array of pointers to input links Подробнее...
 
unsigned nb_inputs
 number of input pads Подробнее...
 
AVFilterPadoutput_pads
 array of output pads Подробнее...
 
AVFilterLink ** outputs
 array of pointers to output links Подробнее...
 
unsigned nb_outputs
 number of output pads Подробнее...
 
voidpriv
 private data for use by the filter Подробнее...
 
struct AVFilterGraphgraph
 filtergraph this filter belongs to Подробнее...
 
int thread_type
 
AVFilterInternalinternal
 
struct AVFilterCommand * command_queue
 
char * enable_str
 enable expression string Подробнее...
 
voidenable
 parsed expression (AVExpr*) Подробнее...
 
double * var_values
 variable values for the enable expression Подробнее...
 
int is_disabled
 the enabled state from the last expression evaluation Подробнее...
 
AVBufferRefhw_device_ctx
 
int nb_threads
 
unsigned ready
 
int extra_hw_frames
 

Подробное описание

An instance of a filter

См. определение в файле avfilter.h строка 338

Данные класса

◆ av_class

const AVClass* AVFilterContext::av_class

needed for av_log() and filters common options

См. определение в файле avfilter.h строка 339

◆ filter

const AVFilter* AVFilterContext::filter

the AVFilter of which this is an instance

См. определение в файле avfilter.h строка 341

◆ name

char* AVFilterContext::name

name of this filter instance

См. определение в файле avfilter.h строка 343

◆ input_pads

AVFilterPad* AVFilterContext::input_pads

array of input pads

См. определение в файле avfilter.h строка 345

◆ inputs

AVFilterLink** AVFilterContext::inputs

array of pointers to input links

См. определение в файле avfilter.h строка 346

◆ nb_inputs

unsigned AVFilterContext::nb_inputs

number of input pads

См. определение в файле avfilter.h строка 347

◆ output_pads

AVFilterPad* AVFilterContext::output_pads

array of output pads

См. определение в файле avfilter.h строка 349

◆ outputs

AVFilterLink** AVFilterContext::outputs

array of pointers to output links

См. определение в файле avfilter.h строка 350

◆ nb_outputs

unsigned AVFilterContext::nb_outputs

number of output pads

См. определение в файле avfilter.h строка 351

◆ priv

void* AVFilterContext::priv

private data for use by the filter

См. определение в файле avfilter.h строка 353

◆ graph

struct AVFilterGraph* AVFilterContext::graph

filtergraph this filter belongs to

См. определение в файле avfilter.h строка 355

◆ thread_type

int AVFilterContext::thread_type

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

May be set by the caller before initializing the filter to forbid some or all kinds of multithreading for this filter. The default is allowing everything.

When the filter is initialized, this field is combined using bit AND with AVFilterGraph.thread_type to get the final mask used for determining allowed threading types. I.e. a threading type needs to be set in both to be allowed.

After the filter is initialized, libavfilter sets this field to the threading type that is actually used (0 for no multithreading).

См. определение в файле avfilter.h строка 373

◆ internal

AVFilterInternal* AVFilterContext::internal

An opaque struct for libavfilter internal use.

См. определение в файле avfilter.h строка 378

◆ command_queue

struct AVFilterCommand* AVFilterContext::command_queue

См. определение в файле avfilter.h строка 380

◆ enable_str

char* AVFilterContext::enable_str

enable expression string

См. определение в файле avfilter.h строка 382

◆ enable

void* AVFilterContext::enable

parsed expression (AVExpr*)

См. определение в файле avfilter.h строка 383

◆ var_values

double* AVFilterContext::var_values

variable values for the enable expression

См. определение в файле avfilter.h строка 384

◆ is_disabled

int AVFilterContext::is_disabled

the enabled state from the last expression evaluation

См. определение в файле avfilter.h строка 385

◆ hw_device_ctx

AVBufferRef* AVFilterContext::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.

См. определение в файле avfilter.h строка 394

◆ nb_threads

int AVFilterContext::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.

См. определение в файле avfilter.h строка 401

◆ ready

unsigned AVFilterContext::ready

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

См. определение в файле avfilter.h строка 408

◆ extra_hw_frames

int AVFilterContext::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.

Some hardware filters require all frames that they will use for output to be defined in advance before filtering starts. For such filters, any hardware frame pools used for output must therefore be of fixed size. The extra frames set here are on top of any number that the filter needs internally in order to operate normally.

This field must be set before the graph containing this filter is configured.

См. определение в файле avfilter.h строка 424


Объявления и описания членов структуры находятся в файле: