Reduce the scope of Ne10 includes
authorMichael Bradshaw <mjbshaw@google.com>
Sat, 28 Jan 2017 00:07:26 +0000 (16:07 -0800)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Wed, 15 Feb 2017 21:54:06 +0000 (16:54 -0500)
libopus only uses the DSP module of Ne10, and never uses the init functions.

Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
celt/arm/celt_ne10_fft.c
celt/dump_modes/dump_modes_arm_ne10.c
celt/static_modes_fixed_arm_ne10.h
celt/static_modes_float_arm_ne10.h
configure.ac

index 42d96a7..b8c60ab 100644 (file)
@@ -36,7 +36,6 @@
 #endif
 #endif
 
-#include <NE10_init.h>
 #include <NE10_dsp.h>
 #include "os_support.h"
 #include "kiss_fft.h"
index 47578cd..828e7b9 100644 (file)
@@ -60,7 +60,7 @@ void dump_modes_arch_init(CELTMode **modes, int nb_modes)
       fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts);
    }
    fprintf(file, "\n * It contains static definitions for some pre-defined modes. */\n");
-   fprintf(file, "#include <NE10_init.h>\n\n");
+   fprintf(file, "#include <NE10_types.h>\n\n");
 }
 
 void dump_modes_arch_finalize()
index b8ef0ce..7623092 100644 (file)
@@ -1,7 +1,7 @@
 /* The contents of this file was automatically generated by
  * dump_mode_arm_ne10.c with arguments: 48000 960
  * It contains static definitions for some pre-defined modes. */
-#include <NE10_init.h>
+#include <NE10_types.h>
 
 #ifndef NE10_FFT_PARAMS48000_960
 #define NE10_FFT_PARAMS48000_960
index 934a82a..66e1abb 100644 (file)
@@ -1,7 +1,7 @@
 /* The contents of this file was automatically generated by
  * dump_mode_arm_ne10.c with arguments: 48000 960
  * It contains static definitions for some pre-defined modes. */
-#include <NE10_init.h>
+#include <NE10_types.h>
 
 #ifndef NE10_FFT_PARAMS48000_960
 #define NE10_FFT_PARAMS48000_960
index f63cfd2..fca746f 100644 (file)
@@ -426,7 +426,7 @@ AC_DEFUN([OPUS_PATH_NE10],
       AC_LINK_IFELSE(
          [
             AC_LANG_PROGRAM(
-               [[#include <NE10_init.h>
+               [[#include <NE10_dsp.h>
                ]],
                [[
                   ne10_fft_cfg_float32_t cfg;