summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/interleave_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-65/+58
|
* interleave_impl.cc: Address Coverity 1327839, 1327840, 1327841, 1327842.Philip Balister2018-11-051-4/+4
| | | | | | | | | | Dividing two ints gives a result that is an int. Adding 0.5f and converting back to an int gives the original result. This change keeps the current behavior and doesn't implement the (suspected) desired behavior. If rounding is desired, the divison should be done as a float, so the 0.5f is added to a float before truncation. Signed-off-by: Philip Balister <philip@balister.org>
* Convert set_relative_rate(double) to the new integer or receiprocal callAndy Walls2018-08-231-1/+1
| | | | | | | | This is a mass conversion of existing set_relative_rate(double) calls to either the set_relative_rate(uint64_t, uint64_t) or set_inverse_relative_rate(double) calls, where ever easily possible and appropriate, to improve tag propagation precision for fixed relative rates.
* Removing trailing/extra whitespaces before release (for master).Tom Rondeau2014-07-071-8/+8
| | | | 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).
* Revert "blocks: add optional argument to deinterleave and interleave ctors ↵Tom Rondeau2014-05-171-19/+14
| | | | | | | | to not set relative rate." This reverts commit 0c589a7d8f18c9b6f7daf06ecfe2a90e84a004d2. Not necessary.
* blocks: add optional argument to deinterleave and interleave ctors to not ↵Tom Rondeau2014-05-171-14/+19
| | | | | | set relative rate. Whe using blocks of data, this doesn't always make sense (see the threading of the extended encoder and decoder in gr-fec).
* block interleave/deinterleave with statefull deinterleaveNicholas McCarthy2014-05-171-25/+53
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-4/+4
|
* blocks: added gr::blocks::interleaveJohnathan Corgan2012-07-061-0/+76