Commit Graph

339 Commits

Author SHA1 Message Date
58cf0c0fc1 alignment fixing for USE_SIMD - all memory allocations are rounded
up to 16-byte boundaries.  This fixes crashes where the sub-buffers
for complex FFTs end up unaligned violating compiler expectations
2020-04-18 20:43:26 -04:00
33d9ad3bad include guard for kiss guts - fixes compile on unity build systems 2020-04-18 20:42:30 -04:00
c2c0c0be03 Merge pull request #38 from jtojnar/packagability
Improve packagability
2020-04-06 05:25:16 -04:00
b39de321ca build: Make datatype configurable 2020-04-06 08:04:19 +02:00
1d7e76e0af build: Use install command for installing files
In build chroots of some package managers, the libdir does not exist yet so we need to create it.
2020-04-06 07:32:55 +02:00
fffc26e89a build: Fix make install on Darwin 2020-04-06 06:03:06 +02:00
4193457bf4 build: Make installation prefix configurable
Nix uses different prefix so we need it configurable.
2020-04-06 05:55:54 +02:00
3f3fc6ab55 upgrade to newer dist 2020-03-15 15:07:21 -04:00
592bdf7da8 want travis to run with python 2.7(for now) and 3.7 2020-03-15 15:01:10 -04:00
b420613372 I had to fix some python3 incompatibilities and realized how embarrassing the code was. I refactored to make it look a little more like it was written by someone who knows Python. 2020-03-15 14:53:58 -04:00
1efe72041e above commit was cherry-picked from MoonchildProductions fork of kissfft (closes issue #26) 2019-08-07 21:27:25 -04:00
f4496dc080 Prevent stack corruption with parallelized use.
If the length of the data set for the transform is a prime, then the OpenMP parallelization results
in a recursion loop until the stack is corrupted or exhausted.
This resolves #1.
2019-08-07 21:25:01 -04:00
3050076ab3 Merge pull request #28 from bmcdonnell-ionx/user-override-malloc
Allow user override of malloc and/or free
2019-08-07 13:00:35 -04:00
d06e7a7106 Allow user override of KISS_FFT_MALLOC and/or KISS_FFT_FREE on SIMD platforms 2019-08-07 12:10:01 -04:00
033f759ee3 Allow user override of KISS_FFT_MALLOC and/or KISS_FFT_FREE on non-SIMD platforms 2019-08-07 12:07:02 -04:00
24d23ffbb8 whitespace 2019-08-07 12:04:31 -04:00
b24d80769b removed unused and rotted code (closes #25) 2019-07-19 10:44:21 -04:00
36dbc05760 Merge pull request #22 from detly/master
Include stdint.h only where fixed point types are used. Use min/max v…
2019-04-05 05:56:08 -04:00
d1f9113c51 Include stdint.h only where fixed point types are used. Use min/max values from stdint.h. 2019-04-05 19:27:40 +11:00
a75f08488c Merge pull request #21 from jmcph4/fix20
Include `stdint.h` in `_kiss_fft_guts.h`
2019-03-24 07:16:49 -04:00
bd550240fa Include stdint.h in _kiss_fft_guts.h
This commit adds an `#include` directive for the standard integer
header (`stdint.h`).
2019-03-24 10:44:06 +10:00
0bfa4d538f version v131 v131 2019-02-01 07:57:58 -05:00
b9839d01f7 converted using statement to a typedef to allow header to work with c++98 2019-02-01 07:53:52 -05:00
022e427e44 Merge branch 'master' of github.com:mborgerding/kissfft 2019-02-01 07:48:50 -05:00
4701177a75 switched "make tarball" from hg to git command 2019-02-01 07:48:36 -05:00
cbf1f0eed1 removed unused and unmaintained mk_test.py 2019-02-01 07:40:39 -05:00
a7ea65edb1 more modern python 2019-02-01 07:38:42 -05:00
e931ae3d4b no longer use deprecated popen2 module 2019-02-01 07:20:01 -05:00
20f01252b5 Merge pull request #19 from lucifetsmith/patch-1
Update README.md
2019-02-01 06:57:16 -05:00
99478d557d Update README.md 2019-02-01 14:20:53 +08:00
1420d11017 Update README.md
Change Travis CI url from lucifetsmith/kissfft to mborgerding/kissfft
2019-02-01 13:45:35 +08:00
bc6a534c7b Merge pull request #18 from lucifetsmith/master
Travis CI
2019-01-30 20:14:14 -05:00
2450b3930b Update .travis.yml 2019-01-26 13:40:19 +08:00
a74d6edce9 Update README.md 2019-01-26 12:04:56 +08:00
5ba824ceec Update README.md 2019-01-26 11:59:54 +08:00
6668a8214b Create README.md 2019-01-26 11:32:03 +08:00
40ff673342 Update .travis.yml 2019-01-26 11:11:27 +08:00
81b5370ded Update .travis.yml 2019-01-26 11:04:19 +08:00
ac79f0a767 Create .travis.yml 2019-01-26 10:39:49 +08:00
d793efd0d9 Removed offer for commercial license 2018-11-27 20:05:57 -05:00
eb32385a10 Merge pull request #6 from lhprojects/master
Add member vector in kissfft class as a buffer
2018-11-27 20:02:56 -05:00
9951e3baa2 Merge pull request #15 from rikardfalkeborn/psdpng-fixes
Psdpng fixes
2018-11-27 19:57:40 -05:00
cfa9afee31 Add checks for memory failures 2018-11-28 00:38:01 +01:00
5c845c5006 Free memory
This makes psdpng run clean under address sanitizer and valgrind.
2018-11-28 00:38:01 +01:00
d8ccb037a0 Fix memset size
In the call to memset(), the size of the pointer to mag2buf was
erroneously used instead of size of what mag2buf pointed to (float).
This leads to problems on systems where the size of the pointer is
different from the size of floats. Instead of just fixing the size,
use calloc() instead of malloc() to directly set the memory to 0.
2018-11-28 00:37:29 +01:00
07e6dd04aa Merge pull request #12 from steffen-kiess/cpp-fix-precision
Use std::acos() instead of acos() in C++ version
2018-11-26 12:45:36 -05:00
918df60ae2 Use std::acos() instead of acos()
std::acos() will automatically select the correct version. acos() on the
other hand will use double precision, which is bad if scalar_t is
long double.
2018-11-26 17:54:29 +01:00
760cb7e95f Merge pull request #10 from jianlijianli/explicit_initialization
Initialize subsize explicitly
2018-10-09 14:10:55 -04:00
7d72a4e2e1 Initialize subsize explicitly
This is added to avoid crash on some platforms.
2018-10-09 10:14:08 -07:00
5be9efe7b4 Update kissfft.hh 2018-07-25 23:26:53 +08:00