Commit Graph

344 Commits

Author SHA1 Message Date
Krzysztof Pawlak
7c47cc9957 Add common logging mechanism, use NDEBUG to turn off logging 2020-05-26 14:25:27 +02:00
Mark Borgerding
cf5813a1b4 added test for simd crash to "make testall" and thus travis CI 2020-04-19 10:06:56 -04:00
Mark Borgerding
e53d6d4bea changed tabs to spaces for consistency and fix compiler warnings. Removed assert call (would require assert.h inclusion somewhere). 2020-04-19 10:02:45 -04:00
Mark Borgerding
07ccd8162e Merge remote-tracking branch 'xplane/master' into simd_misaligned 2020-04-19 09:58:35 -04:00
Mark Borgerding
b30b93cd97 A test case for issue #40. Segfaults with: make -C test test_simd && ./test/test_simd 2020-04-19 09:57:40 -04:00
Ben Supnik
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
Ben Supnik
33d9ad3bad include guard for kiss guts - fixes compile on unity build systems 2020-04-18 20:42:30 -04:00
mborgerding
c2c0c0be03
Merge pull request #38 from jtojnar/packagability
Improve packagability
2020-04-06 05:25:16 -04:00
Jan Tojnar
b39de321ca
build: Make datatype configurable 2020-04-06 08:04:19 +02:00
Jan Tojnar
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
Jan Tojnar
fffc26e89a
build: Fix make install on Darwin 2020-04-06 06:03:06 +02:00
Jan Tojnar
4193457bf4
build: Make installation prefix configurable
Nix uses different prefix so we need it configurable.
2020-04-06 05:55:54 +02:00
Mark Borgerding
3f3fc6ab55 upgrade to newer dist 2020-03-15 15:07:21 -04:00
Mark Borgerding
592bdf7da8 want travis to run with python 2.7(for now) and 3.7 2020-03-15 15:01:10 -04:00
Mark Borgerding
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
Mark Borgerding
1efe72041e above commit was cherry-picked from MoonchildProductions fork of kissfft (closes issue #26) 2019-08-07 21:27:25 -04:00
wolfbeast
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
mborgerding
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
Brendan McDonnell
d06e7a7106 Allow user override of KISS_FFT_MALLOC and/or KISS_FFT_FREE on SIMD platforms 2019-08-07 12:10:01 -04:00
Brendan McDonnell
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
Brendan McDonnell
24d23ffbb8 whitespace 2019-08-07 12:04:31 -04:00
Mark Borgerding
b24d80769b removed unused and rotted code (closes #25) 2019-07-19 10:44:21 -04:00
mborgerding
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
Jason Heeris
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
mborgerding
a75f08488c
Merge pull request #21 from jmcph4/fix20
Include `stdint.h` in `_kiss_fft_guts.h`
2019-03-24 07:16:49 -04:00
jmcph4
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
Mark Borgerding
0bfa4d538f version v131 2019-02-01 07:57:58 -05:00
Mark Borgerding
b9839d01f7 converted using statement to a typedef to allow header to work with c++98 2019-02-01 07:53:52 -05:00
Mark Borgerding
022e427e44 Merge branch 'master' of github.com:mborgerding/kissfft 2019-02-01 07:48:50 -05:00
Mark Borgerding
4701177a75 switched "make tarball" from hg to git command 2019-02-01 07:48:36 -05:00
Mark Borgerding
cbf1f0eed1 removed unused and unmaintained mk_test.py 2019-02-01 07:40:39 -05:00
Mark Borgerding
a7ea65edb1 more modern python 2019-02-01 07:38:42 -05:00
Mark Borgerding
e931ae3d4b no longer use deprecated popen2 module 2019-02-01 07:20:01 -05:00
mborgerding
20f01252b5
Merge pull request #19 from lucifetsmith/patch-1
Update README.md
2019-02-01 06:57:16 -05:00
lucifetsmith
99478d557d
Update README.md 2019-02-01 14:20:53 +08:00
lucifetsmith
1420d11017
Update README.md
Change Travis CI url from lucifetsmith/kissfft to mborgerding/kissfft
2019-02-01 13:45:35 +08:00
mborgerding
bc6a534c7b
Merge pull request #18 from lucifetsmith/master
Travis CI
2019-01-30 20:14:14 -05:00
lucifetsmith
2450b3930b
Update .travis.yml 2019-01-26 13:40:19 +08:00
lucifetsmith
a74d6edce9
Update README.md 2019-01-26 12:04:56 +08:00
lucifetsmith
5ba824ceec
Update README.md 2019-01-26 11:59:54 +08:00
lucifetsmith
6668a8214b
Create README.md 2019-01-26 11:32:03 +08:00
lucifetsmith
40ff673342
Update .travis.yml 2019-01-26 11:11:27 +08:00
lucifetsmith
81b5370ded
Update .travis.yml 2019-01-26 11:04:19 +08:00
lucifetsmith
ac79f0a767
Create .travis.yml 2019-01-26 10:39:49 +08:00
mborgerding
d793efd0d9
Removed offer for commercial license 2018-11-27 20:05:57 -05:00
mborgerding
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
mborgerding
9951e3baa2
Merge pull request #15 from rikardfalkeborn/psdpng-fixes
Psdpng fixes
2018-11-27 19:57:40 -05:00
Rikard Falkeborn
cfa9afee31 Add checks for memory failures 2018-11-28 00:38:01 +01:00
Rikard Falkeborn
5c845c5006 Free memory
This makes psdpng run clean under address sanitizer and valgrind.
2018-11-28 00:38:01 +01:00
Rikard Falkeborn
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