GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_reed_solomon_enc.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_REED_SOLOMON_ENC_H
10 #define INCLUDED_DTV_DVBT_REED_SOLOMON_ENC_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
14 
15 namespace gr {
16 namespace dtv {
17 
18 /*!
19  * \brief Reed Solomon encoder
20  * \ingroup dtv
21  *
22  * ETSI EN 300 744 Clause 4.3.2 \n
23  * RS(N=204,K=239,T=8).
24  */
25 class DTV_API dvbt_reed_solomon_enc : virtual public block
26 {
27 public:
28  typedef std::shared_ptr<dvbt_reed_solomon_enc> sptr;
29 
30  /*!
31  * \brief Create a Reed Solomon encoder.
32  *
33  * \param p characteristic of GF(p^m).
34  * \param m we use GF(p^m).
35  * \param gfpoly Generator Polynomial.
36  * \param n length of codeword of RS coder.
37  * \param k length of information sequence of RS encoder.
38  * \param t number of corrected errors.
39  * \param s shortened length.
40  * \param blocks number of blocks to process at once.
41  */
42  static sptr make(int p, int m, int gfpoly, int n, int k, int t, int s, int blocks);
43 };
44 
45 } // namespace dtv
46 } // namespace gr
47 
48 #endif /* INCLUDED_DTV_DVBT_REED_SOLOMON_ENC_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Reed Solomon encoder.
Definition: dvbt_reed_solomon_enc.h:26
static sptr make(int p, int m, int gfpoly, int n, int k, int t, int s, int blocks)
Create a Reed Solomon encoder.
std::shared_ptr< dvbt_reed_solomon_enc > sptr
Definition: dvbt_reed_solomon_enc.h:28
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29