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