Type Alias ffmpeg_sys_next::avfilter_action_func
source · pub type avfilter_action_func = Option<unsafe extern "C" fn(ctx: *mut AVFilterContext, arg: *mut c_void, jobnr: c_int, nb_jobs: c_int) -> c_int>;
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
Aliased Type§
enum avfilter_action_func {
None,
Some(unsafe extern "C" fn(_: *mut AVFilterContext, _: *mut c_void, _: i32, _: i32) -> i32),
}