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

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2023-11-28 23:34:29 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-11-28 23:34:29 +0300
commit147b72293f0bc2e3cb17c3f2dc6c21d9d599ec70 (patch)
tree9a7d1dcc4ac24a9d62d0373446255709a5b987bd
parentdb26e381a45aadcd82851075b85e2466e7de77d2 (diff)
Oops, fix the fixed-point build
-rw-r--r--silk/x86/main_sse.h2
-rw-r--r--silk/x86/x86_silk_map.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/silk/x86/main_sse.h b/silk/x86/main_sse.h
index 1eaa0b4d..b254d53e 100644
--- a/silk/x86/main_sse.h
+++ b/silk/x86/main_sse.h
@@ -269,6 +269,7 @@ extern opus_int (*const SILK_VAD_GETSA_Q8_IMPL[OPUS_ARCHMASK + 1])(
# endif
+#ifndef FIXED_POINT
double silk_inner_product_FLP_avx2(
const silk_float *data1,
const silk_float *data2,
@@ -292,6 +293,7 @@ extern double (*const SILK_INNER_PRODUCT_FLP_IMPL[OPUS_ARCHMASK + 1])(
#define silk_inner_product_FLP(data1, data2, dataSize, arch) ((void)arch,(*SILK_INNER_PRODUCT_FLP_IMPL[(arch) & OPUS_ARCHMASK])(data1, data2, dataSize))
#endif
+#endif
# endif
#endif
diff --git a/silk/x86/x86_silk_map.c b/silk/x86/x86_silk_map.c
index 8210fe68..39ad7527 100644
--- a/silk/x86/x86_silk_map.c
+++ b/silk/x86/x86_silk_map.c
@@ -32,7 +32,9 @@
#include "celt/x86/x86cpu.h"
#include "structs.h"
#include "SigProc_FIX.h"
+#ifndef FIXED_POINT
#include "SigProc_FLP.h"
+#endif
#include "pitch.h"
#include "main.h"