GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
dvbt_reed_solomon_dec.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_DEC_H
10#define INCLUDED_DTV_DVBT_REED_SOLOMON_DEC_H
11
12#include <gnuradio/block.h>
13#include <gnuradio/dtv/api.h>
14
15namespace gr {
16namespace dtv {
17
18/*!
19 * \brief Reed Solomon decoder.
20 * \ingroup dtv
21 *
22 * ETSI EN 300 744 Clause 4.3.2 \n
23 * RS(N=204,K=239,T=8).
24 */
25class DTV_API dvbt_reed_solomon_dec : virtual public block
26{
27public:
28 typedef std::shared_ptr<dvbt_reed_solomon_dec> sptr;
29
30 /*!
31 * \brief Create a Reed Solomon decoder.
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 decoder.
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_DEC_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Reed Solomon decoder.
Definition: dvbt_reed_solomon_dec.h:26
std::shared_ptr< dvbt_reed_solomon_dec > sptr
Definition: dvbt_reed_solomon_dec.h:28
static sptr make(int p, int m, int gfpoly, int n, int k, int t, int s, int blocks)
Create a Reed Solomon decoder.
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29