|const char *||name|
|filter name |
|size of private data to allocate for the filter |
|int(*||init )(AVFilterContext *ctx, const char *args, void *opaque)|
|Filter initialization function. |
|void(*||uninit )(AVFilterContext *ctx)|
|Filter uninitialization function. |
|int(*||query_formats )(AVFilterContext *)|
|Queries formats/layouts supported by the filter and its pads, and sets the in_formats/in_chlayouts for links connected to its output pads, and out_formats/out_chlayouts for links connected to its input pads. |
|const AVFilterPad *||inputs|
|NULL terminated list of inputs. NULL if none. |
|const AVFilterPad *||outputs|
|NULL terminated list of outputs. NULL if none. |
|const char *||description|
|A description for the filter. |
|int(*||process_command )(AVFilterContext *, const char *cmd, const char *arg, char *res, int res_len, int flags)|
|Make the filter instance process a command. |
This defines the pads a filter contains, and all the callback functions used to interact with the filter.
|const char* AVFilter::description|
Filter initialization function.
Args contains the user-supplied parameters. FIXME: maybe an AVOption-based system would be better? opaque is data provided by the code requesting creation of the filter, and is used to pass data to the filter.
Referenced by avfilter_init_filter().
|const char* AVFilter::name|
Referenced by avfilter_graph_dump_to_buf(), avfilter_graph_parse(), avfilter_graph_queue_command(), avfilter_graph_send_command(), avfilter_process_command(), avfilter_register(), configure_complex_filter(), ff_avfilter_graph_check_validity(), ff_dlog_link(), filter_name(), init(), lavfi_read_header(), link_filter(), link_filter_inouts(), print_digraph(), and transcode_init().
|int(* AVFilter::process_command)(AVFilterContext *, const char *cmd, const char *arg, char *res, int res_len, int flags)|
Make the filter instance process a command.
|cmd||the command to process, for handling simplicity all commands must be alphanumeric only|
|arg||the argument for the command|
|res||a buffer with size res_size where the filter(s) can return a response. This must not change when the command is not supported.|
|flags||if AVFILTER_CMD_FLAG_FAST is set and the command would be time consuming then a filter should treat it like an unsupported command|
Referenced by avfilter_process_command().
Queries formats/layouts supported by the filter and its pads, and sets the in_formats/in_chlayouts for links connected to its output pads, and out_formats/out_chlayouts for links connected to its input pads.
Filter uninitialization function.
Should deallocate any memory held by the filter, release any buffer references, etc. This does not need to deallocate the AVFilterContext->priv memory itself.
Referenced by avfilter_free().