aboutsummaryrefslogtreecommitdiffstats
path: root/common/bsinc_tables.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use a unique_ptr for constructing the bsinc table coefficientsChris Robinson2020-04-071-25/+22
|
* Dynamically allocate the temporary bsinc filter tableChris Robinson2020-04-061-2/+7
|
* Pass the BSincHeader by reference instead of valueChris Robinson2020-04-051-2/+2
|
* Avoid storing the bsinc coefficient deltas before outputChris Robinson2020-04-041-48/+49
| | | | This cuts the majority of stack use when generating the coefficients.
* Fix bsinc filter alignment and offsetsChris Robinson2020-04-021-3/+3
|
* Avoid std::abs in a constexpr functionChris Robinson2020-04-021-1/+1
|
* Generate the bsinc tables using constexpr methodsChris Robinson2020-04-021-0/+340
All the methods used should be compliant with C++14 constexpr rules. However, the number of scales and phases cause GenerateBSincCoeffs to reach the allowed step limit, preventing full compile-time generation. It's not a terribly big deal, it'll generate them very quickly when loading, but it does prevent using shared read-only memory pages.