summaryrefslogtreecommitdiff
path: root/gr-digital/lib/diff_encoder_bb_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* digital: Add NRZI option to differential en/decoderDaniel Estévez2021-06-121-1/+4
| | | | | | | | | | | | | | | | | | | This adds an option to the differential encoder an decoder blocks to perform NRZI encoding and decoding. NRZI only makes sense with a modulus of 2, so the blocks constructors will throw and exception if passed nrzi = true and a modulus different from 2. The GRC blocks handle this by hiding the modulus field if the user selects NRZI encoding. A new unit test for the NRZI version of the blocks is added. Besides checking that encode plus decode gives the original, this test also compares the C++ implementation results against a Numpy implementation. Additionally, a faster implementation of differential encoding/ decoding for modulus 2 is included here. Signed-off-by: Daniel Estévez <daniel@destevez.net>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-1/+1
|
* Add `override` for common virtual function overridesThomas Habets2020-11-031-1/+1
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* gr-digital: Add more constThomas Habets2020-01-061-1/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-14/+14
|
* digital: moved include dir to gnuradio/digitalJohnathan Corgan2013-04-291-1/+1
|
* digital: updated blocks to make qa_constellation* tests pass.Tom Rondeau2012-08-121-0/+49