summaryrefslogtreecommitdiff
path: root/gr-dtv/lib/atsc/atsc_fpll_impl.cc
diff options
context:
space:
mode:
authorghostop14 <ghostop14@gmail.com>2020-02-14 11:47:37 -0500
committerMarcus Müller <marcus@hostalia.de>2020-02-15 14:25:57 +0100
commit504ab76d9e4fc3e9f497b9fd34f01c1bad346a5d (patch)
treec64edca089a87217e56d8840a38382d7e2b4ec56 /gr-dtv/lib/atsc/atsc_fpll_impl.cc
parenta56c3a7f4908133dc6ceb93ffd3b2f9e1dda8e0e (diff)
gr-digital: Improve PLL Loops and Clock Recovery
These updates incorporate the same inlining of loop functions and the newly pushed fast_cc_multiply function to ensure consistent performance improvements across systems that do not support the cx-limited-range compiler parameter (Macs and Windows).
Diffstat (limited to 'gr-dtv/lib/atsc/atsc_fpll_impl.cc')
-rw-r--r--gr-dtv/lib/atsc/atsc_fpll_impl.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/gr-dtv/lib/atsc/atsc_fpll_impl.cc b/gr-dtv/lib/atsc/atsc_fpll_impl.cc
index b85a38207d..88d9940615 100644
--- a/gr-dtv/lib/atsc/atsc_fpll_impl.cc
+++ b/gr-dtv/lib/atsc/atsc_fpll_impl.cc
@@ -55,12 +55,7 @@ int atsc_fpll_impl::work(int noutput_items,
d_nco.sincos(&a_sin, &a_cos); // compute cos and sin
// Mix out carrier and output I-only signal
-
- // PR Merge Note: Once the Costas Optimization PR #3076 merges, this
- // line below helps with performance when cx_limited_range is not available
- // such as on Macs and Windows. Once the merge happens I'll push an update.
- // gr::fast_cc_multiply(result, in[k], gr_complex(a_sin, a_cos));
- result = in[k] * gr_complex(a_sin, a_cos);
+ gr::fast_cc_multiply(result, in[k], gr_complex(a_sin, a_cos));
out[k] = result.real();