Searched refs:nb_jobs (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dpthread.c55 int nb_jobs; member in struct:ThreadContext
68 int our_job = c->nb_jobs;
76 while (our_job >= c->nb_jobs) {
77 if (c->current_job == nb_threads + c->nb_jobs)
92 c->rets[our_job % c->nb_rets] = c->func(c->ctx, c->arg, our_job, c->nb_jobs);
119 while (c->current_job != c->nb_threads + c->nb_jobs)
125 void *arg, int *ret, int nb_jobs)
130 if (nb_jobs <= 0)
136 c->nb_jobs = nb_jobs;
124 thread_execute(AVFilterContext *ctx, avfilter_action_func *func, void *arg, int *ret, int nb_jobs) argument
[all...]
H A Dvf_fade.c180 int nb_jobs)
184 int slice_start = (frame->height * jobnr ) / nb_jobs;
185 int slice_end = (frame->height * (jobnr+1)) / nb_jobs;
196 int nb_jobs)
200 int slice_start = (frame->height * jobnr ) / nb_jobs;
201 int slice_end = (frame->height * (jobnr+1)) / nb_jobs;
219 int nb_jobs)
226 int slice_start = (height * jobnr ) / nb_jobs;
227 int slice_end = (height * (jobnr+1)) / nb_jobs;
246 int nb_jobs)
179 filter_slice_rgb(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
195 filter_slice_luma(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
218 filter_slice_chroma(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
245 filter_slice_alpha(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
[all...]
H A Dvf_hflip.c82 static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) argument
94 const int start = (height * job ) / nb_jobs;
95 const int end = (height * (job+1)) / nb_jobs;
H A Dvf_transpose.c143 int nb_jobs)
158 int start = (outh * jobnr ) / nb_jobs;
159 int end = (outh * (jobnr+1)) / nb_jobs;
142 filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
H A Davfilter.h1146 * @param nb_jobs the total number of jobs
1150 typedef int (avfilter_action_func)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
1158 * @param ret a nb_jobs-sized array to be filled with return values from each
1160 * @param nb_jobs the number of jobs to execute
1165 void *arg, int *ret, int nb_jobs);
H A Dvf_hqx.c35 typedef int (*hqxfunc_t)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
381 static av_always_inline void hqx_filter(const ThreadData *td, int jobnr, int nb_jobs, int n) argument
388 const int slice_start = (height * jobnr ) / nb_jobs;
389 const int slice_end = (height * (jobnr+1)) / nb_jobs;
452 static int hq##size##x(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) \
454 hqx_filter(arg, jobnr, nb_jobs, size); \
H A Dvf_blend.c234 static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
237 int slice_start = (td->h * jobnr ) / nb_jobs;
238 int slice_end = (td->h * (jobnr+1)) / nb_jobs;
H A Dvf_curves.c482 static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
495 const int slice_start = (in->height * jobnr ) / nb_jobs;
496 const int slice_end = (in->height * (jobnr+1)) / nb_jobs;
H A Dvf_noise.c367 static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
375 const int start = (height * jobnr ) / nb_jobs;
376 const int end = (height * (jobnr+1)) / nb_jobs;
H A Dvf_yadif.c184 static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) argument
191 int slice_start = (td->h * jobnr ) / nb_jobs;
192 int slice_end = (td->h * (jobnr+1)) / nb_jobs;
H A Dvf_rotate.c371 static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) argument
382 const int start = (outh * job ) / nb_jobs;
383 const int end = (outh * (job+1)) / nb_jobs;
H A Davfilter.c585 int *ret, int nb_jobs)
589 for (i = 0; i < nb_jobs; i++) {
590 int r = func(ctx, arg, i, nb_jobs);
584 default_execute(AVFilterContext *ctx, avfilter_action_func *func, void *arg, int *ret, int nb_jobs) argument
H A Dvf_lut3d.c202 static int interp_##nbits##_##name(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) \
215 const int slice_start = (in->height * jobnr ) / nb_jobs; \
216 const int slice_end = (in->height * (jobnr+1)) / nb_jobs; \

Completed in 79 milliseconds