Miam-Player  0.8.0
A nice music player
AVFilterGraph Struct Reference

#include <avfilter.h>

Public Attributes

const AVClassav_class
 
AVFilterContext ** filters
 
unsigned nb_filters
 
char * scale_sws_opts
 sws options to use for the auto-inserted scale filters More...
 
char * resample_lavr_opts
 libavresample options to use for the auto-inserted resample filters More...
 
int thread_type
 
int nb_threads
 
AVFilterGraphInternalinternal
 
void * opaque
 
avfilter_execute_funcexecute
 
char * aresample_swr_opts
 swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions More...
 
AVFilterLink ** sink_links
 
int sink_links_count
 
unsigned disable_auto_convert
 

Member Data Documentation

char* AVFilterGraph::aresample_swr_opts

swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions

const AVClass* AVFilterGraph::av_class
unsigned AVFilterGraph::disable_auto_convert
avfilter_execute_func* AVFilterGraph::execute

This callback may be set by the caller immediately after allocating the graph and before adding any filters to it, to provide a custom multithreading implementation.

If set, filters with slice threading capability will call this callback to execute multiple jobs in parallel.

If this field is left unset, libavfilter will use its internal implementation, which may or may not be multithreaded depending on the platform and build options.

AVFilterContext** AVFilterGraph::filters
AVFilterGraphInternal* AVFilterGraph::internal

Opaque object for libavfilter internal use.

unsigned AVFilterGraph::nb_filters
int AVFilterGraph::nb_threads

Maximum number of threads used by filters in this graph. May be set by the caller before adding any filters to the filtergraph. Zero (the default) means that the number of threads is determined automatically.

void* AVFilterGraph::opaque

Opaque user data. May be set by the caller to an arbitrary value, e.g. to be used from callbacks like AVFilterGraph::execute. Libavfilter will not touch this field in any way.

char* AVFilterGraph::resample_lavr_opts

libavresample options to use for the auto-inserted resample filters

char* AVFilterGraph::scale_sws_opts

sws options to use for the auto-inserted scale filters

AVFilterLink** AVFilterGraph::sink_links

Private fields

The following fields are for internal use only. Their type, offset, number and semantic can change without notice.

int AVFilterGraph::sink_links_count
int AVFilterGraph::thread_type

Type of multithreading allowed for filters in this graph. A combination of AVFILTER_THREAD_* flags.

May be set by the caller at any point, the setting will apply to all filters initialized after that. The default is allowing everything.

When a filter in this graph is initialized, this field is combined using bit AND with AVFilterContext.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.


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