GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
dvbt2_framemapper_cc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015,2017 Free Software Foundation, Inc.
4  *
5  * This is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 3, or (at your option)
8  * any later version.
9  *
10  * This software is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this software; see the file COPYING. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef INCLUDED_DTV_DVBT2_FRAMEMAPPER_CC_H
22 #define INCLUDED_DTV_DVBT2_FRAMEMAPPER_CC_H
23 
24 #include <gnuradio/block.h>
25 #include <gnuradio/dtv/api.h>
28 
29 namespace gr {
30 namespace dtv {
31 
32 /*!
33  * \brief Maps T2 frames.
34  * \ingroup dtv
35  *
36  * Input: Cell and time interleaved QPSK, 16QAM, 64QAM or 256QAM modulated cells. \n
37  * Output: T2 frame.
38  */
39 class DTV_API dvbt2_framemapper_cc : virtual public gr::block
40 {
41 public:
42  typedef boost::shared_ptr<dvbt2_framemapper_cc> sptr;
43 
44  /*!
45  * \brief Create a DVB-T2 frame mapper.
46  *
47  * \param framesize FEC frame size (normal or short).
48  * \param rate FEC code rate.
49  * \param constellation DVB-T2 constellation.
50  * \param rotation DVB-T2 constellation rotation (on or off).
51  * \param fecblocks number of FEC frames in a T2 frame.
52  * \param tiblocks number of time interleaving blocks in a T2 frame.
53  * \param carriermode number of carriers (normal or extended).
54  * \param fftsize OFDM IFFT size.
55  * \param guardinterval OFDM ISI guard interval.
56  * \param l1constellation L1 constellation.
57  * \param pilotpattern DVB-T2 pilot pattern (PP1 - PP8).
58  * \param t2frames number of T2 frames in a super-frame.
59  * \param numdatasyms number of OFDM symbols in a T2 frame.
60  * \param paprmode PAPR reduction mode.
61  * \param version DVB-T2 specification version.
62  * \param preamble P1 symbol preamble format.
63  * \param inputmode Baseband Header mode.
64  * \param reservedbiasbits set all L1 bias bits to 1 (on or off).
65  * \param l1scrambled scramble L1 post signalling (on or off).
66  * \param inband In-band type B signalling (on or off).
67  */
68  static sptr make(dvb_framesize_t framesize,
69  dvb_code_rate_t rate,
70  dvb_constellation_t constellation,
71  dvbt2_rotation_t rotation,
72  int fecblocks,
73  int tiblocks,
74  dvbt2_extended_carrier_t carriermode,
75  dvbt2_fftsize_t fftsize,
76  dvb_guardinterval_t guardinterval,
77  dvbt2_l1constellation_t l1constellation,
78  dvbt2_pilotpattern_t pilotpattern,
79  int t2frames,
80  int numdatasyms,
81  dvbt2_papr_t paprmode,
83  dvbt2_preamble_t preamble,
84  dvbt2_inputmode_t inputmode,
85  dvbt2_reservedbiasbits_t reservedbiasbits,
86  dvbt2_l1scrambled_t l1scrambled,
87  dvbt2_inband_t inband);
88 };
89 
90 } // namespace dtv
91 } // namespace gr
92 
93 #endif /* INCLUDED_DTV_DVBT2_FRAMEMAPPER_CC_H */
dvbt2_pilotpattern_t
Definition: dvbt2_config.h:81
dvbt2_inputmode_t
Definition: dvbt2_config.h:37
dvb_constellation_t
Definition: dvb_config.h:91
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
dvbt2_fftsize_t
Definition: dvbt2_config.h:55
dvbt2_version_t
Definition: dvbt2_config.h:92
dvb_guardinterval_t
Definition: dvb_config.h:114
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
dvbt2_preamble_t
Definition: dvbt2_config.h:47
dvbt2_rotation_t
Definition: dvbt2_config.h:26
dvbt2_l1constellation_t
Definition: dvbt2_config.h:74
boost::shared_ptr< dvbt2_framemapper_cc > sptr
Definition: dvbt2_framemapper_cc.h:42
GR_RUNTIME_API const std::string version()
return version string defined by cmake (GrVersion.cmake)
dvbt2_papr_t
Definition: dvbt2_config.h:67
dvbt2_inband_t
Definition: dvbt2_config.h:118
Maps T2 frames.Input: Cell and time interleaved QPSK, 16QAM, 64QAM or 256QAM modulated cells...
Definition: dvbt2_framemapper_cc.h:39
dvbt2_extended_carrier_t
Definition: dvbt2_config.h:42
The abstract base class for all &#39;terminal&#39; processing blocks.A signal processing flow is constructed ...
Definition: block.h:71
dvb_framesize_t
Definition: dvb_config.h:85
dvbt2_reservedbiasbits_t
Definition: dvbt2_config.h:98
dvbt2_l1scrambled_t
Definition: dvbt2_config.h:103
dvb_code_rate_t
Definition: dvb_config.h:31