summaryrefslogtreecommitdiff
path: root/gr-dtv/lib/dvbt
Commit message (Collapse)AuthorAgeFilesLines
* dtv: include boost/format where usedMarcus Müller2021-06-222-0/+4
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* global: remove iostream from all files not use cout|cerr|cin|clogMarcus Müller2021-06-171-1/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Fix typosluz paz2021-02-081-1/+1
| | | | | | | | Found via `codespell v2.1.dev0` `codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk` Signed-off-by: luz paz <luzpaz@users.noreply.github.com> Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* build: Remove clang unused variable warnings.Ron Economos2020-12-076-9/+0
|
* Move FFT functions and blocks to templates (#3903)mormj2020-11-032-2/+2
| | | | | | | | | | | | | * fft: refactor fft classes as templates In order to reduce code duplication construct fft objects and blocks with template paramters. Separate forward and reverse as a template parameter Maintain the real fft block forward as r2c and reverse as r2c as well Co-authored-by: Andrej Rode <mail@andrejro.de>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-0316-16/+16
|
* Add `override` for common virtual function overridesThomas Habets2020-11-0316-31/+31
| | | | | | | | | | 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.
* dtv: Remove manual memory managementThomas Habets2020-10-2322-561/+209
| | | | All removed except some tricky stuff in dvb_ldpc_bb_impl.
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-3016-49/+46
| | | | | | | | | | | | | | 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
* dtv: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-132-24/+17
| | | | | This is but a first step; a lot of code in gr-dtv is very much libc in C++, thus we'll have a lot of printf's to deal with in the future.
* gr-dtv: Optimize DVB-T transmitter by consolidating blocks.Ron Economos2020-02-092-5/+24
| | | | Move IFFT and normalization to Reference Signals block.
* Update license header to SPDX formatdevnulling2020-01-2734-442/+34
|
* gr-dtv: add missing std::nothrowValerii Zapodovnikov2020-01-261-1/+1
|
* Replace many `const` variables with `constexpr`Thomas Habets2020-01-041-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constexpr is like const but (for variables) guarantees evaluation at compile time (as opposed to runtime). Likely this change will do nothing on its own (though it could, since it gives the compiler more information). But it still has benefits. It allows programmer to know that initialization is not expensive (it was done at compile time), and reduces risk of a refactoring regressing the compiletimeness. Runtime initialization can be nonobvious in larger codebases. E.g.: struct S { static int foo(); }; const int bar = S::foo(); // Called and initialized at *runtime*. int S::foo() { return 10; } With constexpr: struct S { static constexpr int foo(); }; constexpr int bar = S::foo(); // Error: used before definition. constexpr int S::foo() { return 10; } Initializing at runtime is not just startup costs, but also can save memory since it'll end up in a R/O section of a binary and therefore doesn't need to be swapped out, but can be shared (in the mmap() sense of the word).
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-223-3/+3
|
* Fix for more misc typosluz.paz2019-08-102-2/+2
|
* clang-format: Ordering all the includesMarcus Müller2019-08-0927-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0934-4471/+4443
|
* dtv: Remove superfluous set_relative_rate() in DVB-T inner coder.Ron Economos2019-07-051-6/+1
| | | | Also remove assert that was failing for 7/8 rate on debug builds.
* dtv: Fix gcc8 -Wclass-memaccess warnings/errors.Ron Economos2019-01-111-3/+4
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-318-29/+21
|\
| * Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-287-11/+3
| |
| * math: replace M_PI and derivatives with GR_M_PI definesAndrej Rode2018-02-172-18/+18
| |
* | Convert set_relative_rate(double) to the new integer or receiprocal callAndy Walls2018-08-235-5/+6
|/ | | | | | | | 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.
* Comment typo fixing.luz.paz2018-02-034-4/+4
| | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* dtv: Send DVB-T Cell identifier (cell_id) correctly.Ron Economos2017-08-281-1/+6
|
* gr-dtv: Fix hardcoded parameter in dvbt_reed_solomon_encFlamewires2017-07-201-6/+7
| | | | | | Removed hardcoded parameter in dtvb_reed_solomon encoder. The same value is calculated with the defaults in the block, and this will allow the encoder to be used generically.
* dtv: use numeric_limits for min/max valuesBastian Bloessl2017-01-291-4/+5
|
* Merge branch 'maint'Johnathan Corgan2016-09-021-2/+0
|\
| * gr-dtv: Delete incorrect assert() and useless set_relative_rate().Ron Economos2016-09-021-3/+1
| |
* | gr-dtv: Use std::cerr instead of GR_LOG for non-block class.Ron Economos2016-08-241-12/+12
| |
* | gr-dtv: Remove all exit(1) calls and replace with exception.Ron Economos2016-08-1916-145/+230
| |
* | gr-dtv: Reduce DVB-T transmitter CPU usage.Ron Economos2016-08-194-46/+163
| |
* | gr-dtv: Replace DVB-T Reed-Solomon with existing implementation in gr-fec.Ron Economos2016-08-106-602/+105
|/
* gr-dtv: Fix segfault in DVB-T interleaver and deinterleaver.Ron Economos2016-08-032-7/+11
|
* Update dvbt_bit_inner_interleaver_impl.ccArtem Pisarenko2016-07-301-2/+3
| | | Fix out-of-bounds access to array (segmentation fault).
* Merge branch 'maint'Johnathan Corgan2016-05-305-24/+26
|\ | | | | | | | | Conflicts: CMakeLists.txt
| * MSVC-specific fixes for compatibilitygnieboer2016-05-305-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed dtv_viterbi_decoder to use __GR_ATTR_ALIGNED macro for cross-compiler compatibility * Replace usleep() with boost equivalent for cross-compiler compatibility * Includes windows-specific headers for portaudio * Added macro to handle use of VLAs on non-C99 compilers (MSVC) using alloca to declare variable length arrays * Remove setting SO_LINGER option for the UDP source. SO_LINGER is not an applicable option for a UDP socket. Windows will throw an exception if set. Linux allows it to be set but does not use it. * VS 2013+ supports round()
* | dtv: Fix usage of volk_32f_index_max*, first argument, to be uint16_t* as ↵Michael Dickens2016-05-281-1/+1
| | | | | | | | required by the Volk API.
* | Merge branch 'maint'Johnathan Corgan2016-05-012-4/+3
|\|
| * Fix assertions in DVBT blocks.Clayton Smith2016-05-012-4/+3
| |
* | gr-dtv: Vastly improved OFDM symbol acquisition for DVB-T receiver.flarroca2015-12-092-97/+102
|/
* dtv: fix segfault in DVB-T demod OFDM symbol acquisitionJohnathan Corgan2015-12-052-48/+10
| | | | | | * Fix indexing error in calculating bounds for correlation * Fix search range for correlation peak
* gr-dtv: Fix Coverity issue #1327847.Ron Economos2015-11-152-4/+2
|
* gr-dtv: Fix Coverity issue #1327535.Ron Economos2015-11-151-1/+2
|
* Merge branch 'maint'Johnathan Corgan2015-11-081-1/+1
|\
| * dtv: fix coverity issue #1327836Head4che2015-11-081-1/+1
| |
* | gr-dtv: Add generic version of DVB-T Viterbi decoder for non-x86 platforms.Ron Economos2015-10-132-1/+297
| |
* | Add DVB-T receiver updated files.Ron Economos2015-09-052-10/+11
| |