Libav
|
An instance of a filter. More...
#include <avfilter.h>
Data Fields | |
const AVClass * | av_class |
needed for av_log() More... | |
const AVFilter * | filter |
the AVFilter of which this is an instance More... | |
char * | name |
name of this filter instance More... | |
AVFilterPad * | input_pads |
array of input pads More... | |
AVFilterLink ** | inputs |
array of pointers to input links More... | |
unsigned | nb_inputs |
number of input pads More... | |
AVFilterPad * | output_pads |
array of output pads More... | |
AVFilterLink ** | outputs |
array of pointers to output links More... | |
unsigned | nb_outputs |
number of output pads More... | |
void * | priv |
private data for use by the filter More... | |
struct AVFilterGraph * | graph |
filtergraph this filter belongs to More... | |
int | thread_type |
Type of multithreading being allowed/used. More... | |
AVFilterInternal * | internal |
An opaque struct for libavfilter internal use. More... | |
AVBufferRef * | hw_device_ctx |
For filters which will create hardware frames, sets the device the filter should create them in. More... | |
An instance of a filter.
Definition at line 262 of file avfilter.h.
const AVClass* AVFilterContext::av_class |
const AVFilter* AVFilterContext::filter |
the AVFilter of which this is an instance
Definition at line 265 of file avfilter.h.
Referenced by av_buffersrc_parameters_set(), avfilter_free(), avfilter_graph_parse(), avfilter_init_dict(), avfilter_init_str(), ff_dlog_link(), ff_filter_alloc(), filter_child_next(), filter_name(), graph_check_validity(), init(), link_filter(), link_filter_inouts(), main(), print_digraph(), query_formats(), and split_init().
char* AVFilterContext::name |
name of this filter instance
Definition at line 267 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_graph_get_filter(), avfilter_insert_filter(), avfilter_link(), ff_filter_alloc(), graph_check_validity(), init_input_filter(), pick_format(), print_digraph(), and query_formats().
AVFilterPad* AVFilterContext::input_pads |
array of input pads
Definition at line 269 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), avfilter_link(), configure_input_filter(), ff_filter_alloc(), ff_insert_inpad(), free_link(), graph_check_validity(), init_input_filter(), join_uninit(), and uninit().
AVFilterLink** AVFilterContext::inputs |
array of pointers to input links
Definition at line 270 of file avfilter.h.
Referenced by alloc_picture(), av_buffersink_get_frame(), av_buffersink_get_samples(), avfilter_config_links(), avfilter_free(), avfilter_insert_filter(), avfilter_link(), channelmap_query_formats(), compand_delay(), compand_nodelay(), config_input(), config_input_overlay(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), configure_filtergraph(), cudaupload_config_output(), cudaupload_query_formats(), dtext_prepare_text(), ff_default_query_formats(), ff_filter_alloc(), ff_insert_inpad(), ff_poll_frame(), ff_request_frame(), filter_frame(), free_link(), graph_check_validity(), graph_insert_fifos(), guess_map_any(), guess_map_matching(), hwdownload_config_output(), hwdownload_query_formats(), hwupload_config_output(), hwupload_query_formats(), init_out_pool(), init_out_session(), init_output_stream(), init_output_stream_encode(), init_processing_chain(), join_config_output(), join_query_formats(), join_request_frame(), main(), nppscale_config_props(), pick_formats(), poll_filter(), poll_frame(), process_frame(), qsvdeint_config_props(), qsvdeint_request_frame(), qsvscale_config_props(), query_formats(), queue_picture(), read_from_fifo(), request_frame(), request_samples(), return_audio_frame(), scale_vaapi_query_formats(), select_frame(), submit_frame(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), video_open(), and video_thread().
unsigned AVFilterContext::nb_inputs |
number of input pads
Definition at line 271 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_link(), ff_filter_alloc(), ff_insert_inpad(), ff_poll_frame(), filter_frame(), graph_check_validity(), graph_insert_fifos(), guess_map_any(), guess_map_matching(), join_config_output(), join_query_formats(), join_request_frame(), join_uninit(), link_filter_inouts(), main(), pick_formats(), query_formats(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), and uninit().
AVFilterPad* AVFilterContext::output_pads |
array of output pads
Definition at line 273 of file avfilter.h.
Referenced by avfilter_free(), avfilter_link(), configure_output_filter(), ff_filter_alloc(), ff_insert_outpad(), free_link(), graph_check_validity(), init_complex_filtergraph(), and split_uninit().
AVFilterLink** AVFilterContext::outputs |
array of pointers to output links
Definition at line 274 of file avfilter.h.
Referenced by av_buffersrc_add_frame(), avfilter_free(), avfilter_insert_filter(), avfilter_link(), channelmap_filter_frame(), channelmap_query_formats(), compand_delay(), compand_nodelay(), cudaupload_filter_frame(), cudaupload_query_formats(), default_filter_frame(), ff_default_query_formats(), ff_filter_alloc(), ff_insert_outpad(), ff_null_get_audio_buffer(), ff_null_get_video_buffer(), filter_frame(), free_link(), get_video_buffer(), graph_check_validity(), hwdownload_filter_frame(), hwdownload_query_formats(), hwupload_filter_frame(), hwupload_query_formats(), init_out_session(), init_processing_chain(), init_scale_session(), join_query_formats(), main(), nppscale_filter_frame(), output_frame(), pick_formats(), print_digraph(), process_frame(), qsvscale_filter_frame(), query_formats(), request_frame(), return_audio_frame(), return_frame(), scale_vaapi_filter_frame(), scale_vaapi_query_formats(), shuffleplanes_filter_frame(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), and swap_samplerates_on_filter().
unsigned AVFilterContext::nb_outputs |
number of output pads
Definition at line 275 of file avfilter.h.
Referenced by avfilter_free(), avfilter_link(), ff_filter_alloc(), ff_insert_outpad(), filter_frame(), graph_check_validity(), graph_config_links(), link_filter_inouts(), main(), pick_formats(), print_digraph(), query_formats(), split_uninit(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), and swap_samplerates_on_filter().
void* AVFilterContext::priv |
private data for use by the filter
Definition at line 277 of file avfilter.h.
Referenced by add_to_queue(), av_buffersink_get_frame(), av_buffersink_get_samples(), av_buffersrc_add_frame(), av_buffersrc_parameters_set(), avfilter_free(), avfilter_init_dict(), blend_frame(), channelmap_config_input(), channelmap_filter_frame(), channelmap_init(), channelmap_query_formats(), color_config_props(), color_init(), color_request_frame(), color_uninit(), compand_delay(), compand_drain(), compand_nodelay(), config_input(), config_input_main(), config_input_overlay(), config_input_props(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), cudaupload_config_output(), cudaupload_filter_frame(), cudaupload_init(), cudaupload_uninit(), dilate_end_frame_filter(), dilate_init(), dilate_uninit(), draw_text(), dtext_prepare_text(), erode_end_frame_filter(), ff_filter_alloc(), filter(), filter_child_next(), filter_frame(), filter_frame_left(), filter_frame_main(), filter_frame_overlay(), filter_frame_right(), filter_init(), filter_slice(), filter_slice_chroma(), filter_slice_luma(), frame_alloc(), framepack_uninit(), frei0r_init(), get_aspect_ratio(), get_video_buffer(), handle_overlay_eof(), handle_trimming(), horizontal_frame_pack(), hwdownload_config_input(), hwdownload_config_output(), hwdownload_filter_frame(), hwdownload_uninit(), hwupload_config_output(), hwupload_filter_frame(), hwupload_query_formats(), hwupload_uninit(), init(), init_audio(), init_common(), init_out_pool(), init_out_session(), init_processing_chain(), init_scale_session(), init_video(), join_config_output(), join_init(), join_query_formats(), join_request_frame(), join_uninit(), load_glyph(), load_sym(), movie_get_frame(), movie_init(), nppscale_config_props(), nppscale_filter_frame(), nppscale_init(), nppscale_resize(), nppscale_scale(), nppscale_uninit(), output_frame(), parse_font(), parse_maps(), poll_frame(), process_frame(), process_unnamed_options(), qsvdeint_config_props(), qsvdeint_request_frame(), qsvdeint_uninit(), qsvscale_config_props(), qsvscale_filter_frame(), qsvscale_init(), qsvscale_uninit(), query_formats(), read_from_fifo(), request_frame(), request_samples(), return_audio_frame(), return_frame(), scale_vaapi_config_input(), scale_vaapi_config_output(), scale_vaapi_filter_frame(), scale_vaapi_init(), scale_vaapi_uninit(), select_frame(), set_param(), set_params(), shuffleplanes_config_input(), shuffleplanes_filter_frame(), smooth_end_frame_filter(), smooth_init(), source_config_props(), source_init(), source_request_frame(), spatial_frame_pack(), split_init(), submit_frame(), uninit(), and vertical_frame_pack().
struct AVFilterGraph* AVFilterContext::graph |
filtergraph this filter belongs to
Definition at line 279 of file avfilter.h.
Referenced by avfilter_free(), avfilter_graph_add_filter(), avfilter_graph_alloc_filter(), avfilter_init_dict(), filter(), filter_frame(), and thread_execute().
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 initialzed, libavfilter sets this field to the threading type that is actually used (0 for no multithreading).
Definition at line 297 of file avfilter.h.
Referenced by avfilter_init_dict().
AVFilterInternal* AVFilterContext::internal |
An opaque struct for libavfilter internal use.
Definition at line 302 of file avfilter.h.
Referenced by avfilter_free(), avfilter_init_dict(), ff_filter_alloc(), filter(), and filter_frame().
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.
Definition at line 311 of file avfilter.h.
Referenced by avfilter_free(), configure_filtergraph(), and hwupload_query_formats().