diff options
author | Jan Buethe <jbuethe@amazon.de> | 2023-11-08 14:03:39 +0100 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-12-20 03:42:44 -0500 |
commit | 7d328f5bfaa321d823ff4d11b62d5357c99e0693 (patch) | |
tree | 873593e93c87a7b9b1de7f710696502737f1922b /configure.ac | |
parent | 591c8bad70d8aa414729d1a243a6d930f64d6316 (diff) | |
download | libopus-7d328f5bfaa321d823ff4d11b62d5357c99e0693.tar.gz |
Merge LACE/NoLACE under OSCE framework
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b4c5f2a5..84ce651d 100644 --- a/configure.ac +++ b/configure.ac @@ -175,10 +175,10 @@ AC_ARG_ENABLE([deep-plc], [AS_HELP_STRING([--enable-deep-plc], [Use deep PLC for SILK])],, [enable_deep_plc=no]) -AS_IF([test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes"],[ +AS_IF([test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes" || test "$enable_osce" = "yes" || test "$enable_osce_training_data" = "yes"],[ AC_DEFINE([ENABLE_DEEP_PLC], [1], [Deep PLC]) ]) -AM_CONDITIONAL([ENABLE_DEEP_PLC], [test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes"]) +AM_CONDITIONAL([ENABLE_DEEP_PLC], [test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes" || test "$enable_osce" = "yes" || test "$enable_osce_training_data" = "yes"]) has_float_approx=no case "$host_cpu" in @@ -904,6 +904,31 @@ AS_IF([test "$enable_dnn_debug_float" = "no"], [ AC_DEFINE([DISABLE_DEBUG_FLOAT], [1], [Disable DNN debug float]) ]) +AC_ARG_ENABLE([osce-training-data], + AS_HELP_STRING([--enable-osce-training-data], [enables feature output for SILK enhancement]),, + [enable_osc_training_data=no] +) + +AS_IF([test "$enable_osce_training_data" = "yes"], [ + AC_DEFINE([ENABLE_OSCE_TRAINING_DATA], [1], [Enable dumping of OSCE training data]) +]) + +AC_MSG_CHECKING([argument osce training data]) +AS_IF([test "$enable_osce_training_data" = "yes"], [ + AC_MSG_RESULT([yes]) +], [AC_MSG_RESULT([no])]) + +AC_ARG_ENABLE([osce], + AS_HELP_STRING([--enable-osce], [enables feature output for SILK enhancement]),, + [enable_osce=no] +) + +AS_IF([test "$enable_osce" = "yes" || test "$enable_osce_training_data" = "yes"], [ + AC_DEFINE([ENABLE_OSCE], [1], [Enable Opus Speech Coding Enhancement]) +]) + +AM_CONDITIONAL([ENABLE_OSCE], [test "$enable_osce" = "yes" || test "$enable_osce_training_data" = "yes"]) + AM_CONDITIONAL([HAVE_DOXYGEN], [test "$HAVE_DOXYGEN" = "yes"]) AC_ARG_ENABLE([extra-programs], |