#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) |
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. |
This defines the pads a filter contains, and all the callback functions used to interact with the filter.
Definition at line 510 of file avfilter.h.
const char* AVFilter::description |
A description for the filter.
You should use the NULL_IF_CONFIG_SMALL() macro to define it.
Definition at line 547 of file avfilter.h.
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.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), and avfilter_init_filter().
const AVFilterPad* AVFilter::inputs |
NULL terminated list of inputs. NULL if none.
Definition at line 540 of file avfilter.h.
Referenced by avfilter_open(), and main().
const char* AVFilter::name |
filter name
Definition at line 511 of file avfilter.h.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), ff_avfilter_graph_check_validity(), ff_dlog_link(), filter_name(), init(), link_filter(), link_filter_inouts(), and print_digraph().
const AVFilterPad* AVFilter::outputs |
NULL terminated list of outputs. NULL if none.
Definition at line 541 of file avfilter.h.
Referenced by avfilter_open(), and main().
size of private data to allocate for the filter
Definition at line 513 of file avfilter.h.
Referenced by avfilter_open().
int(* AVFilter::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.
Referenced by main(), and query_formats().
void(* AVFilter::uninit)(AVFilterContext *ctx) |
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().