summaryrefslogtreecommitdiff
path: root/celt
diff options
context:
space:
mode:
authorMichael Bradshaw <mjbshaw@google.com>2017-01-27 16:07:26 -0800
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-15 16:54:06 -0500
commitc930cc57d2e2cf32a9ecf6aa2cebb8a3a785b3ad (patch)
tree28648211f4d12a49aec3c39181dfdadf95c85ce4 /celt
parent4911460353b37000f5d928b75707acb14e7b2855 (diff)
downloadopus-c930cc57d2e2cf32a9ecf6aa2cebb8a3a785b3ad.tar.gz
Reduce the scope of Ne10 includes
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>
Diffstat (limited to 'celt')
-rw-r--r--celt/arm/celt_ne10_fft.c1
-rw-r--r--celt/dump_modes/dump_modes_arm_ne10.c2
-rw-r--r--celt/static_modes_fixed_arm_ne10.h2
-rw-r--r--celt/static_modes_float_arm_ne10.h2
4 files changed, 3 insertions, 4 deletions
diff --git a/celt/arm/celt_ne10_fft.c b/celt/arm/celt_ne10_fft.c
index 42d96a71..b8c60abe 100644
--- a/celt/arm/celt_ne10_fft.c
+++ b/celt/arm/celt_ne10_fft.c
@@ -36,7 +36,6 @@
#endif
#endif
-#include <NE10_init.h>
#include <NE10_dsp.h>
#include "os_support.h"
#include "kiss_fft.h"
diff --git a/celt/dump_modes/dump_modes_arm_ne10.c b/celt/dump_modes/dump_modes_arm_ne10.c
index 47578cda..828e7b9f 100644
--- a/celt/dump_modes/dump_modes_arm_ne10.c
+++ b/celt/dump_modes/dump_modes_arm_ne10.c
@@ -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()
diff --git a/celt/static_modes_fixed_arm_ne10.h b/celt/static_modes_fixed_arm_ne10.h
index b8ef0cee..76230921 100644
--- a/celt/static_modes_fixed_arm_ne10.h
+++ b/celt/static_modes_fixed_arm_ne10.h
@@ -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
diff --git a/celt/static_modes_float_arm_ne10.h b/celt/static_modes_float_arm_ne10.h
index 934a82a4..66e1abb1 100644
--- a/celt/static_modes_float_arm_ne10.h
+++ b/celt/static_modes_float_arm_ne10.h
@@ -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