GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dvbt_reed_solomon_enc.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_REED_SOLOMON_ENC_H
22 #define INCLUDED_DTV_DVBT_REED_SOLOMON_ENC_H
23 
24 #include <gnuradio/dtv/api.h>
25 #include <gnuradio/block.h>
26 
27 namespace gr {
28  namespace dtv {
29 
30  /*!
31  * \brief Reed Solomon encoder
32  * \ingroup dtv
33  *
34  * ETSI EN 300 744 Clause 4.3.2 \n
35  * RS(N=204,K=239,T=8).
36  */
37  class DTV_API dvbt_reed_solomon_enc : virtual public block
38  {
39  public:
40  typedef boost::shared_ptr<dvbt_reed_solomon_enc> sptr;
41 
42  /*!
43  * \brief Create a Reed Solomon encoder.
44  *
45  * \param p characteristic of GF(p^m).
46  * \param m we use GF(p^m).
47  * \param gfpoly Generator Polynomial.
48  * \param n length of codeword of RS coder.
49  * \param k length of information sequence of RS encoder.
50  * \param t number of corrected errors.
51  * \param s shortened length.
52  * \param blocks number of blocks to process at once.
53  */
54  static sptr make(int p, int m, int gfpoly, int n, int k, int t, int s, int blocks);
55  };
56 
57  } // namespace dtv
58 } // namespace gr
59 
60 #endif /* INCLUDED_DTV_DVBT_REED_SOLOMON_ENC_H */
61 
Reed Solomon encoderETSI EN 300 744 Clause 4.3.2 RS(N=204,K=239,T=8).
Definition: dvbt_reed_solomon_enc.h:37
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< dvbt_reed_solomon_enc > sptr
Definition: dvbt_reed_solomon_enc.h:40
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60