GNU Radio C++ API Reference: dvbt2_p1insertion_cc.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
dvbt2_p1insertion_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015,2017 Free Software Foundation, Inc.
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 *
7 */
8
9#ifndef INCLUDED_DTV_DVBT2_P1INSERTION_CC_H
10#define INCLUDED_DTV_DVBT2_P1INSERTION_CC_H
11
12#include <gnuradio/block.h>
13#include <gnuradio/dtv/api.h>
14#include <gnuradio/dtv/dvb_config.h>
15#include <gnuradio/dtv/dvbt2_config.h>
16
17namespace gr {
18namespace dtv {
19
20/*!
21 * \brief Inserts a P1 symbol.
22 * \ingroup dtv
23 *
24 * Input: OFDM T2 frame. \n
25 * Output: OFDM T2 frame with P1 symbol.
26 */
27 class DTV_API dvbt2_p1insertion_cc : virtual public gr::block
28{
29public:
30 typedef std::shared_ptr<dvbt2_p1insertion_cc> sptr;
31
32 /*!
33 * \brief Create a P1 symbol inserter.
34 *
35 * \param carriermode number of carriers (normal or extended).
36 * \param fftsize OFDM IFFT size.
37 * \param guardinterval OFDM ISI guard interval.
38 * \param numdatasyms number of OFDM symbols in a T2 frame.
39 * \param preamble P1 symbol preamble format.
40 * \param showlevels print peak IQ levels.
41 * \param vclip set peak IQ level threshold.
42 */
43 static sptr make(dvbt2_extended_carrier_t carriermode,
44 dvbt2_fftsize_t fftsize,
45 dvb_guardinterval_t guardinterval,
46 int numdatasyms,
47 dvbt2_preamble_t preamble,
48 dvbt2_showlevels_t showlevels,
49 float vclip);
50};
51
52} // namespace dtv
53} // namespace gr
54
55#endif /* INCLUDED_DTV_DVBT2_P1INSERTION_CC_H */
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
gr::dtv::dvbt2_p1insertion_cc
Inserts a P1 symbol.
Definition dvbt2_p1insertion_cc.h:28
gr::dtv::dvbt2_p1insertion_cc::make
static sptr make(dvbt2_extended_carrier_t carriermode, dvbt2_fftsize_t fftsize, dvb_guardinterval_t guardinterval, int numdatasyms, dvbt2_preamble_t preamble, dvbt2_showlevels_t showlevels, float vclip)
Create a P1 symbol inserter.
gr::dtv::dvbt2_p1insertion_cc::sptr
std::shared_ptr< dvbt2_p1insertion_cc > sptr
Definition dvbt2_p1insertion_cc.h:30
dvb_config.h
dvbt2_config.h
block.h
api.h
DTV_API
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:18
gr::dtv
Definition atsc_consts.h:17
gr::dtv::dvbt2_fftsize_t
dvbt2_fftsize_t
Definition dvbt2_config.h:43
gr::dtv::dvb_guardinterval_t
dvb_guardinterval_t
Definition dvb_config.h:102
gr::dtv::dvbt2_extended_carrier_t
dvbt2_extended_carrier_t
Definition dvbt2_config.h:30
gr::dtv::dvbt2_preamble_t
dvbt2_preamble_t
Definition dvbt2_config.h:35
gr::dtv::dvbt2_showlevels_t
dvbt2_showlevels_t
Definition dvbt2_config.h:101
gr
GNU Radio logging wrapper.
Definition basic_block.h:29