Searched refs:av_cpu_count (Results 1 – 16 of 16) sorted by relevance
120 int av_cpu_count(void);
104 int nb_cpus = av_cpu_count(); in avpriv_slicethread_create()
275 int av_cpu_count(void) in av_cpu_count() function
101 int cpu_count = av_cpu_count(); in main()
191 …int thread_num = (ctx->options.conv2d_threads <= 0 || ctx->options.conv2d_threads > av_cpu_count()) in ff_dnn_execute_layer_conv2d()192 ? (av_cpu_count() + 1) : (ctx->options.conv2d_threads); in ff_dnn_execute_layer_conv2d()
342 ctx->options.nireq = av_cpu_count() / 2 + 1; in init_model_ov()
45 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in aom_init()
108 cdsc.frm_threads = avctx->thread_count > 0 ? avctx->thread_count : av_cpu_count(); in libuavs3d_init()
142 int nb_cpus = av_cpu_count(); in ff_slice_thread_init()
173 avctx->thread_count = av_cpu_count(); in ff_frame_thread_encoder_init()
88 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in vpx_init()
130 int threads = (c->thread_count ? c->thread_count : av_cpu_count()) * 3 / 2; in libdav1d_init()
922 int nb_cpus = av_cpu_count(); in ff_frame_thread_init()
621 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 64); in aom_init()
869 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16); in vpx_init()
1717 Add av_cpu_count() function for getting the number of logical CPUs.