#include <avfilter.h>
Public Types | |
enum | { AVLINK_UNINIT = 0, AVLINK_STARTINIT, AVLINK_INIT } |
stage of the initialization of the link properties (dimensions, etc) More... | |
Data Fields | |
AVFilterContext * | src |
source filter | |
AVFilterPad * | srcpad |
output pad on the source filter | |
AVFilterContext * | dst |
dest filter | |
AVFilterPad * | dstpad |
input pad on the dest filter | |
enum AVFilterLink:: { ... } | init_state |
stage of the initialization of the link properties (dimensions, etc) | |
enum AVMediaType | type |
filter media type | |
int | w |
agreed upon image width | |
int | h |
agreed upon image height | |
AVRational | sample_aspect_ratio |
agreed upon sample aspect ratio | |
uint64_t | channel_layout |
channel layout of current buffer (see libavutil/audioconvert.h) | |
int64_t | sample_rate |
samples per second | |
int | planar |
agreed upon packing mode of audio buffers. true if planar. | |
int | format |
agreed upon media format | |
AVFilterFormats * | in_formats |
Lists of formats and channel layouts supported by the input and output filters respectively. | |
AVFilterFormats * | out_formats |
AVFilterFormats * | in_packing |
AVFilterFormats * | out_packing |
AVFilterBufferRef * | src_buf |
The buffer reference currently being sent across the link by the source filter. | |
AVFilterBufferRef * | cur_buf |
AVFilterBufferRef * | out_buf |
AVRational | time_base |
Define the time base used by the PTS of the frames/samples which will pass through this link. | |
AVFilterFormats * | in_samplerates |
Lists of channel layouts and sample rates used for automatic negotiation. | |
AVFilterFormats * | out_samplerates |
struct AVFilterChannelLayouts * | in_channel_layouts |
struct AVFilterChannelLayouts * | out_channel_layouts |
struct AVFilterPool * | pool |
struct AVFilterGraph * | graph |
Graph the filter belongs to. | |
int64_t | current_pts |
Current timestamp of the link, as defined by the most recent frame(s), in AV_TIME_BASE units. | |
int | age_index |
Index in the age array. |
This contains pointers to the source and destination filters between which this link exists, and the indexes of the pads involved. In addition, this link also contains the parameters which have been negotiated and agreed upon between the filter, such as image dimensions, format, etc.
Definition at line 651 of file avfilter.h.
anonymous enum |
stage of the initialization of the link properties (dimensions, etc)
Definition at line 659 of file avfilter.h.
Index in the age array.
Definition at line 752 of file avfilter.h.
Referenced by avfilter_graph_request_oldest(), ff_avfilter_graph_config_pointers(), ff_avfilter_graph_update_heap(), ff_update_link_current_pts(), heap_bubble_down(), and heap_bubble_up().
uint64_t AVFilterLink::channel_layout |
channel layout of current buffer (see libavutil/audioconvert.h)
Definition at line 672 of file avfilter.h.
Referenced by av_buffersink_read_samples(), config_output(), config_props(), ff_default_get_audio_buffer(), ff_dlog_link(), filter_samples(), init_filters(), lavfi_read_header(), pick_format(), print_digraph(), print_link_prop(), and transcode_init().
Definition at line 708 of file avfilter.h.
Referenced by avfilter_draw_slice(), avfilter_start_frame(), default_end_frame(), draw_slice(), end_frame(), ff_default_filter_samples(), ff_filter_samples(), and scale_slice().
int64_t AVFilterLink::current_pts |
Current timestamp of the link, as defined by the most recent frame(s), in AV_TIME_BASE units.
Definition at line 747 of file avfilter.h.
Referenced by avfilter_config_links(), ff_update_link_current_pts(), heap_bubble_down(), and heap_bubble_up().
dest filter
Definition at line 655 of file avfilter.h.
Referenced by avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_insert_filter(), avfilter_link(), avfilter_start_frame(), config_inprops(), config_input(), config_input_main(), config_input_overlay(), config_input_props(), config_output(), config_props(), config_props_input(), default_draw_slice(), default_end_frame(), default_start_frame(), draw_send_bar_slice(), draw_slice(), end_frame(), ff_avfilter_graph_check_validity(), ff_default_filter_samples(), ff_dlog_link(), ff_filter_samples(), ff_null_draw_slice(), ff_null_end_frame(), ff_null_filter_samples(), ff_null_get_audio_buffer(), ff_null_get_video_buffer(), ff_null_start_frame(), ff_null_start_frame_keep_ref(), filter_samples(), get_video_buffer(), insert_conv_filter(), pick_format(), print_digraph(), query_formats(), scale_slice(), select_frame(), start_frame(), start_frame_overlay(), and transcode_init().
input pad on the dest filter
Definition at line 656 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_draw_slice(), avfilter_end_frame(), avfilter_free(), avfilter_get_video_buffer(), avfilter_graph_dump_to_buf(), avfilter_insert_filter(), avfilter_link(), avfilter_start_frame(), ff_filter_samples(), ff_get_audio_buffer(), and transcode_init().
agreed upon media format
Definition at line 682 of file avfilter.h.
Referenced by av_buffersink_read_samples(), avfilter_draw_slice(), avfilter_link(), avfilter_start_frame(), color_config_props(), config_inprops(), config_input(), config_input_main(), config_input_overlay(), config_out_props(), config_output(), config_props(), config_props_output(), decode_video(), end_frame(), ff_default_get_audio_buffer(), ff_default_get_video_buffer(), ff_dlog_link(), filter_samples(), init_filters(), lavfi_read_header(), pick_format(), pick_formats(), print_digraph(), print_link_prop(), return_frame(), start_frame(), and transcode_init().
struct AVFilterGraph* AVFilterLink::graph [read] |
Graph the filter belongs to.
Definition at line 741 of file avfilter.h.
Referenced by ff_avfilter_graph_config_pointers(), and ff_update_link_current_pts().
int AVFilterLink::h |
agreed upon image height
Definition at line 669 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_start_frame(), color_config_props(), config_inprops(), config_input(), config_input_overlay(), config_input_props(), config_out_props(), config_outprops(), config_output(), config_output_props(), config_props(), config_props_input(), config_props_output(), decode_video(), default_start_frame(), draw_blank_frame(), draw_slice(), end_frame(), ff_dlog_link(), lavfi_read_header(), print_digraph(), print_link_prop(), request_frame(), return_frame(), source_config_props(), source_request_frame(), start_frame(), and transcode_init().
struct AVFilterChannelLayouts* AVFilterLink::in_channel_layouts [read] |
Definition at line 733 of file avfilter.h.
Referenced by avfilter_free(), insert_conv_filter(), pick_format(), query_formats(), and swap_channel_layouts_on_filter().
Lists of formats and channel layouts supported by the input and output filters respectively.
These lists are used for negotiating the format to actually be used, which will be loaded into the format and channel_layout members, above, when chosen.
Definition at line 691 of file avfilter.h.
Referenced by avfilter_free(), insert_conv_filter(), pick_format(), pick_formats(), query_formats(), and swap_sample_fmts_on_filter().
Definition at line 695 of file avfilter.h.
Lists of channel layouts and sample rates used for automatic negotiation.
Definition at line 731 of file avfilter.h.
Referenced by avfilter_free(), pick_format(), query_formats(), and swap_samplerates_on_filter().
enum { ... } AVFilterLink::init_state |
stage of the initialization of the link properties (dimensions, etc)
Referenced by avfilter_config_links().
Definition at line 709 of file avfilter.h.
Referenced by default_end_frame(), default_start_frame(), draw_blank_frame(), draw_send_bar_slice(), draw_slice(), end_frame(), end_last_frame(), ff_default_filter_samples(), scale_slice(), and start_frame().
struct AVFilterChannelLayouts* AVFilterLink::out_channel_layouts [read] |
Definition at line 734 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), insert_conv_filter(), pick_format(), query_formats(), and swap_channel_layouts_on_filter().
Definition at line 692 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), insert_conv_filter(), pick_format(), query_formats(), and swap_sample_fmts_on_filter().
Definition at line 696 of file avfilter.h.
Definition at line 732 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), pick_format(), query_formats(), and swap_samplerates_on_filter().
agreed upon packing mode of audio buffers. true if planar.
Definition at line 679 of file avfilter.h.
struct AVFilterPool* AVFilterLink::pool [read] |
agreed upon sample aspect ratio
Definition at line 670 of file avfilter.h.
Referenced by avfilter_config_links(), config_input(), config_output(), config_props(), config_props_output(), lavfi_read_header(), print_link_prop(), source_config_props(), and transcode_init().
int64_t AVFilterLink::sample_rate |
samples per second
Definition at line 674 of file avfilter.h.
Referenced by av_buffersink_read_samples(), avfilter_config_links(), config_input(), config_output(), config_props(), ff_dlog_link(), filter_samples(), init_filters(), lavfi_read_header(), pick_format(), print_digraph(), print_link_prop(), read_from_fifo(), request_frame(), send_out(), and transcode_init().
source filter
Definition at line 652 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_insert_filter(), avfilter_link(), avfilter_poll_frame(), avfilter_request_frame(), color_config_props(), color_request_frame(), config_input(), config_out_props(), config_outprops(), config_output(), config_output_props(), config_props(), config_props_output(), ff_avfilter_graph_check_validity(), ff_dlog_link(), insert_conv_filter(), output_frame(), pick_format(), poll_frame(), query_formats(), request_frame(), source_config_props(), source_request_frame(), and transcode_init().
The buffer reference currently being sent across the link by the source filter.
This is used internally by the filter system to allow automatic copying of buffers which do not have sufficient permissions for the destination. This should not be accessed directly by the filters.
Definition at line 706 of file avfilter.h.
Referenced by avfilter_draw_slice(), avfilter_end_frame(), and avfilter_start_frame().
output pad on the source filter
Definition at line 653 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_graph_dump_to_buf(), avfilter_link(), avfilter_poll_frame(), avfilter_request_frame(), and transcode_init().
Define the time base used by the PTS of the frames/samples which will pass through this link.
During the configuration stage, each filter is supposed to change only the output timebase, while the timebase of the input link is assumed to be an unchangeable property.
Definition at line 718 of file avfilter.h.
Referenced by av_buffersink_read_samples(), avfilter_config_links(), avfilter_start_frame(), color_config_props(), config_input(), config_output(), config_output_props(), config_props(), draw_text(), end_frame(), filter_samples(), lavfi_read_header(), lavfi_read_packet(), main(), poll_filters(), print_digraph(), read_from_fifo(), request_frame(), select_frame(), send_out(), source_config_props(), start_frame(), start_frame_overlay(), vf_next_put_image(), and video_thread().
filter media type
Definition at line 665 of file avfilter.h.
Referenced by av_buffersrc_add_frame(), av_buffersrc_add_ref(), avfilter_config_links(), avfilter_link(), config_props(), copy_buffer_ref(), ff_default_query_formats(), ff_dlog_link(), insert_conv_filter(), lavfi_read_header(), main(), pick_format(), poll_filters(), print_digraph(), print_link_prop(), query_formats(), request_frame(), set_common_formats(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), and swap_samplerates_on_filter().
int AVFilterLink::w |
agreed upon image width
Definition at line 668 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_start_frame(), color_config_props(), config_inprops(), config_input(), config_input_overlay(), config_input_props(), config_out_props(), config_outprops(), config_output(), config_output_props(), config_props(), config_props_input(), config_props_output(), decode_video(), default_start_frame(), draw_blank_frame(), draw_slice(), end_frame(), ff_dlog_link(), lavfi_read_header(), print_digraph(), print_link_prop(), return_frame(), source_config_props(), source_request_frame(), start_frame(), and transcode_init().