Commit Graph

304 Commits

Author SHA1 Message Date
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
mborgerding
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
Steffen Kieß
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
mborgerding
760cb7e95f
Merge pull request #10 from jianlijianli/explicit_initialization
Initialize subsize explicitly
2018-10-09 14:10:55 -04:00
jianlijianli
7d72a4e2e1
Initialize subsize explicitly
This is added to avoid crash on some platforms.
2018-10-09 10:14:08 -07:00
lhprojects
5be9efe7b4
Update kissfft.hh 2018-07-25 23:26:53 +08:00
mborgerding
cddf3833fd
Merge pull request #5 from mborgerding/merge_bazaar
Merge bazaar
2018-07-21 12:27:55 -04:00
Mark Borgerding
21e1883ac2 Merge branch 'master' into merge_bazaar
Conflicts:
	.gitignore
2018-07-21 12:14:02 -04:00
Mark Borgerding
387a365a00 Merge branch 'bazaar' into merge_bazaar 2018-07-21 12:11:33 -04:00
Mark Borgerding
1e0b501971 Merge tag 'bazaar_base' into merge_bazaar 2018-07-21 12:11:14 -04:00
Mark Borgerding
c8f89f77bf squelched multiple definition preprocessor warning 2018-07-21 11:11:51 -04:00
Mark Borgerding
8049cde2d0 ignore test artifacts 2018-07-21 11:06:22 -04:00
Mark Borgerding
0dca78f0a5 added missing copyright notice 2018-07-21 11:02:03 -04:00
mborgerding
1837c1e4fd
Merge pull request #4 from hudokkow/spdx_license_identifier
Add SPDX License Identifier
2018-07-19 14:15:58 -04:00
h.udo
f73b91d570
[BSD-3-Clause] Add missing copyright notice 2018-07-19 14:49:00 +01:00
h.udo
4bff6bca72
[Unlicense] Convert to SPDX license format 2018-07-19 14:49:00 +01:00
h.udo
bc40eccbea
[BSD-3-Clause] Convert to SPDX license format 2018-07-19 14:49:00 +01:00
mborgerding
5c6a01d776
Merge pull request #2 from dornerworks/mm_free_fix
Use _mm_free on memory allocated with _mm_malloc.
2018-06-03 18:48:01 -04:00
Stewart Hildebrand
8921e1a3b6 Use _mm_free on memory allocated with _mm_malloc.
kiss_fft_alloc and kiss_fftr_alloc internally use KISS_FFT_MALLOC to allocate memory, which is defined to _mm_malloc in a SIMD enabled application. Calling free() on memory allocated with _mm_malloc will result in unpredictable behavior. The configuration data allocated with _mm_malloc should be freed with a corresponding _mm_free.
2018-06-03 14:29:12 -04:00
Mark Borgerding
1c3d6f5aa9 guard against multiple inclusion 2017-10-25 09:50:40 -04:00
Ian Daniher
d74fd2adaf Merge pull request #6 from orgua/master
fix type-system, use overload for tranform() and reorder butterfly-fn
2017-01-06 15:03:01 -05:00
Ingmar Splitt
5b13552996 integer cpp-version 2017-01-06 14:02:35 +01:00
Ingmar Splitt
68cca02565 add constness 2017-01-06 12:20:33 +01:00
orgua
c225efda5a fix indentation and remove not needed semicolons 2016-12-15 22:35:01 +01:00
orgua
daca3f4c06 fix type-system, use overload for tranform() and reorder butterfly-fn 2016-12-15 22:07:35 +01:00
Ian Daniher
2f703aa6ec Merge pull request #5 from xdissent/macos
Use dylib for macOS and ignore built libs
2016-11-03 19:42:53 -04:00
Greg Thornton
82d7f4cb8a Use dylib for macOS and ignore built libs 2016-11-03 06:46:07 -05:00
Ian Daniher
5720824f4c Merge pull request #4 from ralphtandetzky/master
Fix: Made FFT work for T = float.
2016-10-13 21:03:34 -07:00
Ralph Tandetzky
64800e61d8 Fix: Made FFT work for T = float.
Also removed some trailing spaces from line ends.
2016-09-20 14:02:49 +02:00
Ian Daniher
e797a0e189 Merge pull request #3 from ralphtandetzky/master
Made member functions of kissfft class const-correct.
2016-05-22 15:21:56 -07:00
Ralph Tandetzky
6a8798c453 Added the method kissfft::assign(). 2016-04-26 08:40:31 +02:00
Ralph Tandetzky
6e0d8bbcd2 Normalized identation in new code. 2016-04-25 10:17:41 +02:00
Ralph Tandetzky
1fbc2b6ab4 Added FFT from real input. Improved documentation. 2016-04-23 19:09:42 +02:00
Ralph Tandetzky
0395af753e Removed the needless use of a traits class. 2016-04-21 13:20:29 +02:00
Ralph Tandetzky
b10fb43644 Removed macro-like looking private methods of kissfft class.
All uses of these function were replaced by their implementation (which is mostly easier to read than the functions themselves).
2016-04-21 12:36:57 +02:00
Ralph Tandetzky
f78c115f92 Improved code quality.
* Replaced int by std::size_t where appropriate.
* Made traits member functions static.
* Removed redundant data from traits class.
* Made local variables const where possible.
* Made mutable variables as local as possible.
* Removed redundant variables.
* Improved white-space formatting for readability (sparingly).
2016-04-21 11:41:53 +02:00
Ralph Tandetzky
3c96a24710 Made member functions of kissfft class const-correct.
Also made member functions static where appropriate.
2016-04-21 10:42:20 +02:00
Ian Daniher
071e47d8ca Merge pull request #2 from jontio/patch-1
missing include guard added
2015-08-08 23:02:57 -04:00
Jonti Olds
5e87358ea8 missing include guard added
Fixed broken include guard #define KISSFFT_CLASS_HH
2015-08-07 08:30:42 +12:00
Ian Daniher
cf0a8088e0 add install target for shared lib 2015-04-09 21:31:37 -04:00
Ian Daniher
e3420f1731 build archive for static linking 2015-04-08 16:59:46 -04:00