#include <avfilter.h>
Data Fields | |
| const char * | name |
| filter name | |
| int | priv_size |
| size of private data to allocate for the filter | |
| int(* | init )(AVFilterContext *ctx, const char *args, void *opaque) |
| void(* | uninit )(AVFilterContext *ctx) |
| int(* | query_formats )(AVFilterContext *) |
| const AVFilterPad * | inputs |
| NULL terminated list of inputs. NULL if none. | |
| const AVFilterPad * | outputs |
| NULL terminated list of outputs. NULL if none. | |
Definition at line 368 of file avfilter.h.
| const char* AVFilter::name |
filter name
Definition at line 370 of file avfilter.h.
Referenced by avfilter_get_by_name(), avfilter_insert_filter(), and link_filter().
| int(* AVFilter::init)(AVFilterContext *ctx, const char *args, void *opaque) |
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.
| void(* AVFilter::uninit)(AVFilterContext *ctx) |
Filter uninitialization function. Should deallocate any memory held by the filter, release any picture references, etc. This does not need to deallocate the AVFilterContext->priv memory itself.
| int(* AVFilter::query_formats)(AVFilterContext *) |
Query formats supported by the filter and its pads. Should set the in_formats for links connected to its output pads, and out_formats for links connected to its input pads.
Should return zero on success.
Referenced by query_formats().
| const AVFilterPad* AVFilter::inputs |
| const AVFilterPad* AVFilter::outputs |
1.5.1