summaryrefslogtreecommitdiff
path: root/gr-fec/lib/async_encoder_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* global: Replace stdio logging with loggerDavid Winter2021-10-211-5/+7
| | | | | | | This commit replaces many uses of std::c{out,err} and printf with the appropriate GR_LOG_* directives. Signed-off-by: David Winter <david.winter@analog.com>
* 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_encoder: Remove manual memory managementThomas Habets2020-08-141-32/+14
|
* 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
|
* 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-125/+125
|
* Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-2/+1
|
* fec: Adds MTU parameter to async and tagged stream blocks.Tom Rondeau2015-09-241-5/+16
| | | | | | | | | | 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.
* Merge remote-tracking branch 'mmueller/gr_fec_async_encoder_signage'Johnathan Corgan2015-04-061-3/+3
|\
| * fixed signed/unsigned comparisonMarcus Müller2015-04-061-3/+3
| | | | | | | | | | int for all the things, since generic_encoder::get*size returns int, not size_t.
* | fixed printf("%d", size_t)Marcus Müller2015-04-061-1/+1
|/ | | | | needs to be u; addresses https://scan6.coverity.com:8443/reports.htm#v31371/p10336/fileInstanceId=27864370&defectInstanceId=9318166&mergedDefectId=746152&eventId=9318166-0
* fec: ldpc encoder now working in async encoder interfaceTim O'Shea2015-04-011-3/+17
|
* fec: wip: fixing up allocated memory; allowing async encoder deployment to ↵Tom Rondeau2014-05-201-22/+52
| | | | be used with CCSDS (packed input requirement).
* fec: wip: async encoder/decoder working deployments.Tom Rondeau2014-05-191-20/+54
| | | | Decoder uses API signatures to do shifting, data conversions. New examples showing use.
* fec: wip: adding concept of padding for CC encoder/decoder.Tom Rondeau2014-05-171-1/+1
| | | | When using terminated mode, the CC encoder adds K-1 bits to the output, which doesn't fit a full byte and will throw off the book-keeping in PDU or tagged mode. Padding to fill a byte tells both encoder and decoder to handle the extra bits.
* blocks: adding reverse packing/unpacking functions.Tom Rondeau2014-05-171-13/+22
|
* fec: wip: using unpack/pack k bits kernels instead of copying logic in here.Tom Rondeau2014-05-171-14/+10
| | | | Need to remove volk_malloc from encode.
* fec: wip: fixing formatting.Tom Rondeau2014-05-171-118/+125
|
* fec: wip: adding async (PDU) encoder and decoder blocks.Tom Rondeau2014-05-171-0/+118