summaryrefslogtreecommitdiff
path: root/gr-fec/lib/async_decoder_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* fec/async_decoder: Remove manual memory managementThomas Habets2020-08-141-29/+15
|
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-2/+2
| | | | | | | | | | | | | | 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-3/+2
| | | | | With this commit, all components except gr-qtgui use lambdas instead of `boost::bind` to register msg handlers.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Fix all formatting issuesMartin Braun2020-01-101-1/+2
| | | | | This fixes every leftover file in the GNU Radio source tree to match our clang-format definition.
* Fix heap corruption bug in async_decoderDaniel Estévez2020-01-051-1/+1
| | | | | | When using async_decoder with a CC decoder with k = 7 and no input byte packing, the frame size of the underlying FEC decoder is set incorrectly to a too large value. This causes out of bounds accesses which corrupt the heap.
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-164/+157
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-2/+1
|\
| * Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-2/+1
| |
* | fec: remove runtime pmt::intern'ing when asking for iterationsMarcus Müller2018-02-231-1/+2
|/
* Merge branch 'fec/add_mtu_setting'Tom Rondeau2015-09-251-19/+15
|\ | | | | | | | | Conflicts: gr-fec/lib/async_decoder_impl.cc
| * fec: removed logic that will never hit.Tom Rondeau2015-09-251-9/+1
| | | | | | | | | | We prevent packets larger than the MTU now, so no need to adjust the buffer size.
| * fec: Adds MTU parameter to async and tagged stream blocks.Tom Rondeau2015-09-241-20/+24
| | | | | | | | | | | | | | | | | | | | The maximum transmission unit (MTU, in bytes) sets up the encoders and decoders with enough internal buffer space to accommodate frames of varying sizes up to the MTU. Proections placed to make sure incoming tagged streams and PDUs don't exceed this. This also fixes a bug in the tagged stream encoder and decoder blocks to properly use calculate_output_stream_length.
* | fec: Fixed async_decoder. Can't use nbits_out because it's 0 at this point.Tom Rondeau2015-09-251-6/+6
|/ | | | Need to calculate based on nbits_in*rate.
* fec: more warning / sign cleanupTim O'Shea2015-04-061-6/+6
|
* fec: ldpc works, add iterations meta tag, etcTim O'Shea2015-04-011-1/+4
|
* fec: LDPC async decoder now runningTim O'Shea2015-04-011-4/+24
|
* fec: wip: fixing up allocated memory; allowing async encoder deployment to ↵Tom Rondeau2014-05-201-1/+1
| | | | be used with CCSDS (packed input requirement).
* fec: wip: async encoder/decoder working deployments.Tom Rondeau2014-05-191-30/+142
| | | | Decoder uses API signatures to do shifting, data conversions. New examples showing use.
* fec: wip: fixing formatting.Tom Rondeau2014-05-171-111/+111
|
* fec: wip: adding async (PDU) encoder and decoder blocks.Tom Rondeau2014-05-171-0/+111