Type Definition rsmpeg::ffi::avfilter_action_func[][src]

type avfilter_action_func = Option<unsafe extern "C" fn(*mut AVFilterContext, *mut c_void, i32, i32) -> i32>;
Expand description

A function pointer passed to the @ref AVFilterGraph.execute callback to be executed multiple times, possibly in parallel.

@param ctx the filter context the job belongs to @param arg an opaque parameter passed through from @ref AVFilterGraph.execute @param jobnr the index of the job being executed @param nb_jobs the total number of jobs

@return 0 on success, a negative AVERROR on error