aboutsummaryrefslogtreecommitdiffstats
path: root/common/alcomplex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove custom stuff for standardChris Robinson2023-05-041-1/+1
|
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-1/+1
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Remove a [[likely]] that confuses some versions of GCCChris Robinson2023-02-281-1/+1
|
* Avoid using auto for lambda parametersChris Robinson2023-02-061-1/+1
|
* Precalculate reused scale factorsChris Robinson2023-01-151-1/+1
|
* clang-tidy cleanups (#800)Rosen Penev2023-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Better handle span sources from iteratorsChris Robinson2022-12-141-1/+1
|
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-061-2/+2
|
* Use standard likely/unlikely attributes when availableChris Robinson2022-12-051-2/+2
|
* Use complex floats for convolution reverb FFTsChris Robinson2022-11-241-6/+12
|
* Avoid returning an array for constexpr tablesChris Robinson2022-11-241-38/+35
|
* Use a bind statement instead of a lambdaChris Robinson2022-08-291-2/+4
|
* Simplify FFT complex arg handling a bitChris Robinson2022-01-301-2/+4
|
* Start and use a standard-like numbers headerChris Robinson2022-01-271-2/+2
|
* Use precalculated lookup tables to swap FFT elementsChris Robinson2022-01-271-7/+91
| | | | | Rather than going through the whole array, calculating the bit-reversed index of each element, and not doing anything for more than half of them.
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-221-1/+2
|
* Avoid bitshifts for loop countingChris Robinson2020-11-081-11/+21
|
* Fix an invalid unicode character in a commentChris Robinson2020-09-141-1/+1
|
* Use inline wrappers to clarify forward/inverse FFTsChris Robinson2020-09-131-2/+2
|
* Partly simplify FFT bit-reversalChris Robinson2020-09-131-8/+4
| | | | | | | | | | | This can almost certainly be improved further, as less than half of the indices really need their reversed bit-pattern calculated and elements swapped (any symetrical bit pattern would just swap with itself, and indices whose reversed bit-pattern has already been traversed is already swapped). It may also prove beneficial to provide the base-2 log of the fft buffer size (number of bits to represent the indices), as that could help make the reversal more efficient with a known bit/loop count.
* Revert "Fix the FFT half point for the shifter effects"Chris Robinson2020-05-091-1/+1
| | | | This reverts commit 12bb5a47cda0ef6ec1ced73ccf5d267a71f9e710.
* Fix the FFT half point for the shifter effectsChris Robinson2020-05-081-1/+1
|
* Fix a few more GCC warningsChris Robinson2019-09-141-1/+1
|
* removed unnecessary loopLopuska2019-09-151-2/+0
| | | the caller in fshifter is already doing the same job by putting 0 for the imaginary part
* Cleanup common sources' includesChris Robinson2019-07-291-6/+5
|
* Use a span for the complex_fft/hilbert functionsChris Robinson2019-06-081-29/+29
|
* Avoid using old style castsFilip Gawin2019-01-081-1/+1
| | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295
* Use standard complex types instead of customChris Robinson2018-11-171-0/+76