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
diff options
context:
space:
mode:
Diffstat (limited to 'src/mc_tmpl.c')
-rw-r--r--src/mc_tmpl.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mc_tmpl.c b/src/mc_tmpl.c
index f8d3e3b..20226d8 100644
--- a/src/mc_tmpl.c
+++ b/src/mc_tmpl.c
@@ -902,6 +902,14 @@ static void resize_c(pixel *dst, const ptrdiff_t dst_stride,
} while (--h);
}
+#if HAVE_ASM
+#if ARCH_AARCH64 || ARCH_ARM
+#include "src/arm/mc.h"
+#elif ARCH_X86
+#include "src/x86/mc.h"
+#endif
+#endif
+
COLD void bitfn(dav1d_mc_dsp_init)(Dav1dMCDSPContext *const c) {
#define init_mc_fns(type, name) do { \
c->mc [type] = put_##name##_c; \
@@ -937,9 +945,9 @@ COLD void bitfn(dav1d_mc_dsp_init)(Dav1dMCDSPContext *const c) {
#if HAVE_ASM
#if ARCH_AARCH64 || ARCH_ARM
- bitfn(dav1d_mc_dsp_init_arm)(c);
+ mc_dsp_init_arm(c);
#elif ARCH_X86
- bitfn(dav1d_mc_dsp_init_x86)(c);
+ mc_dsp_init_x86(c);
#endif
#endif
}