GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvbt_viterbi_decoder.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_VITERBI_DECODER_H
22#define INCLUDED_DTV_DVBT_VITERBI_DECODER_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
28
29namespace gr {
30namespace dtv {
31
32/*!
33 * \brief DVB-T Viterbi decoder.
34 * \ingroup dtv
35 *
36 * ETSI EN 300 744 Clause 4.3.3 \n
37 * Mother convolutional code with rate 1/2. \n
38 * k=1, n=2, K=6. \n
39 * Generator polynomial G1=171(OCT), G2=133(OCT). \n
40 * Punctured to obtain rates of 2/3, 3/4, 5/6, 7/8. \n
41 * Data Input format: \n
42 * 000000X0X1 - QPSK. \n
43 * 0000X0X1X2X3 - 16QAM. \n
44 * 00X0X1X2X3X4X5 - 64QAM. \n
45 * Data Output format: Packed bytes (each bit is data). \n
46 * MSB - first, LSB last.
47 */
48class DTV_API dvbt_viterbi_decoder : virtual public block
49{
50public:
51 typedef boost::shared_ptr<dvbt_viterbi_decoder> sptr;
52
53 /*!
54 * \brief Create a DVB-T Viterbi decoder.
55 *
56 * \param constellation constellation used. \n
57 * \param hierarchy hierarchy used. \n
58 * \param coderate coderate used. \n
59 * \param bsize block size.
60 */
61 static sptr make(dvb_constellation_t constellation,
62 dvbt_hierarchy_t hierarchy,
63 dvb_code_rate_t coderate,
64 int bsize);
65};
66
67} // namespace dtv
68} // namespace gr
69
70#endif /* INCLUDED_DTV_DVBT_VITERBI_DECODER_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
DVB-T Viterbi decoder.
Definition dvbt_viterbi_decoder.h:49
boost::shared_ptr< dvbt_viterbi_decoder > sptr
Definition dvbt_viterbi_decoder.h:51
static sptr make(dvb_constellation_t constellation, dvbt_hierarchy_t hierarchy, dvb_code_rate_t coderate, int bsize)
Create a DVB-T Viterbi decoder.
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvb_code_rate_t
Definition dvb_config.h:31
dvbt_hierarchy_t
Definition dvbt_config.h:26
dvb_constellation_t
Definition dvb_config.h:91
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46