GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
catv_trellis_enc_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016,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_CATV_TRELLIS_ENC_BB_H
22 #define INCLUDED_DTV_CATV_TRELLIS_ENC_BB_H
23 
24 #include <gnuradio/dtv/api.h>
25 #include <gnuradio/block.h>
27 
28 namespace gr {
29  namespace dtv {
30 
31  /*!
32  * \brief Trellis Encoder. 14/15 (64QAM) or 19/20 (256QAM) code rate.
33  * \ingroup dtv
34  *
35  * Input: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM) 7-bit symbols with 42-bit (64QAM) or 40-bit (256QAM) FSYNC word.\n
36  * Output: Four 7-bit symbols (28 bits) Trellis encoded to 30 bits (64QAM, 14/15 code rate) or 38 data bits Trellis encoded to 40 bits (256QAM, 19/20 code rate).
37  */
38  class DTV_API catv_trellis_enc_bb : virtual public gr::block
39  {
40  public:
41  typedef boost::shared_ptr<catv_trellis_enc_bb> sptr;
42 
43  /*!
44  * \brief Create an ITU-T J.83B Trellis Encoder.
45  *
46  * \param constellation 64QAM or 256QAM constellation.
47  */
48  static sptr make(catv_constellation_t constellation);
49  };
50 
51  } // namespace dtv
52 } // namespace gr
53 
54 #endif /* INCLUDED_DTV_CATV_TRELLIS_ENC_BB_H */
55 
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
Include this header to use the message passing features.
Definition: logger.h:695
Trellis Encoder. 14/15 (64QAM) or 19/20 (256QAM) code rate.Input: Scrambled FEC Frame packets of 60 *...
Definition: catv_trellis_enc_bb.h:38
boost::shared_ptr< catv_trellis_enc_bb > sptr
Definition: catv_trellis_enc_bb.h:41
catv_constellation_t
Definition: catv_config.h:26
The abstract base class for all &#39;terminal&#39; processing blocks.A signal processing flow is constructed ...
Definition: block.h:65