GNU Radio Manual and C++ API Reference 3.7.14.0
The Free & Open Software Radio Ecosystem
dvbt_symbol_inner_interleaver.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015 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_DVBT_SYMBOL_INNER_INTERLEAVER_H
22#define INCLUDED_DTV_DVBT_SYMBOL_INNER_INTERLEAVER_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
27
28namespace gr {
29namespace dtv {
30
31/*!
32 * \brief Symbol interleaver.
33 * \ingroup dtv
34 *
35 * ETSI EN 300 744 Clause 4.3.4.2 \n
36 * One block is 12 groups x 126 datawords = 1512 datawords.
37 *
38 * Data Input format: \n
39 * 000000I0I1 - QPSK. \n
40 * 0000I0I1I2I3 - 16QAM. \n
41 * 00I0I1I2I3I4I5 - 64QAM. \n
42 * Data Output format: \n
43 * 000000Y0Y1 - QPSK. \n
44 * 0000Y0Y1Y2Y3 - 16QAM. \n
45 * 00Y0Y1Y2Y3Y4Y5 - 64QAM.
46 */
48{
49public:
50 typedef boost::shared_ptr<dvbt_symbol_inner_interleaver> sptr;
51
52 /*!
53 * \brief Create a Symbol interleaver.
54 *
55 * \param ninput length of input stream. \n
56 * \param transmission transmission mode used \n
57 * \param direction interleave or deinterleave. \n
58 */
59 static sptr make(int ninput, dvbt_transmission_mode_t transmission, int direction);
60};
61
62} // namespace dtv
63} // namespace gr
64
65#endif /* INCLUDED_DTV_DVBT_SYMBOL_INNER_INTERLEAVER_H */
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:66
Symbol interleaver.
Definition: dvbt_symbol_inner_interleaver.h:48
static sptr make(int ninput, dvbt_transmission_mode_t transmission, int direction)
Create a Symbol interleaver.
boost::shared_ptr< dvbt_symbol_inner_interleaver > sptr
Definition: dvbt_symbol_inner_interleaver.h:50
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
dvbt_transmission_mode_t
Definition: dvbt_config.h:33
Include this header to use the message passing features.
Definition: basic_block.h:45