FFmpeg
|
#include <avfilter.h>
Data Fields | |
const AVClass * | av_class |
AVFilterContext ** | filters |
unsigned | nb_filters |
char * | scale_sws_opts |
sws options to use for the auto-inserted scale filters | |
char * | resample_lavr_opts |
libavresample options to use for the auto-inserted resample filters | |
int | thread_type |
Type of multithreading allowed for filters in this graph. | |
int | nb_threads |
Maximum number of threads used by filters in this graph. | |
AVFilterGraphInternal * | internal |
Opaque object for libavfilter internal use. | |
void * | opaque |
Opaque user data. | |
avfilter_execute_func * | 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. | |
char * | aresample_swr_opts |
swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions | |
AVFilterLink ** | sink_links |
Private fields. | |
int | sink_links_count |
unsigned | disable_auto_convert |
Definition at line 1167 of file avfilter.h.
const AVClass* AVFilterGraph::av_class |
Definition at line 1168 of file avfilter.h.
Referenced by avfilter_graph_alloc().
AVFilterContext** AVFilterGraph::filters |
Definition at line 1173 of file avfilter.h.
Referenced by avfilter_graph_alloc_filter(), avfilter_graph_dump_to_buf(), avfilter_graph_get_filter(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_graph_parse_ptr(), avfilter_graph_queue_command(), avfilter_graph_send_command(), ff_avfilter_graph_config_pointers(), ff_filter_graph_remove_filter(), graph_check_validity(), graph_config_links(), graph_insert_fifos(), main(), pick_formats(), print_digraph(), query_formats(), reduce_formats(), swap_channel_layouts(), swap_sample_fmts(), and swap_samplerates().
unsigned AVFilterGraph::nb_filters |
Definition at line 1175 of file avfilter.h.
Referenced by avfilter_graph_alloc_filter(), avfilter_graph_dump_to_buf(), avfilter_graph_get_filter(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_graph_parse_ptr(), avfilter_graph_queue_command(), avfilter_graph_send_command(), ff_avfilter_graph_config_pointers(), ff_filter_graph_remove_filter(), graph_check_validity(), graph_config_links(), graph_insert_fifos(), main(), pick_formats(), print_digraph(), query_formats(), reduce_formats(), swap_channel_layouts(), swap_sample_fmts(), and swap_samplerates().
char* AVFilterGraph::scale_sws_opts |
sws options to use for the auto-inserted scale filters
Definition at line 1178 of file avfilter.h.
Referenced by configure_filtergraph(), create_filter(), parse_sws_flags(), and query_formats().
char* AVFilterGraph::resample_lavr_opts |
libavresample options to use for the auto-inserted resample filters
Definition at line 1179 of file avfilter.h.
Referenced by configure_filtergraph().
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.
Definition at line 1196 of file avfilter.h.
Referenced by avfilter_graph_alloc_filter(), avfilter_init_dict(), and ff_graph_thread_init().
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.
Definition at line 1203 of file avfilter.h.
Referenced by apply_lut(), blend_frame(), config_input(), config_props(), ff_graph_thread_init(), filter(), and filter_frame().
AVFilterGraphInternal* AVFilterGraph::internal |
Opaque object for libavfilter internal use.
Definition at line 1208 of file avfilter.h.
Referenced by avfilter_graph_alloc(), avfilter_graph_alloc_filter(), avfilter_init_dict(), ff_graph_thread_free(), ff_graph_thread_init(), and thread_execute().
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.
Definition at line 1215 of file avfilter.h.
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.
Definition at line 1229 of file avfilter.h.
Referenced by avfilter_graph_alloc_filter().
char* AVFilterGraph::aresample_swr_opts |
swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions
Definition at line 1231 of file avfilter.h.
Referenced by query_formats().
AVFilterLink** AVFilterGraph::sink_links |
Private fields.
The following fields are for internal use only. Their type, offset, number and semantic can change without notice.
Definition at line 1240 of file avfilter.h.
Referenced by avfilter_graph_request_oldest(), ff_avfilter_graph_config_pointers(), heap_bubble_down(), and heap_bubble_up().
int AVFilterGraph::sink_links_count |
Definition at line 1241 of file avfilter.h.
Referenced by avfilter_graph_request_oldest(), ff_avfilter_graph_config_pointers(), and heap_bubble_down().
unsigned AVFilterGraph::disable_auto_convert |
Definition at line 1243 of file avfilter.h.
Referenced by avfilter_graph_set_auto_convert().