summaryrefslogtreecommitdiff
path: root/gr-digital/lib/costas_loop_cc_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* global: automatically remove unused boost includesMarcus Müller2021-06-221-1/+0
| | | | | | | | used command: sed -i '/^#include.*boost.*$/d' $(ag -L '(boost::|BOOST)' $(ag --cpp -l '#include <boost')) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-1/+1
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* msg_handler: Use lambdas in most componentsJohannes Demel2020-06-041-1/+1
| | | | | With this commit, all components except gr-qtgui use lambdas instead of `boost::bind` to register msg handlers.
* gr-digital: Improve Performance of Costas Loopghostop142020-02-141-103/+45
| | | | | | | | | | | | | This update is focused on improving the throughput of the Costas loop, however some changes are more global performance enhancements as this PR has evolved. Updates include an ENABLE_NATIVE added to CMake, which is off by default but enables native compiling (including FMA support) if desired; sincos was inlined in sincos.h and sincos.cc was removed from the appropriate CMake to improve sincos speed, some constants were added to math.h, inlined functions in costas loop and nco.h, used switch instead of function pointer (much faster), and used fast complex multiply to get around all the range checking in the standard complex.h complex multiply function on all builds.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* gr-digital: Remove unused private variable and -Wsign-compare warnings.Ron Economos2020-01-271-1/+0
|
* Fix all formatting issuesMartin Braun2020-01-101-18/+19
| | | | | This fixes every leftover file in the GNU Radio source tree to match our clang-format definition.
* gr-digital/costas_loop: use std::norm for |z|^2japm482020-01-091-3/+3
|
* gr-digital/costas_loop: |z|*|z| -> z*conj(z)Thomas Habets2020-01-061-3/+3
|
* gr-digital: Replace double math funcs with float versionsThomas Habets2020-01-061-2/+2
|
* Change some ints to unsigned intThomas Habets2020-01-061-3/+3
|
* gr-digital: Add more constThomas Habets2020-01-061-34/+30
|
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-221-1/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-214/+218
|
* digital: add loop var outputs to costas_loop_ccStephen Larew2016-12-011-40/+26
|
* digital: addresses issue #876.Tom Rondeau2016-01-271-1/+1
| | | | | | | | | | The constellation receiver controlport interface was modeled after the costas_loop_cc block, but the inheritance of the two blocks to control_loop was different. This changes the inheritance of constellation_reciever_cb. It also fixes the name of the "loop_bw" parameter to be consistent between the set and get ControlPort interfaces.
* digital: adding use of tanh and snr info to costas loop.Tom Rondeau2014-10-211-7/+61
|
* digital: white space removal.Tom Rondeau2014-04-101-9/+9
|
* digital: fixed location of new corr_and_sync example and added UHD-based ↵Tom Rondeau2013-11-071-4/+0
| | | | corr_and_sync files for OTA tests.
* digital: costas_loop looks for 'phase_est' tags and resets its phase ↵Tom Rondeau2013-10-291-0/+23
| | | | | | estimate based on this. pfb_clock_sync_ccf does the same with the 'time_est' tag to initialize loops on a burst. pfb_clock_sync_ccf has the same modifications as the _fff block in the last commit.
* digital: adding ControlPort interfaces to the costas loop (also formatting ↵Tom Rondeau2013-10-291-29/+84
| | | | tabs to spaces).
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-9/+9
|
* blocks: removing gri_control_loop; using gr::blocks::control_loop now.Tom Rondeau2013-03-101-1/+1
|
* digital: converted correlator blocks to 3.7; everything to make ↵Tom Rondeau2012-08-121-0/+161
qa_correlate_access_code work.