GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvb_ldpc_bb.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015-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_DVB_LDPC_BB_H
22#define INCLUDED_DTV_DVB_LDPC_BB_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
27
28namespace gr {
29namespace dtv {
30
31/*!
32 * \brief Encodes a LDPC (Low-Density Parity-Check) FEC.
33 * \ingroup dtv
34 *
35 * Input: Variable length FEC baseband frames with appended BCH (BCHFEC). \n
36 * Output: Normal, medium or short FEC baseband frames with appended LPDC (LDPCFEC).
37 */
38class DTV_API dvb_ldpc_bb : virtual public gr::block
39{
40public:
41 typedef boost::shared_ptr<dvb_ldpc_bb> sptr;
42
43 /*!
44 * \brief Create a baseband frame LDPC encoder.
45 *
46 * \param standard DVB standard (DVB-S2 or DVB-T2).
47 * \param framesize FEC frame size (normal, medium or short).
48 * \param rate FEC code rate.
49 * \param constellation DVB-S2 constellation.
50 */
51 static sptr make(dvb_standard_t standard,
52 dvb_framesize_t framesize,
53 dvb_code_rate_t rate,
54 dvb_constellation_t constellation);
55};
56
57} // namespace dtv
58} // namespace gr
59
60#endif /* INCLUDED_DTV_DVB_LDPC_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Encodes a LDPC (Low-Density Parity-Check) FEC.
Definition dvb_ldpc_bb.h:39
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate, dvb_constellation_t constellation)
Create a baseband frame LDPC encoder.
boost::shared_ptr< dvb_ldpc_bb > sptr
Definition dvb_ldpc_bb.h:41
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvb_code_rate_t
Definition dvb_config.h:31
dvb_framesize_t
Definition dvb_config.h:85
dvb_standard_t
Definition dvb_config.h:26
dvb_constellation_t
Definition dvb_config.h:91
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46