Home
last modified time | relevance | path

Searched refs:av_cpu_count (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavutil/
Dcpu.h120 int av_cpu_count(void);
Dslicethread.c104 int nb_cpus = av_cpu_count(); in avpriv_slicethread_create()
Dcpu.c275 int av_cpu_count(void) in av_cpu_count() function
/third_party/ffmpeg/libavutil/tests/
Dcpu.c101 int cpu_count = av_cpu_count(); in main()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_conv2d.c191 …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()
Ddnn_backend_openvino.c342 ctx->options.nireq = av_cpu_count() / 2 + 1; in init_model_ov()
/third_party/ffmpeg/libavcodec/
Dlibaomdec.c45 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in aom_init()
Dlibuavs3d.c108 cdsc.frm_threads = avctx->thread_count > 0 ? avctx->thread_count : av_cpu_count(); in libuavs3d_init()
Dpthread_slice.c142 int nb_cpus = av_cpu_count(); in ff_slice_thread_init()
Dframe_thread_encoder.c173 avctx->thread_count = av_cpu_count(); in ff_frame_thread_encoder_init()
Dlibvpxdec.c88 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in vpx_init()
Dlibdav1d.c130 int threads = (c->thread_count ? c->thread_count : av_cpu_count()) * 3 / 2; in libdav1d_init()
Dpthread_frame.c922 int nb_cpus = av_cpu_count(); in ff_frame_thread_init()
Dlibaomenc.c621 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 64); in aom_init()
Dlibvpxenc.c869 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16); in vpx_init()
/third_party/ffmpeg/doc/
DAPIchanges1717 Add av_cpu_count() function for getting the number of logical CPUs.