[][src]Type Definition stainless_ffmpeg_sys::avfilter_execute_func

type avfilter_execute_func = Option<unsafe extern "C" fn(ctx: *mut AVFilterContext, func: avfilter_action_func, arg: *mut c_void, ret: *mut c_int, nb_jobs: c_int) -> c_int>;

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