FFmpeg
|
A filter pad used for either input or output. More...
#include <internal.h>
Data Fields | |
const char * | name |
Pad name. More... | |
enum AVMediaType | type |
AVFilterPad type. More... | |
int | flags |
A combination of AVFILTERPAD_FLAG_* flags. More... | |
union { | |
AVFrame *(* video )(AVFilterLink *link, int w, int h) | |
AVFrame *(* audio )(AVFilterLink *link, int nb_samples) | |
} | get_buffer |
Callback functions to get a video/audio buffers. More... | |
int(* | filter_frame )(AVFilterLink *link, AVFrame *frame) |
Filtering callback. More... | |
int(* | request_frame )(AVFilterLink *link) |
Frame request callback. More... | |
int(* | config_props )(AVFilterLink *link) |
Link configuration callback. More... | |
A filter pad used for either input or output.
Definition at line 49 of file internal.h.
const char* AVFilterPad::name |
Pad name.
The name is unique among inputs and among outputs, but an input may have the same name as an output. This may be NULL if this pad has no need to ever be referenced by name.
Definition at line 55 of file internal.h.
Referenced by convert_from_tensorflow.Operand::__str__(), append_pad(), avfilter_graph_dump_to_buf(), avfilter_graph_parse(), avfilter_graph_request_oldest(), avfilter_pad_get_name(), config_props_output(), decimate_init(), fieldmatch_init(), graph_check_validity(), init(), init_filter(), init_filters(), join_init(), movie_common_init(), parse_definition(), split_init(), and xfade_opencl_config_output().
enum AVMediaType AVFilterPad::type |
AVFilterPad type.
Definition at line 60 of file internal.h.
Referenced by avfilter_link(), avfilter_pad_get_type(), graph_check_validity(), init(), join_init(), movie_common_init(), parse_definition(), and split_init().
int AVFilterPad::flags |
A combination of AVFILTERPAD_FLAG_* flags.
Definition at line 78 of file internal.h.
Referenced by append_pad(), ff_append_inpad_free_name(), ff_append_outpad_free_name(), ff_filter_frame_framed(), and init().
Definition at line 90 of file internal.h.
Referenced by init().
AVFrame*(* AVFilterPad::audio) (AVFilterLink *link, int nb_samples) |
Definition at line 91 of file internal.h.
Referenced by init().
union { ... } AVFilterPad::get_buffer |
Callback functions to get a video/audio buffers.
If NULL, the filter system will use ff_default_get_video_buffer() for video and ff_default_get_audio_buffer() for audio.
The state of the union is determined by type.
Input pads only.
Referenced by init().
int(* AVFilterPad::filter_frame) (AVFilterLink *link, AVFrame *frame) |
Filtering callback.
This is where a filter receives a frame with audio/video data and should do its processing.
Input pads only.
Definition at line 104 of file internal.h.
Referenced by ff_filter_frame_framed(), and init().
int(* AVFilterPad::request_frame) (AVFilterLink *link) |
Frame request callback.
A call to this should result in some progress towards producing output over the given link. This should return zero on success, and another value on error.
Output pads only.
Definition at line 113 of file internal.h.
Referenced by init(), and movie_common_init().
int(* AVFilterPad::config_props) (AVFilterLink *link) |
Link configuration callback.
For output pads, this should set the link properties such as width/height. This should NOT set the format property - that is negotiated between filters by the filter system using the query_formats() callback before this function is called.
For input pads, this should check the properties of the link, and update the filter's internal state as necessary.
For both input and output filters, this should return zero on success, and another value on error.
Definition at line 129 of file internal.h.
Referenced by decimate_init(), fieldmatch_init(), init(), movie_common_init(), and parse_definition().