FFmpeg
|
An instance of a filter. More...
#include <avfilter.h>
Data Fields | |
const AVClass * | av_class |
needed for av_log() and filters common options | |
const AVFilter * | filter |
the AVFilter of which this is an instance | |
char * | name |
name of this filter instance | |
AVFilterPad * | input_pads |
array of input pads | |
AVFilterLink ** | inputs |
array of pointers to input links | |
unsigned | nb_inputs |
number of input pads | |
AVFilterPad * | output_pads |
array of output pads | |
AVFilterLink ** | outputs |
array of pointers to output links | |
unsigned | nb_outputs |
number of output pads | |
void * | priv |
private data for use by the filter | |
struct AVFilterGraph * | graph |
filtergraph this filter belongs to | |
int | thread_type |
Type of multithreading being allowed/used. | |
AVFilterInternal * | internal |
An opaque struct for libavfilter internal use. | |
struct AVFilterCommand * | command_queue |
char * | enable_str |
enable expression string | |
void * | enable |
parsed expression (AVExpr*) | |
double * | var_values |
variable values for the enable expression | |
int | is_disabled |
the enabled state from the last expression evaluation | |
An instance of a filter.
Definition at line 626 of file avfilter.h.
const AVClass* AVFilterContext::av_class |
needed for av_log() and filters common options
Definition at line 627 of file avfilter.h.
Referenced by ff_filter_alloc().
const AVFilter* AVFilterContext::filter |
the AVFilter of which this is an instance
Definition at line 629 of file avfilter.h.
Referenced by av_buffersink_get_frame_rate(), av_buffersink_poll_frame(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_graph_parse(), avfilter_graph_queue_command(), avfilter_graph_send_command(), avfilter_init_dict(), avfilter_init_str(), avfilter_process_command(), default_filter_name(), ff_filter_alloc(), ff_filter_frame(), ff_filter_frame_framed(), ff_tlog_link(), filter_child_next(), filter_frame(), filter_query_formats(), graph_check_validity(), init(), link_filter(), link_filter_inouts(), main(), movie_common_init(), print_digraph(), query_formats(), set_enable_expr(), and split_init().
char* AVFilterContext::name |
name of this filter instance
Definition at line 631 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_graph_get_filter(), avfilter_graph_queue_command(), avfilter_graph_request_oldest(), avfilter_graph_send_command(), avfilter_insert_filter(), avfilter_link(), avfilter_process_command(), default_filter_name(), ff_filter_alloc(), filter_frame(), filter_query_formats(), graph_check_validity(), init_input_filter(), pick_format(), print_digraph(), and query_formats().
AVFilterPad* AVFilterContext::input_pads |
array of input pads
Definition at line 633 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), avfilter_link(), close_input(), config_output(), configure_input_filter(), decimate_uninit(), ff_filter_alloc(), ff_insert_inpad(), fieldmatch_uninit(), free_link(), graph_check_validity(), init_input_filter(), join_uninit(), process_frame(), and uninit().
AVFilterLink** AVFilterContext::inputs |
array of pointers to input links
Definition at line 634 of file avfilter.h.
Referenced by apply_unsharp_c(), av_buffersink_get_frame_flags(), av_buffersink_get_frame_rate(), av_buffersink_get_samples(), av_buffersink_poll_frame(), av_buffersink_set_frame_size(), avfilter_config_links(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_insert_filter(), avfilter_link(), blend_frame(), channelmap_query_formats(), check_black_end(), command(), config_input(), config_input_overlay(), config_input_ref(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), default_query_formats_common(), do_blend(), draw_blank_frame(), draw_text(), ff_avfilter_graph_config_pointers(), ff_dualinput_request_frame(), ff_filter_alloc(), ff_insert_inpad(), ff_opencl_apply_unsharp(), ff_opencl_deshake_process_inout_buf(), ff_opencl_unsharp_process_inout_buf(), ff_poll_frame(), ff_request_frame(), filter_frame(), filter_query_formats(), formats_declared(), free_link(), get_current_tile_pos(), graph_check_validity(), graph_insert_fifos(), guess_map_any(), guess_map_matching(), init_filters(), join_config_output(), join_query_formats(), join_request_frame(), lavfi_read_header(), lavfi_read_packet(), main(), pick_formats(), push_frame(), query_formats(), read_from_fifo(), reap_filters(), reduce_formats_on_filter(), request_frame(), request_inlink(), request_samples(), return_audio_frame(), select_frame(), send_out(), send_silence(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), transcode_init(), try_filter_frame(), and video_thread().
unsigned AVFilterContext::nb_inputs |
number of input pads
Definition at line 638 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_link(), config_output(), decimate_uninit(), ff_avfilter_graph_config_pointers(), ff_filter_alloc(), ff_insert_inpad(), ff_poll_frame(), fieldmatch_uninit(), filter_frame(), filter_query_formats(), flush_segment(), formats_declared(), graph_check_validity(), graph_insert_fifos(), guess_map_any(), guess_map_matching(), init(), join_config_output(), join_query_formats(), join_request_frame(), join_uninit(), link_filter_inouts(), pick_formats(), push_frame(), query_formats(), reduce_formats_on_filter(), request_frame(), 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 640 of file avfilter.h.
Referenced by av_buffersrc_add_frame_internal(), avfilter_free(), avfilter_link(), config_output(), configure_output_filter(), ff_filter_alloc(), ff_insert_outpad(), free_link(), graph_check_validity(), init_output_filter(), lavfi_read_header(), movie_uninit(), open_output_file(), split_uninit(), and uninit().
AVFilterLink** AVFilterContext::outputs |
array of pointers to output links
Definition at line 641 of file avfilter.h.
Referenced by apply_lut(), av_buffersrc_add_frame_internal(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_insert_filter(), avfilter_link(), blend_frame(), channelmap_filter_frame(), channelmap_query_formats(), config_output(), config_props(), create_weave_frame(), default_filter_frame(), default_query_formats_common(), end_last_frame(), ff_avfilter_graph_config_pointers(), ff_filter_alloc(), ff_insert_outpad(), ff_null_get_audio_buffer(), ff_null_get_video_buffer(), ff_vf_next_put_image(), filter_frame(), filter_query_formats(), formats_declared(), free_link(), geq_filter_frame(), get_audio_buffer(), get_video_buffer(), graph_check_validity(), join_query_formats(), main(), movie_push_frame(), movie_query_formats(), pick_formats(), plot_spectrum_column(), pp_filter_frame(), print_digraph(), push_frame(), query_formats(), reduce_formats_on_filter(), request_frame(), return_audio_frame(), return_frame(), send_out(), send_silence(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), and try_filter_frame().
unsigned AVFilterContext::nb_outputs |
number of output pads
Definition at line 645 of file avfilter.h.
Referenced by avfilter_free(), avfilter_link(), config_output(), ff_avfilter_graph_config_pointers(), ff_filter_alloc(), ff_insert_outpad(), filter_frame(), filter_query_formats(), find_next_delta_ts(), flush_segment(), formats_declared(), get_audio_buffer(), get_video_buffer(), graph_check_validity(), graph_config_links(), init(), link_filter_inouts(), movie_query_formats(), movie_uninit(), pick_formats(), process_frame(), push_frame(), query_formats(), reduce_formats_on_filter(), request_frame(), rewind_file(), split_uninit(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), and uninit().
void* AVFilterContext::priv |
private data for use by the filter
Definition at line 647 of file avfilter.h.
Referenced by add_buffer_ref(), add_to_queue(), apply_lut(), apply_unsharp_c(), asink_init(), asink_query_formats(), av_buffersink_get_frame_flags(), av_buffersink_get_samples(), av_buffersink_poll_frame(), av_buffersrc_add_frame_internal(), av_buffersrc_get_nb_failed_requests(), avfilter_free(), avfilter_init_dict(), blend_frame(), blend_image(), calc_coefficients(), channelmap_config_input(), channelmap_filter_frame(), channelmap_init(), channelmap_query_formats(), check_black_end(), checkmm(), close_input(), command(), common_init(), config_audio_input(), config_audio_output(), config_inprops(), config_input(), config_input_main(), config_input_overlay(), config_input_props(), config_input_ref(), config_out_props(), config_outprops(), config_output(), config_output_props(), config_props(), config_props_input(), config_props_output(), config_video_output(), create_weave_frame(), decimate_frame(), decimate_init(), decimate_uninit(), diff_planes(), dilate_end_frame_filter(), dilate_init(), dilate_uninit(), do_blend(), do_psnr(), double_threshold(), draw_blank_frame(), draw_frame(), draw_mandelbrot(), draw_text(), end_last_frame(), erode_end_frame_filter(), eval_expr(), evolve(), expand_text(), ff_filter_alloc(), ff_opencl_apply_unsharp(), ff_opencl_deshake_init(), ff_opencl_deshake_process_inout_buf(), ff_opencl_deshake_uninit(), ff_opencl_transform(), ff_opencl_unsharp_init(), ff_opencl_unsharp_process_inout_buf(), ff_opencl_unsharp_uninit(), fieldmatch_init(), fieldmatch_uninit(), fill_from_cache(), fill_picture(), fill_picture_monoblack(), fill_picture_rgb(), filter(), filter_child_next(), filter_frame(), filter_frame_bottom(), filter_frame_main(), filter_frame_over(), filter_frame_ref(), filter_frame_top(), filter_init(), filter_plane(), filter_slice(), filter_slice_alpha(), filter_slice_chroma(), filter_slice_luma(), find_next_delta_ts(), flush_segment(), frei0r_init(), func_eval_expr(), func_frame_num(), func_metadata(), func_pict_type(), func_pts(), generate_mask(), geq_config_props(), geq_filter_frame(), geq_init(), geq_query_formats(), geq_uninit(), get_best_frame(), get_current_tile_pos(), get_video_buffer(), handle_trimming(), init(), init_audio(), init_dict(), init_pattern_from_file(), init_pattern_from_string(), init_video(), join_config_output(), join_init(), join_query_formats(), join_request_frame(), join_uninit(), load_font(), load_font_file(), load_glyph(), load_sym(), load_textfile(), movie_common_init(), movie_config_output_props(), movie_push_frame(), movie_query_formats(), movie_uninit(), non_maximum_suppression(), output_frame(), parse_3dl(), parse_cube(), parse_dat(), parse_m3d(), parse_maps(), parse_psfile(), plot_spectrum_column(), poll_frame(), pp_config_props(), pp_filter_frame(), pp_init(), pp_process_command(), pp_uninit(), print_stats(), process_command(), process_frame(), process_options(), push_frame(), push_samples(), query_formats(), read_from_fifo(), recv_msg(), request_frame(), request_inlink(), request_samples(), return_audio_frame(), return_frame(), rewind_file(), scale_slice(), select_frame(), send_next(), send_out(), send_silence(), set_enable_expr(), set_param(), set_params(), smooth_end_frame_filter(), smooth_init(), sobel(), source_config_props(), source_init(), source_request_frame(), split_init(), super2xsai(), uninit(), vsink_init(), vsink_query_formats(), and yae_set_tempo().
struct AVFilterGraph* AVFilterContext::graph |
filtergraph this filter belongs to
Definition at line 649 of file avfilter.h.
Referenced by avfilter_free(), avfilter_graph_alloc_filter(), avfilter_init_dict(), blend_frame(), 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 667 of file avfilter.h.
Referenced by avfilter_init_dict().
AVFilterInternal* AVFilterContext::internal |
An opaque struct for libavfilter internal use.
Definition at line 672 of file avfilter.h.
Referenced by avfilter_free(), avfilter_init_dict(), blend_frame(), ff_filter_alloc(), filter(), and filter_frame().
struct AVFilterCommand* AVFilterContext::command_queue |
Definition at line 674 of file avfilter.h.
Referenced by avfilter_free(), avfilter_graph_queue_command(), ff_command_queue_pop(), and ff_filter_frame_framed().
char* AVFilterContext::enable_str |
enable expression string
Definition at line 676 of file avfilter.h.
Referenced by ff_filter_frame_framed(), process_options(), and set_enable_expr().
void* AVFilterContext::enable |
parsed expression (AVExpr*)
Definition at line 677 of file avfilter.h.
Referenced by avfilter_free(), ff_filter_frame_framed(), and set_enable_expr().
double* AVFilterContext::var_values |
variable values for the enable expression
Definition at line 678 of file avfilter.h.
Referenced by avfilter_free(), ff_filter_frame_framed(), and set_enable_expr().
int AVFilterContext::is_disabled |
the enabled state from the last expression evaluation
Definition at line 679 of file avfilter.h.
Referenced by ff_filter_frame_framed(), filter_frame(), request_frame(), and try_filter_frame().