/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vf_colorchannelmixer.c | 132 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_planar() 133 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_planar() 218 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_planar() 219 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_planar() 295 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0, 0); in filter_slice_gbrp() 300 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 1, 0); in filter_slice_gbrap() 305 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0, 1); in filter_slice_gbrp_pl() 404 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_packed() 405 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_packed() 486 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_packed() [all …]
|
H A D | vf_overlay.c | 352 int is_straight, int jobnr, int nb_jobs) in blend_slice_packed_rgb() argument 377 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb() 378 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb() 654 int nb_jobs) in blend_slice_planar_rgb() argument 664 jobnr, nb_jobs); in blend_slice_planar_rgb() 667 jobnr, nb_jobs); in blend_slice_planar_rgb() 670 jobnr, nb_jobs); in blend_slice_planar_rgb() 756 static int blend_slice_gbrp(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_gbrp() argument 836 static int blend_slice_rgb(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_rgb() argument 840 blend_slice_packed_rgb(ctx, td->dst, td->src, 0, s->x, s->y, 1, jobnr, nb_jobs); in blend_slice_rgb() [all …]
|
H A D | af_crystalizer.c | 96 const int start = (channels * jobnr) / nb_jobs; in filter_flt() 97 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_flt() 131 const int start = (channels * jobnr) / nb_jobs; in filter_dbl() 132 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_dbl() 167 const int start = (channels * jobnr) / nb_jobs; in filter_fltp() 168 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_fltp() 200 const int start = (channels * jobnr) / nb_jobs; in filter_dblp() 234 const int start = (channels * jobnr) / nb_jobs; in ifilter_flt() 270 const int start = (channels * jobnr) / nb_jobs; in ifilter_dbl() 307 const int start = (channels * jobnr) / nb_jobs; in ifilter_fltp() [all …]
|
H A D | vf_colorize.c | 40 int jobnr, int nb_jobs); 54 const int slice_start = (height * jobnr) / nb_jobs; in colorizey_slice8() 55 const int slice_end = (height * (jobnr + 1)) / nb_jobs; in colorizey_slice8() 77 const int slice_start = (height * jobnr) / nb_jobs; in colorizey_slice16() 78 const int slice_end = (height * (jobnr + 1)) / nb_jobs; in colorizey_slice16() 100 const int slice_start = (height * jobnr) / nb_jobs; in colorize_slice8() 101 const int slice_end = (height * (jobnr + 1)) / nb_jobs; in colorize_slice8() 128 const int slice_start = (height * jobnr) / nb_jobs; in colorize_slice16() 129 const int slice_end = (height * (jobnr + 1)) / nb_jobs; in colorize_slice16() 154 s->do_plane_slice[0](ctx, arg, jobnr, nb_jobs); in do_slice() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vf_colorchannelmixer.c | 132 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_planar() 133 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_planar() 218 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_planar() 219 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_planar() 295 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0, 0); in filter_slice_gbrp() 300 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 1, 0); in filter_slice_gbrap() 305 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0, 1); in filter_slice_gbrp_pl() 404 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_packed() 405 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_packed() 486 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_packed() [all …]
|
H A D | vf_overlay.c | 352 int is_straight, int jobnr, int nb_jobs) in blend_slice_packed_rgb() argument 377 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb() 378 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb() 654 int nb_jobs) in blend_slice_planar_rgb() argument 664 jobnr, nb_jobs); in blend_slice_planar_rgb() 667 jobnr, nb_jobs); in blend_slice_planar_rgb() 670 jobnr, nb_jobs); in blend_slice_planar_rgb() 756 static int blend_slice_gbrp(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_gbrp() argument 836 static int blend_slice_rgb(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_rgb() argument 840 blend_slice_packed_rgb(ctx, td->dst, td->src, 0, s->x, s->y, 1, jobnr, nb_jobs); in blend_slice_rgb() [all …]
|
H A D | af_crystalizer.c | 96 const int start = (channels * jobnr) / nb_jobs; in filter_flt() 97 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_flt() 131 const int start = (channels * jobnr) / nb_jobs; in filter_dbl() 132 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_dbl() 167 const int start = (channels * jobnr) / nb_jobs; in filter_fltp() 168 const int end = (channels * (jobnr+1)) / nb_jobs; in filter_fltp() 200 const int start = (channels * jobnr) / nb_jobs; in filter_dblp() 234 const int start = (channels * jobnr) / nb_jobs; in ifilter_flt() 270 const int start = (channels * jobnr) / nb_jobs; in ifilter_dbl() 307 const int start = (channels * jobnr) / nb_jobs; in ifilter_fltp() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_colorchannelmixer.c | 110 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_planar() 111 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_planar() 169 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_planar() 170 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_planar() 223 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0); in filter_slice_gbrp() 228 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 1); in filter_slice_gbrap() 278 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_packed() 279 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_packed() 333 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_packed() 334 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_packed() [all …]
|
H A D | vf_overlay.c | 385 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb() 386 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb() 473 slice_start = j + (jmax * jobnr) / nb_jobs; in blend_plane() 565 slice_start = (imax * jobnr) / nb_jobs; in alpha_composite() 566 slice_end = ((imax * (jobnr+1)) / nb_jobs); in alpha_composite() 617 jobnr, nb_jobs); in blend_slice_yuv() 620 jobnr, nb_jobs); in blend_slice_yuv() 623 jobnr, nb_jobs); in blend_slice_yuv() 646 jobnr, nb_jobs); in blend_slice_planar_rgb() 649 jobnr, nb_jobs); in blend_slice_planar_rgb() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vf_colorchannelmixer.c | 111 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_planar() 112 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_planar() 170 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_planar() 171 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_planar() 224 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0); in filter_slice_gbrp() 229 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 1); in filter_slice_gbrap() 279 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_packed() 280 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_packed() 334 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_packed() 335 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_packed() [all …]
|
H A D | vf_overlay.c | 385 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb() 386 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb() 473 slice_start = j + (jmax * jobnr) / nb_jobs; in blend_plane() 565 slice_start = (imax * jobnr) / nb_jobs; in alpha_composite() 566 slice_end = ((imax * (jobnr+1)) / nb_jobs); in alpha_composite() 617 jobnr, nb_jobs); in blend_slice_yuv() 620 jobnr, nb_jobs); in blend_slice_yuv() 623 jobnr, nb_jobs); in blend_slice_yuv() 646 jobnr, nb_jobs); in blend_slice_planar_rgb() 649 jobnr, nb_jobs); in blend_slice_planar_rgb() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_colorchannelmixer.c | 111 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_planar() 112 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_planar() 170 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_planar() 171 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_planar() 224 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 0); in filter_slice_gbrp() 229 return filter_slice_rgba_planar(ctx, arg, jobnr, nb_jobs, 1); in filter_slice_gbrap() 279 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba_packed() 280 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba_packed() 334 const int slice_start = (out->height * jobnr) / nb_jobs; in filter_slice_rgba16_packed() 335 const int slice_end = (out->height * (jobnr+1)) / nb_jobs; in filter_slice_rgba16_packed() [all …]
|
H A D | vf_overlay.c | 352 int is_straight, int jobnr, int nb_jobs) in blend_slice_packed_rgb() argument 377 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb() 378 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb() 654 int nb_jobs) in blend_slice_planar_rgb() argument 664 jobnr, nb_jobs); in blend_slice_planar_rgb() 667 jobnr, nb_jobs); in blend_slice_planar_rgb() 670 jobnr, nb_jobs); in blend_slice_planar_rgb() 756 static int blend_slice_gbrp(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_gbrp() argument 836 static int blend_slice_rgb(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in blend_slice_rgb() argument 840 blend_slice_packed_rgb(ctx, td->dst, td->src, 0, s->x, s->y, 1, jobnr, nb_jobs); in blend_slice_rgb() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/media/ffvpx/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/ffvpx/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 133 ctx->nb_jobs = 0; in avpriv_slicethread_create() 168 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 172 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 173 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 174 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/www/firefox/firefox-99.0/media/ffvpx/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/media/ffvpx/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/ffvpx/libavutil/ |
H A D | slicethread.c | 39 int nb_jobs; member 49 … void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads); 55 unsigned nb_jobs = ctx->nb_jobs; in run_jobs() local 61 ctx->worker_func(ctx->priv, current_job, first_job, nb_jobs, nb_active_threads); in run_jobs() 64 return current_job == nb_jobs + nb_active_threads - 1; in run_jobs() 129 ctx->nb_jobs = 0; in avpriv_slicethread_create() 164 void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) in avpriv_slicethread_execute() argument 168 av_assert0(nb_jobs > 0); in avpriv_slicethread_execute() 169 ctx->nb_jobs = nb_jobs; in avpriv_slicethread_execute() 170 ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads); in avpriv_slicethread_execute() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/ |
H A D | pthread.c | 55 int nb_jobs; member 68 int our_job = c->nb_jobs; in worker() 76 while (our_job >= c->nb_jobs) { in worker() 77 if (c->current_job == nb_threads + c->nb_jobs) in worker() 92 c->rets[our_job % c->nb_rets] = c->func(c->ctx, c->arg, our_job, c->nb_jobs); in worker() 119 while (c->current_job != c->nb_threads + c->nb_jobs) in slice_thread_park_workers() 125 void *arg, int *ret, int nb_jobs) in thread_execute() argument 130 if (nb_jobs <= 0) in thread_execute() 136 c->nb_jobs = nb_jobs; in thread_execute() 142 c->nb_rets = nb_jobs; in thread_execute() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/ |
H A D | pthread.c | 55 int nb_jobs; member 68 int our_job = c->nb_jobs; in worker() 76 while (our_job >= c->nb_jobs) { in worker() 77 if (c->current_job == nb_threads + c->nb_jobs) in worker() 92 c->rets[our_job % c->nb_rets] = c->func(c->ctx, c->arg, our_job, c->nb_jobs); in worker() 119 while (c->current_job != c->nb_threads + c->nb_jobs) in slice_thread_park_workers() 125 void *arg, int *ret, int nb_jobs) in thread_execute() argument 130 if (nb_jobs <= 0) in thread_execute() 136 c->nb_jobs = nb_jobs; in thread_execute() 142 c->nb_rets = nb_jobs; in thread_execute() [all …]
|