Searched refs:av_cpu_count (Results 1 – 18 of 18) sorted by relevance
36 return av_cpu_count(); in ff_libjxl_get_threadcount()
109 cdsc.frm_threads = avctx->thread_count > 0 ? avctx->thread_count : av_cpu_count(); in libuavs3d_init()
47 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in aom_init()
147 int nb_cpus = av_cpu_count(); in ff_slice_thread_init()
181 avctx->thread_count = av_cpu_count(); in ff_frame_thread_encoder_init()
92 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in vpx_init()
217 int threads = (c->thread_count ? c->thread_count : av_cpu_count()) * 3 / 2; in libdav1d_init()
873 int nb_cpus = av_cpu_count(); in ff_frame_thread_init()
698 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 64); in aom_init()
940 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16); in vpx_init()
105 int av_cpu_count(void);
106 int nb_cpus = av_cpu_count(); in avpriv_slicethread_create()
195 int av_cpu_count(void) in av_cpu_count() function
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()
386 ctx->options.nireq = av_cpu_count() / 2 + 1; in init_model_ov()
886 ctx->options.nireq = av_cpu_count() / 2 + 1; in ff_dnn_load_model_tf()
105 int cpu_count = av_cpu_count(); in main()
1996 Add av_cpu_count() function for getting the number of logical CPUs.