GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_demap.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_DVBT_DVBT_DEMAP_H
10 #define INCLUDED_DTV_DVBT_DVBT_DEMAP_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief DVB-T demapper.
22  * \ingroup dtv
23  *
24  * ETSI EN 300 744 Clause 4.3.5. \n
25  * Data input format: \n
26  * complex(real(float), imag(float)). \n
27  * Data output format: \n
28  * 000000Y0Y1 - QPSK. \n
29  * 0000Y0Y1Y2Y3 - 16QAM. \n
30  * 00Y0Y1Y2Y3Y4Y5 - 64QAM.
31  */
32 class DTV_API dvbt_demap : virtual public block
33 {
34 public:
35  typedef std::shared_ptr<dvbt_demap> sptr;
36 
37  /*!
38  * \brief Create a DVB-T demapper.
39  *
40  * \param nsize length of input stream. \n
41  * \param constellation constellation used. \n
42  * \param hierarchy hierarchy used. \n
43  * \param transmission transmission mode used. \n
44  * \param gain gain of complex input stream.
45  */
46  static sptr make(int nsize,
47  dvb_constellation_t constellation,
48  dvbt_hierarchy_t hierarchy,
49  dvbt_transmission_mode_t transmission,
50  float gain);
51 };
52 
53 } // namespace dtv
54 } // namespace gr
55 
56 #endif /* INCLUDED_DTV_DVBT_DVBT_DEMAP_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
DVB-T demapper.
Definition: dvbt_demap.h:33
static sptr make(int nsize, dvb_constellation_t constellation, dvbt_hierarchy_t hierarchy, dvbt_transmission_mode_t transmission, float gain)
Create a DVB-T demapper.
std::shared_ptr< dvbt_demap > sptr
Definition: dvbt_demap.h:35
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvbt_hierarchy_t
Definition: dvbt_config.h:14
dvbt_transmission_mode_t
Definition: dvbt_config.h:21
dvb_constellation_t
Definition: dvb_config.h:79
GNU Radio logging wrapper.
Definition: basic_block.h:29