Displaying 3 results from an estimated 3 matches for "celt_lpc_neon".
2013 May 23
2
ASM runtime detection and optimizations
...lt/celt_lpc.c
index c75c25b..1eac65b 100644
--- a/celt/celt_lpc.c
+++ b/celt/celt_lpc.c
@@ -32,9 +32,21 @@
#include "celt_lpc.h"
#include "stack_alloc.h"
#include "mathops.h"
+#include "cpu_support.h"
-#ifdef ARM_HAVE_NEON
+#ifdef ARM_ASM
#include "celt_lpc_neon.h"
+void (* const celt_fir[OPUS_ARCHMASK+1])(const opus_val16 *, const opus_val16 *,
+ opus_val16 *, int, int, opus_val16 *) = {
+ celt_fir_c, //C
+ celt_fir_c, //ARMV4
+ celt_fir_c, //ARMv5E
+ celt_fir_c, //ARMv6
+ celt_fir_neon //NEON
+};
+#else
+void (* const celt_fir[OP...
2013 May 21
0
[PATCH] 02-
...aris
France
-------------- next part --------------
diff --git a/celt/celt_lpc.c b/celt/celt_lpc.c
index d2addbf..14a7839 100644
--- a/celt/celt_lpc.c
+++ b/celt/celt_lpc.c
@@ -33,6 +33,10 @@
#include "stack_alloc.h"
#include "mathops.h"
+#ifdef ARM_HAVE_NEON
+#include "celt_lpc_neon.h"
+#endif
+
void _celt_lpc(
opus_val16 *_lpc, /* out: [0...p-1] LPC coefficients */
const opus_val32 *ac, /* in: [0...p] autocorrelation values */
@@ -87,6 +91,7 @@ int p
#endif
}
+#ifndef OVERRIDE_CELT_FIR
void celt_fir(const opus_val16 *x,
cons...
2013 May 21
2
[PATCH] 02-Add CELT filter optimizations
...aris
France
-------------- next part --------------
diff --git a/celt/celt_lpc.c b/celt/celt_lpc.c
index d2addbf..14a7839 100644
--- a/celt/celt_lpc.c
+++ b/celt/celt_lpc.c
@@ -33,6 +33,10 @@
#include "stack_alloc.h"
#include "mathops.h"
+#ifdef ARM_HAVE_NEON
+#include "celt_lpc_neon.h"
+#endif
+
void _celt_lpc(
opus_val16 *_lpc, /* out: [0...p-1] LPC coefficients */
const opus_val32 *ac, /* in: [0...p] autocorrelation values */
@@ -87,6 +91,7 @@ int p
#endif
}
+#ifndef OVERRIDE_CELT_FIR
void celt_fir(const opus_val16 *x,
cons...