GNU Radio Manual and C++ API Reference 3.7.14.0
The Free & Open Software Radio Ecosystem
catv_reed_solomon_enc_bb.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2016 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_REED_SOLOMON_ENC_BB_H
22#define INCLUDED_DTV_CATV_REED_SOLOMON_ENC_BB_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
26
27namespace gr {
28namespace dtv {
29
30/*!
31 * \brief Reed Solomon Encoder, t=3, (128,122), 7-bit symbols.
32 * \ingroup dtv
33 *
34 * Input: MPEG-2 bitstream packets of 122 7-bit symbols.\n
35 * Output: MPEG-2 + RS parity bitstream packets of 128 7-bit symbols.
36 */
38{
39public:
40 typedef boost::shared_ptr<catv_reed_solomon_enc_bb> sptr;
41
42 /*!
43 * \brief Create an ITU-T J.83B Reed Solomon encoder.
44 *
45 */
46 static sptr make();
47};
48
49} // namespace dtv
50} // namespace gr
51
52#endif /* INCLUDED_DTV_CATV_REED_SOLOMON_ENC_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:66
Reed Solomon Encoder, t=3, (128,122), 7-bit symbols.
Definition: catv_reed_solomon_enc_bb.h:38
static sptr make()
Create an ITU-T J.83B Reed Solomon encoder.
boost::shared_ptr< catv_reed_solomon_enc_bb > sptr
Definition: catv_reed_solomon_enc_bb.h:40
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45