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:
authorJanne Grunau <janne-vlc@jannau.net>2018-09-29 14:57:29 +0300
committerHenrik Gramner <gramner@twoorioles.com>2018-09-29 18:22:24 +0300
commit35e777f3780327ea055339408bf7f9c1313254ce (patch)
tree1a2deaf17576a2d8be070e721e62b8358f0173eb /src/cpu.h
parente72c2e45748a9f80223d57333772419f00fc4e7e (diff)
build: add support for arm/aarch64 asm and integrate checkasm
Diffstat (limited to 'src/cpu.h')
-rw-r--r--src/cpu.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cpu.h b/src/cpu.h
index 01e5d4a..9dcc336 100644
--- a/src/cpu.h
+++ b/src/cpu.h
@@ -30,11 +30,13 @@
#include "config.h"
-#if ARCH_X86
+#if ARCH_AARCH64 || ARCH_ARM
+#include "src/arm/cpu.h"
+#elif ARCH_X86
#include "src/x86/cpu.h"
-#else
-#define dav1d_get_cpu_flags 0
-#define dav1d_set_cpu_flags_mask(mask) while (0)
#endif
+unsigned dav1d_get_cpu_flags(void);
+void dav1d_set_cpu_flags_mask(const unsigned mask);
+
#endif /* __DAV1D_SRC_CPU_H__ */