Function rsmpeg::ffi::avfilter_graph_create_filter[][src]

pub unsafe extern "C" fn avfilter_graph_create_filter(
    filt_ctx: *mut *mut AVFilterContext,
    filt: *const AVFilter,
    name: *const i8,
    args: *const i8,
    opaque: *mut c_void,
    graph_ctx: *mut AVFilterGraph
) -> i32
Expand description

Create and add a filter instance into an existing graph. The filter instance is created from the filter filt and inited with the parameter args. opaque is currently ignored.

In case of success put in *filt_ctx the pointer to the created filter instance, otherwise set *filt_ctx to NULL.

@param name the instance name to give to the created filter instance @param graph_ctx the filter graph @return a negative AVERROR error code in case of failure, a non negative value otherwise