Type Definition rsmpeg::ffi::avfilter_execute_func [−][src]
type avfilter_execute_func = Option<unsafe extern "C" fn(*mut AVFilterContext, Option<unsafe extern "C" fn(*mut AVFilterContext, *mut c_void, i32, i32) -> i32>, *mut c_void, *mut i32, i32) -> i32>;
Expand description
A function executing multiple jobs, possibly in parallel.
@param ctx the filter context to which the jobs belong @param func the function to be called multiple times @param arg the argument to be passed to func @param ret a nb_jobs-sized array to be filled with return values from each invocation of func @param nb_jobs the number of jobs to execute
@return 0 on success, a negative AVERROR on error