#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 | |
| int64_t | channel_layout |
| channel layout of current buffer (see libavcore/audioconvert.h) | |
| int64_t | sample_rate |
| samples per second | |
| int | format |
| agreed upon media format | |
| AVFilterFormats * | in_formats |
| Lists of formats supported by the input and output filters respectively. | |
| AVFilterFormats * | out_formats |
| 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. | |
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 567 of file avfilter.h.
| anonymous enum |
stage of the initialization of the link properties (dimensions, etc)
Definition at line 575 of file avfilter.h.
source filter
Definition at line 568 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_default_config_output_link(), avfilter_free(), avfilter_insert_filter(), avfilter_link(), avfilter_poll_frame(), avfilter_request_frame(), config_input(), config_output(), config_output_props(), config_props(), config_props_output(), ff_avfilter_graph_check_validity(), ff_dprintf_link(), poll_frame(), query_formats(), request_frame(), source_config_props(), and source_request_frame().
output pad on the source filter
Definition at line 569 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_free(), avfilter_link(), avfilter_poll_frame(), and avfilter_request_frame().
dest filter
Definition at line 571 of file avfilter.h.
Referenced by avfilter_default_draw_slice(), avfilter_default_end_frame(), avfilter_default_filter_samples(), avfilter_default_start_frame(), avfilter_filter_samples(), avfilter_free(), avfilter_insert_filter(), avfilter_link(), avfilter_null_draw_slice(), avfilter_null_end_frame(), avfilter_null_filter_samples(), avfilter_null_get_audio_buffer(), avfilter_null_get_video_buffer(), avfilter_null_start_frame(), avfilter_start_frame(), config_input(), config_input_main(), config_input_overlay(), config_input_props(), config_props(), draw_slice(), end_frame(), ff_avfilter_graph_check_validity(), ff_dprintf_link(), get_video_buffer(), print_digraph(), query_formats(), start_frame(), and start_frame_overlay().
input pad on the dest filter
Definition at line 572 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_draw_slice(), avfilter_end_frame(), avfilter_filter_samples(), avfilter_free(), avfilter_get_audio_buffer(), avfilter_get_video_buffer(), avfilter_insert_filter(), avfilter_link(), and avfilter_start_frame().
| enum { ... } AVFilterLink::init_state |
stage of the initialization of the link properties (dimensions, etc)
Referenced by avfilter_config_links().
filter media type
Definition at line 581 of file avfilter.h.
Referenced by avfilter_default_config_output_link(), avfilter_default_query_formats(), avfilter_link(), ff_dprintf_link(), main(), and print_digraph().
| int AVFilterLink::w |
agreed upon image width
Definition at line 584 of file avfilter.h.
Referenced by avfilter_default_config_output_link(), avfilter_default_start_frame(), avfilter_start_frame(), config_input(), config_input_overlay(), config_input_props(), config_output(), config_output_props(), config_props(), config_props_output(), draw_slice(), end_frame(), ff_dprintf_link(), print_digraph(), request_frame(), return_frame(), source_config_props(), source_request_frame(), and start_frame().
| int AVFilterLink::h |
agreed upon image height
Definition at line 585 of file avfilter.h.
Referenced by avfilter_default_config_output_link(), avfilter_default_start_frame(), avfilter_start_frame(), config_input(), config_input_overlay(), config_input_props(), config_output(), config_output_props(), config_props(), config_props_output(), draw_slice(), end_frame(), ff_dprintf_link(), print_digraph(), request_frame(), return_frame(), source_config_props(), source_request_frame(), and start_frame().
| int64_t AVFilterLink::channel_layout |
channel layout of current buffer (see libavcore/audioconvert.h)
Definition at line 587 of file avfilter.h.
Referenced by avfilter_default_config_output_link(), config_props(), and ff_dprintf_link().
| int64_t AVFilterLink::sample_rate |
samples per second
Definition at line 588 of file avfilter.h.
Referenced by avfilter_default_config_output_link(), config_props(), and ff_dprintf_link().
agreed upon media format
Definition at line 590 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_draw_slice(), avfilter_link(), config_input(), config_input_main(), config_input_overlay(), config_props(), config_props_output(), end_frame(), ff_dprintf_link(), pick_format(), print_digraph(), and start_frame().
Lists of formats 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 member, above, when chosen.
Definition at line 597 of file avfilter.h.
Referenced by avfilter_free(), avfilter_set_common_formats(), main(), pick_format(), and query_formats().
Definition at line 598 of file avfilter.h.
Referenced by avfilter_free(), avfilter_insert_filter(), avfilter_set_common_formats(), main(), pick_format(), and query_formats().
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 607 of file avfilter.h.
Referenced by avfilter_draw_slice(), avfilter_end_frame(), and avfilter_start_frame().
Definition at line 609 of file avfilter.h.
Referenced by avfilter_default_end_frame(), avfilter_default_filter_samples(), avfilter_draw_slice(), avfilter_filter_samples(), avfilter_start_frame(), draw_slice(), and end_frame().
Definition at line 610 of file avfilter.h.
Referenced by avfilter_default_end_frame(), avfilter_default_filter_samples(), avfilter_default_start_frame(), draw_slice(), end_frame(), and start_frame().
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 619 of file avfilter.h.
Referenced by avfilter_config_links(), avfilter_default_config_output_link(), config_input(), config_output(), config_output_props(), config_props(), end_frame(), print_digraph(), source_config_props(), start_frame(), and start_frame_overlay().
1.5.6