pub 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>;
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

Aliased Type§

enum avfilter_execute_func {
    None,
    Some(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),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(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)

Some value of type T.