| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Remove a 1-element array for an over-allocated struct array. Also add a wrapper
struct for C++.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This applies the all-pass filter in two steps, first as a relatively short
time-domain FIR filter, then as a series of frequency domain convolutions
(using complex multiplies). Time-domain convolution scales poorly, so larger
convolutions benefit from being done in the frequency domain (though the first
part is still done in the time domain, to avoid longer delays).
|
| |
|
| |
|
|
|
|
|
|
| |
When you're doing hundreds or thousands of separate zconvolve calls into the
same buffer, it's more efficient to do the multiply once at the end instead of
in each call.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also update some comments.
|
|
|
|
|
|
| |
Make stylization more consistent.
Remove SVMUL (they all simulated it with a LD_PS1 on the scalar).
Avoid calling LD_PS1 on the same value in a loop.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also combine multiple allocations into one.
|
| |
|
| |
|
|
|
|
|
| |
This is a notably faster FFT implementation for 32-bit float signals, provided
under a 3-clause BSD license.
|
|
|
|
|
|
| |
This doesn't change the filter response, but is more correct since a real
signal won't have an imaginary value on them (it can only have a magnitude with
a phase of 0 or pi).
|
|
|
|
|
| |
This helps ensure COM is initialized and deinitialized in order relative to
other objects (e.g. ComPtr).
|
| |
|
|
|
|
|
| |
* Compile with c++20 support
* Update CMakeLists.txt
|
| |
|
|
|
|
| |
To avoid clashes with compilers that use it as a keyword already
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is very dumb. Template functions are implicitly marked inline according to
C++, and contrary to popular belief, "inline" *does* influence the compiler's
decision to inline a function. A function the compiler may not have decided to
inline normally may be inlined anyway, or issue a warning if it still decides
not to inline, if explicitly or implicitly marked as such (or does inline it as
requested, but then decides to not inline different functions it normally would
because of a cumulative code size increase or something).
Furthermore, once a function becomes inline due to being a template function,
there's no way to undo it. Marking an inline function "noinline" pushes the
problem the other way, causing the compiler to not inline a function it may
have decided was beneficial to inline. There's no way to declare a template
function to be inlined based solely on compiler heuristics, it will always be
influenced by the implicit "inline" or explicit "noinline".
That's what's happening here. A number of functions had been combined into a
smaller number of large-ish template functions to reduce code duplication and
ease maintanence, causing them to be implicitly inline as a side-effect. GCC
then manages to inline these larger functions as implicitly requested, but in
doing so prevents other smaller functions (which are explicitly marked inline)
from being inlined due to excessive code increase and issue a warning. The
"noinline" is a heavy-handed method of un-pessimizing the optimization pass, on
the assumption the compiler apparently doesn't actually want to inline the
template functions, but does so because they're technically marked inline.
There's no good option here until it gets acknowledged that inline does mean
something beyond allowing multiple definitions, and that template (and other
types of) function definitions sometimes (if not most often) want to allow
multiple definitions but don't want an artificial/detrimental boost in inline
prioritization.
/rant
|
|
|
|
|
| |
This also allows to include 11-bit indices in the fast lookup table path,
without exceeding GCC's internal limit of compile-time calculations.
|
|
|
|
|
| |
This replaces sin/cos calls with an array of 10 complex values for lookup
tables, and separates the first loop iteration with a constant x1 multiplier.
|
| |
|
| |
|
| |
|