diff options
author | Linfeng Zhang <linfengz@google.com> | 2016-08-26 04:12:54 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-01-31 00:00:03 +0300 |
commit | cfdaf365b928755d04442af5bddb1e41726466b0 (patch) | |
tree | 257a72990e9cd53cd19e3a9247100019da6862ff /silk/main.h | |
parent | 68afa490ccc2fad1e3492f32119a381b9befc279 (diff) |
Optimize silk_NSQ_del_dec() for ARM NEON
The optimization is bit exact with C function.
This optimization speeds up SILK encoder on NEON as following.
Fixed-point:
Complexity 0-5: 0%
Complexity 6-7: 6%
Complexity 8-9: 10%
Complexity 10: 8%
Got similar results on floating-point.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'silk/main.h')
-rw-r--r-- | silk/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/silk/main.h b/silk/main.h index 13d42419..2cfca272 100644 --- a/silk/main.h +++ b/silk/main.h @@ -42,6 +42,10 @@ POSSIBILITY OF SUCH DAMAGE. #include "x86/main_sse.h" #endif +#if (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_MAY_HAVE_NEON_INTR)) +#include "arm/NSQ_del_dec_arm.h" +#endif + /* Convert Left/Right stereo signal to adaptive Mid/Side representation */ void silk_stereo_LR_to_MS( stereo_enc_state *state, /* I/O State */ |