[][src]Function ffmpeg_sys_next::avfilter_graph_alloc_filter

pub unsafe extern "C" fn avfilter_graph_alloc_filter(
    graph: *mut AVFilterGraph,
    filter: *const AVFilter,
    name: *const c_char
) -> *mut AVFilterContext

Create a new filter instance in a filter graph.

@param graph graph in which the new filter will be used @param filter the filter to create an instance of @param name Name to give to the new instance (will be copied to AVFilterContext.name). This may be used by the caller to identify different filters, libavfilter itself assigns no semantics to this parameter. May be NULL.

@return the context of the newly created filter instance (note that it is also retrievable directly through AVFilterGraph.filters or with avfilter_graph_get_filter()) on success or NULL on failure.