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