Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/cpu.h
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2021-09-03 20:38:10 +0300
committerHenrik Gramner <henrik@gramner.com>2021-09-20 19:44:35 +0300
commit9636af88b892703ed13ce9216723c63029b6dd1a (patch)
tree341c32cab9e3f973303a39c3c407e669b8f7d765 /src/cpu.h
parentbdde09b1121546506ad124bc5db1c95614953b29 (diff)
Add automatic thread count selection
Supports Linux, MacOS, and Windows.
Diffstat (limited to 'src/cpu.h')
-rw-r--r--src/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu.h b/src/cpu.h
index d5299f2..1735a9c 100644
--- a/src/cpu.h
+++ b/src/cpu.h
@@ -32,6 +32,8 @@
#include "common/attributes.h"
+#include "src/internal.h"
+
#include "dav1d/common.h"
#if ARCH_AARCH64 || ARCH_ARM
@@ -45,5 +47,6 @@
void dav1d_init_cpu(void);
unsigned dav1d_get_cpu_flags(void);
DAV1D_API void dav1d_set_cpu_flags_mask(unsigned mask);
+int dav1d_num_logical_processors(Dav1dContext *c);
#endif /* DAV1D_SRC_CPU_H */