Commit graph

10 commits

Author SHA1 Message Date
Jean-Marc Valin
57cd849cf7 Defining celt_inner_prod() and using it instead of explicit loops.
Also adds an SSE-optimized celt_inner_prod().
2013-12-09 15:26:58 -05:00
Gregory Maxwell
7830cf1bd2 Replace "inline" with OPUS_INLINE.
Newer versions of MSVC are unhappy with the strategy of the build
 environment redefining "inline" (even though they don't support the
 actual keyword). Instead we define OPUS_INLINE to the right thing
 in opus_defines.h.

This is the same approach we use for restrict.
2013-10-28 10:18:54 -07:00
Jean-Marc Valin
fa3344e825 Avoid name clash with y0 Bessel function 2013-06-27 04:15:44 -04:00
Jean-Marc Valin
b9176a4c3e Makes dual_inner_prod() more generic to increase its use 2013-06-17 16:37:41 -04:00
Jean-Marc Valin
96e2be37b8 Only enable non-multiple of 4 in comb_filter_const() when CUSTOM_MODES is on 2013-06-17 14:04:17 -04:00
Jean-Marc Valin
0d95b3b48c SSE optimization of comb_filter()
Should make it easy to adapt to other architectures.
2013-06-17 03:58:16 -04:00
Jean-Marc Valin
71766ef7a4 Avoids symbol clashes with Speex (pitch_xcorr) and libm (y1) 2013-06-17 00:44:12 -04:00
Jean-Marc Valin
4e018b22bb SSE optimization of remove_doubling()
Should be trivial to adapt for Neon.
2013-06-13 23:51:58 -04:00
John Ridges
e50e8084a9 Improved SSE version of xcorr_kernel()
The loop no longer reads past its buffer and is slightly faster.
Also fixes RESTORE_STACK in celt_iir().
2013-06-06 23:12:57 -04:00
Jean-Marc Valin
a092aa8f80 Adds SSE support (only xcorr_kernel() for now)
There's no CPU detection for it, it only gets enabled by __SSE__
which gcc (other compilers?) defines automatically when supported
by -march=, which means at least all x86-64. For ia32, the user needs to
enable it in the CFLAGS.
2013-06-05 18:56:07 -04:00