GNU Radio's DVBS2RX Package
util.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright (c) 2019-2021 Igor Freire.
4 *
5 * This file is part of gr-dvbs2rx.
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#ifndef INCLUDED_DVBS2RX_UTIL_H
11#define INCLUDED_DVBS2RX_UTIL_H
12
13#include "delay_line.h"
14#include <gnuradio/gr_complex.h>
15#include <volk/volk_alloc.hh>
16
17namespace gr {
18namespace dvbs2rx {
19
20void dump_real_vec(const float* vec, unsigned int N, const char* label);
21void dump_real_vec(const volk::vector<float>& vec, unsigned int N, const char* label);
22void dump_real_vec(const delay_line<float>& vec, const char* label);
23void dump_complex_vec(const gr_complex* vec, unsigned int N, const char* label);
24void dump_complex_vec(const volk::vector<gr_complex>& vec,
25 unsigned int N,
26 const char* label);
27void dump_complex_vec(const delay_line<gr_complex>& vec, const char* label);
28
29} // namespace dvbs2rx
30} // namespace gr
31
32#endif /* INCLUDED_DVBS2RX_UTIL_H */
Fixed-size delay-line with contiguous storage of volk-aligned elements.
Definition delay_line.h:34
void dump_real_vec(const float *vec, unsigned int N, const char *label)
void dump_complex_vec(const gr_complex *vec, unsigned int N, const char *label)
Fixed-length double-ended queue with contiguous volk-aligned elements.
Definition gr_bch.h:22