Index: third_party/opus/src/celt/dump_modes/dump_modes_arch.h |
diff --git a/third_party/opus/src/celt/celt_lpc.h b/third_party/opus/src/celt/dump_modes/dump_modes_arch.h |
similarity index 58% |
copy from third_party/opus/src/celt/celt_lpc.h |
copy to third_party/opus/src/celt/dump_modes/dump_modes_arch.h |
index 323459eb1a83156664784742ddca78e1c44e6dc0..cc0d4be1ec7308dacd853f65219465820ec71c14 100644 |
--- a/third_party/opus/src/celt/celt_lpc.h |
+++ b/third_party/opus/src/celt/dump_modes/dump_modes_arch.h |
@@ -1,5 +1,5 @@ |
-/* Copyright (c) 2009-2010 Xiph.Org Foundation |
- Written by Jean-Marc Valin */ |
+/* Copyright (c) 2015 Xiph.Org Foundation |
+ Written by Viswanath Puttagunta */ |
/* |
Redistribution and use in source and binary forms, with or without |
modification, are permitted provided that the following conditions |
@@ -25,43 +25,21 @@ |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef PLC_H |
-#define PLC_H |
+#ifndef DUMP_MODE_ARCH_H |
+#define DUMP_MODE_ARCH_H |
-#include "arch.h" |
-#include "cpu_support.h" |
+void dump_modes_arch_init(); |
+void dump_mode_arch(CELTMode *mode); |
+void dump_modes_arch_finalize(); |
-#if defined(OPUS_X86_MAY_HAVE_SSE4_1) |
-#include "x86/celt_lpc_sse.h" |
+#if !defined(FIXED_POINT) |
+#define ARM_NE10_ARCH_FILE_NAME "static_modes_float_arm_ne10.h" |
+#else |
+#define ARM_NE10_ARCH_FILE_NAME "static_modes_fixed_arm_ne10.h" |
#endif |
-#define LPC_ORDER 24 |
- |
-void _celt_lpc(opus_val16 *_lpc, const opus_val32 *ac, int p); |
- |
-void celt_fir_c( |
- const opus_val16 *x, |
- const opus_val16 *num, |
- opus_val16 *y, |
- int N, |
- int ord, |
- opus_val16 *mem, |
- int arch); |
- |
-#if !defined(OVERRIDE_CELT_FIR) |
-#define celt_fir(x, num, y, N, ord, mem, arch) \ |
- (celt_fir_c(x, num, y, N, ord, mem, arch)) |
+#if defined(HAVE_ARM_NE10) |
+#define OVERRIDE_FFT (1) |
#endif |
-void celt_iir(const opus_val32 *x, |
- const opus_val16 *den, |
- opus_val32 *y, |
- int N, |
- int ord, |
- opus_val16 *mem, |
- int arch); |
- |
-int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, |
- const opus_val16 *window, int overlap, int lag, int n, int arch); |
- |
-#endif /* PLC_H */ |
+#endif |