]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/cpu.h
Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'
[ffmpeg] / libavutil / cpu.h
index c8f34e02724b186f98e5e55d4c294acc16e323d6..df8ef8728a942ce4cc509da300267a2181723432 100644 (file)
@@ -100,6 +100,11 @@ int av_parse_cpu_flags(const char *s);
  */
 int av_parse_cpu_caps(unsigned *flags, const char *s);
 
+/**
+ * @return the number of logical CPU cores present.
+ */
+int av_cpu_count(void);
+
 /* The following CPU-specific functions shall not be called directly. */
 int ff_get_cpu_flags_arm(void);
 int ff_get_cpu_flags_ppc(void);