@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.
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.