[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 39/43: dtv: move "static const" variables f
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 39/43: dtv: move "static const" variables from header / class into the main code. The original code is not necessary to have in the class, and causes issues when compiling using c++11 compliance. |
Date: |
Thu, 2 Apr 2015 19:15:53 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 225c6b33730b8812ba82cbc93884aef7edcaad1c
Author: Michael Dickens <address@hidden>
Date: Thu Apr 2 15:00:09 2015 -0400
dtv: move "static const" variables from header / class into the main code.
The original code is not necessary to have in the class, and causes issues when
compiling using c++11 compliance.
---
gr-dtv/lib/atsc/atsc_sync_impl.cc | 7 +++++++
gr-dtv/lib/atsc/atsc_sync_impl.h | 7 -------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gr-dtv/lib/atsc/atsc_sync_impl.cc
b/gr-dtv/lib/atsc/atsc_sync_impl.cc
index ec46d6b..d83bccc 100644
--- a/gr-dtv/lib/atsc/atsc_sync_impl.cc
+++ b/gr-dtv/lib/atsc/atsc_sync_impl.cc
@@ -31,6 +31,13 @@
namespace gr {
namespace dtv {
+ static const double LOOP_FILTER_TAP = 0.0005; // 0.0005 works
+ static const double ADJUSTMENT_GAIN = 1.0e-5 / (10 *
ATSC_DATA_SEGMENT_LENGTH);
+ static const int SYMBOL_INDEX_OFFSET = 3;
+ static const int MIN_SEG_LOCK_CORRELATION_VALUE = 5;
+ static const int SSI_MIN = -16;
+ static const int SSI_MAX = 15;
+
atsc_sync::sptr
atsc_sync::make(float rate)
{
diff --git a/gr-dtv/lib/atsc/atsc_sync_impl.h b/gr-dtv/lib/atsc/atsc_sync_impl.h
index eb0ad17..f5e6450 100644
--- a/gr-dtv/lib/atsc/atsc_sync_impl.h
+++ b/gr-dtv/lib/atsc/atsc_sync_impl.h
@@ -34,13 +34,6 @@ namespace gr {
class atsc_sync_impl : public atsc_sync
{
private:
- static const double LOOP_FILTER_TAP = 0.0005; // 0.0005 works
- static const double ADJUSTMENT_GAIN = 1.0e-5 / (10 *
ATSC_DATA_SEGMENT_LENGTH);
- static const int SYMBOL_INDEX_OFFSET = 3;
- static const int MIN_SEG_LOCK_CORRELATION_VALUE = 5;
- static const int SSI_MIN = -16;
- static const int SSI_MAX = 15;
-
gr::filter::single_pole_iir<float,float,float> d_loop; // ``VCO'' loop
filter
gr::filter::mmse_fir_interpolator_ff d_interp;
- [Commit-gnuradio] [gnuradio] 23/43: grc: make use of GRC_HIER_PATH at runtime, (continued)
- [Commit-gnuradio] [gnuradio] 23/43: grc: make use of GRC_HIER_PATH at runtime, git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 33/43: Merge remote-tracking branch 'saikwolf/hier_buff_tweak', git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 24/43: grc: use 'import' for grc-generated hier_blocks (#763), git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 02/43: gnuradio-runtime: updated hier_block2 and hier_block_detail to allow for propagation of min/max output buffer to all blocks within the hier, git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 21/43: grc: Default button in save dialog is now 'save' instead of 'close without saving', git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 37/43: Merge remote-tracking branch 'gnuradio-wg-grc/master_grcwg', git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 05/43: digital: bug fixed in chunks_to_symbols that the callback functiion set_symbol_table didn't work with additonal qa_tests, git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 32/43: Merge branch 'maint', git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 09/43: fec: adding objects needed to run LDPC along with example ALIST file, now imports and instantiates happily, git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 41/43: qtgui: use QPen::setWidthF for non-integer values., git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 39/43: dtv: move "static const" variables from header / class into the main code. The original code is not necessary to have in the class, and causes issues when compiling using c++11 compliance.,
git <=
- [Commit-gnuradio] [gnuradio] 43/43: Merge remote-tracking branch 'michaelld/fixes_for_std_complex', git, 2015/04/02
- [Commit-gnuradio] [gnuradio] 38/43: dtv: redo c++0x complaint std::complex to be c++11 compliant; works on OSX with GCC (4.2 and 4.8, using listdc++) and Clang (LLVM 3.4 and 3.6, using libc++), with and without -std=c++11., git, 2015/04/02