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:
authorJan Buethe <jbuethe@amazon.de>2022-10-26 15:37:43 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-06-16 20:01:18 +0300
commit0ba6458ba1490098ffbaccc7f4be8a9643c0dd77 (patch)
tree1910dccdf4875559c47e7909dff3294e12c6c8fa /configure.ac
parente04826d42240dab2e04c3500a62fe3bf6b80062f (diff)
added --enable-neural-fec option to configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a5e93f31..18ea155a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,6 +162,15 @@ AS_IF([test "$enable_custom_modes" = "yes"],[
AM_CONDITIONAL([CUSTOM_MODES], [test "$enable_custom_modes" = "yes"])
+AC_ARG_ENABLE([neural-fec],
+ [AS_HELP_STRING([--enable-neural-fec], [Use neural FEC for SILK])],,
+ [enable_neural_fec=yes])
+
+AS_IF([test "$enable_neural_fec" = "yes"],[
+ AC_DEFINE([ENABLE_NEURAL_FEC], [1], [Neural FEC])
+ AC_DEFINE([DISABLE_DOT_PROD], [1], [Disable dot product])
+])
+
AC_ARG_ENABLE([neural-plc],
[AS_HELP_STRING([--enable-neural-plc], [Use neural PLC for SILK])],,
[enable_neural_plc=yes])