summaryrefslogtreecommitdiff
path: root/gr-fft/lib/fft.cc
Commit message (Collapse)AuthorAgeFilesLines
* modules: include boost/format where usedMarcus Müller2021-09-071-1/+1
| | | | | | | | | | | | | | | | | | | in the classic modules: audio blocks digital dtv fec fft filter qtgui trellis/fsm uhd video-sdl vocoder/freedv_rx Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace boost::filesystem with std::filesystemZackery Spytz2021-03-131-3/+2
| | | | Signed-off-by: Zackery Spytz <zspytz@gmail.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Move FFT functions and blocks to templates (#3903)mormj2020-11-031-109/+40
| | | | | | | | | | | | | * fft: refactor fft classes as templates In order to reduce code duplication construct fft objects and blocks with template paramters. Separate forward and reverse as a template parameter Maintain the real fft block forward as r2c and reverse as r2c as well Co-authored-by: Andrej Rode <mail@andrejro.de>
* fft&filter: Remove malloc_complex/freeThomas Habets2020-09-081-7/+0
|
* gr-fft: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-131-6/+16
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* gr-fft: Remove unused private variables.Ron Economos2020-01-261-9/+3
|
* fft: Add message to static_assertVasil Velichkov2020-01-241-3/+6
| | | | | | | | | | | | In c++11 the static_assert takes two parameters while in c++17 a version with only one parameter was added https://en.cppreference.com/w/cpp/language/static_assert Compilation on CentOS 7 with gcc 4.8.5 fails with gr-fft/lib/fft.cc:164:62: error: expected ',' before ')' token static_assert(sizeof(fftwf_complex) == sizeof(gr_complex));
* gr-fft: Remove malloc_{float,double}Thomas Habets2020-01-041-10/+0
| | | | volk::vector<> is a better choice.
* gr-fft: Modernize fft codeThomas Habets2020-01-041-58/+22
| | | | | | | | * Add const where possible * Disable copy assignment and copy constructor where not safe (for now) to copy * Manual memory management -> smart pointers and vectors * De-pointerify where possible * assert -> static_assert
* clang-format: Ordering all the includesMarcus Müller2019-08-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-301/+273
|
* fft: FFTW wisdom file locking was only taking place from gr::fft::fft_complex.Balint Seeber2018-03-221-12/+25
| | | | Generalise lock init and also enable it from 'fft_real_fwd' and 'fft_real_rev'.
* gr-fft: Fix compilation under MinGWPaul Cercueil2017-06-281-2/+2
| | | | Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* gr-fft: Reuses file_lock object to prevent deadlocking on win32gnieboer2017-06-131-12/+12
|
* gr-fft: Adds w32 specific headers to fft.ccgnieboer2017-06-131-0/+4
|
* gr-fft: add locking mechanism to fftw_wisdomAndrej Rode2017-04-301-0/+32
|
* runtime: fixed dangling pointer returns in vmcircbuf_prefs.cc and fft.ccdae hyun, yang2016-05-081-8/+8
| | | | | | | | | | | The following error messages occurs In Windows XP/7/8 :Invalid argument :Invalid argument :Invalid argument The reason is return path.string().c_str(); // return invalid pointer in Windows XP/7/8
* fft: replace fftwf_malloc with volk_mallocNathan West2016-03-091-26/+27
| | | | | | | | fftwf might not be compiled with AVX, which results in improper alignment when fftwf_malloc'd buffers are used in VOLK kernels. To fix this, just replace all fftw_malloc/fftwf_free calls with volk_malloc/volk_free calls with whatever alignment VOLK claims is needed.
* Tabs -> spacesDoug Geiger2015-09-171-57/+65
|
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-7/+7
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* fft: moved include dir to gnuradio/fftJohnathan Corgan2013-04-291-1/+1
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-3/+3
|
* fft: adding a malloc for doubles.Tom Rondeau2012-07-031-0/+6
| | | | In core for master, also exporting symbols for use externally.
* fft: put helper classes in namespaceJohnathan Corgan2012-04-291-0/+338