GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvb_ldpc_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015-2017 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_DVB_LDPC_BB_H
10 #define INCLUDED_DTV_DVB_LDPC_BB_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
15 
16 namespace gr {
17 namespace dtv {
18 
19 /*!
20  * \brief Encodes a LDPC (Low-Density Parity-Check) FEC.
21  * \ingroup dtv
22  *
23  * Input: Variable length FEC baseband frames with appended BCH (BCHFEC). \n
24  * Output: Normal, medium or short FEC baseband frames with appended LPDC (LDPCFEC).
25  */
26 class DTV_API dvb_ldpc_bb : virtual public gr::block
27 {
28 public:
29  typedef std::shared_ptr<dvb_ldpc_bb> sptr;
30 
31  /*!
32  * \brief Create a baseband frame LDPC encoder.
33  *
34  * \param standard DVB standard (DVB-S2 or DVB-T2).
35  * \param framesize FEC frame size (normal, medium or short).
36  * \param rate FEC code rate.
37  * \param constellation DVB-S2 constellation.
38  */
39  static sptr make(dvb_standard_t standard,
40  dvb_framesize_t framesize,
41  dvb_code_rate_t rate,
42  dvb_constellation_t constellation);
43 };
44 
45 } // namespace dtv
46 } // namespace gr
47 
48 #endif /* INCLUDED_DTV_DVB_LDPC_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Encodes a LDPC (Low-Density Parity-Check) FEC.
Definition: dvb_ldpc_bb.h:27
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.
std::shared_ptr< dvb_ldpc_bb > sptr
Definition: dvb_ldpc_bb.h:29
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvb_code_rate_t
Definition: dvb_config.h:19
dvb_framesize_t
Definition: dvb_config.h:73
dvb_standard_t
Definition: dvb_config.h:14
dvb_constellation_t
Definition: dvb_config.h:79
GNU Radio logging wrapper.
Definition: basic_block.h:29