Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dlibjxl.c36 return av_cpu_count(); in ff_libjxl_get_threadcount()
Dlibuavs3d.c109 cdsc.frm_threads = avctx->thread_count > 0 ? avctx->thread_count : av_cpu_count(); in libuavs3d_init()
Dlibaomdec.c47 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in aom_init()
Dpthread_slice.c147 int nb_cpus = av_cpu_count(); in ff_slice_thread_init()
Dframe_thread_encoder.c181 avctx->thread_count = av_cpu_count(); in ff_frame_thread_encoder_init()
Dlibvpxdec.c92 .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16) in vpx_init()
Dlibdav1d.c217 int threads = (c->thread_count ? c->thread_count : av_cpu_count()) * 3 / 2; in libdav1d_init()
Dpthread_frame.c873 int nb_cpus = av_cpu_count(); in ff_frame_thread_init()
Dlibaomenc.c698 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 64); in aom_init()
Dlibvpxenc.c940 FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16); in vpx_init()
/third_party/ffmpeg/libavutil/
Dcpu.h105 int av_cpu_count(void);
Dslicethread.c106 int nb_cpus = av_cpu_count(); in avpriv_slicethread_create()
Dcpu.c195 int av_cpu_count(void) in av_cpu_count() function
/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.c386 ctx->options.nireq = av_cpu_count() / 2 + 1; in init_model_ov()
Ddnn_backend_tf.c886 ctx->options.nireq = av_cpu_count() / 2 + 1; in ff_dnn_load_model_tf()
/third_party/ffmpeg/libavutil/tests/
Dcpu.c105 int cpu_count = av_cpu_count(); in main()
/third_party/ffmpeg/doc/
DAPIchanges1996 Add av_cpu_count() function for getting the number of logical CPUs.