summaryrefslogtreecommitdiff
path: root/gr-digital/lib/corr_est_cc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/corr_est_cc_impl.h')
-rw-r--r--gr-digital/lib/corr_est_cc_impl.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gr-digital/lib/corr_est_cc_impl.h b/gr-digital/lib/corr_est_cc_impl.h
index 9b8b4f1978..f9a7a333cf 100644
--- a/gr-digital/lib/corr_est_cc_impl.h
+++ b/gr-digital/lib/corr_est_cc_impl.h
@@ -24,22 +24,24 @@ class corr_est_cc_impl : public corr_est_cc
private:
pmt::pmt_t d_src_id;
std::vector<gr_complex> d_symbols;
- float d_sps;
+ const float d_sps;
unsigned int d_mark_delay, d_stashed_mark_delay;
float d_thresh, d_stashed_threshold;
- kernel::fft_filter_ccc* d_filter;
+ kernel::fft_filter_ccc d_filter;
- gr_complex* d_corr;
- float* d_corr_mag;
+ volk::vector<gr_complex> d_corr;
+ volk::vector<float> d_corr_mag;
float d_scale;
float d_pfa; // probability of false alarm
- tm_type d_threshold_method;
+ const tm_type d_threshold_method;
void _set_mark_delay(unsigned int mark_delay);
void _set_threshold(float threshold);
+ static constexpr int s_nitems = 24 * 1024;
+
public:
corr_est_cc_impl(const std::vector<gr_complex>& symbols,
float sps,