GNU Radio C++ API Reference: dvb_ldpc_bb.h Source File

| GNU Radio C++ API Reference 3.10.12.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 * 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>
14#include <gnuradio/dtv/dvb_config.h>
15
16namespace gr {
17namespace 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{
28public:
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 */
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
gr::dtv::dvb_ldpc_bb
Encodes a LDPC (Low-Density Parity-Check) FEC.
Definition dvb_ldpc_bb.h:27
gr::dtv::dvb_ldpc_bb::make
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.
gr::dtv::dvb_ldpc_bb::sptr
std::shared_ptr< dvb_ldpc_bb > sptr
Definition dvb_ldpc_bb.h:29
dvb_config.h
block.h
api.h
DTV_API
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:18
gr::dtv
Definition atsc_consts.h:17
gr::dtv::dvb_code_rate_t
dvb_code_rate_t
Definition dvb_config.h:19
gr::dtv::dvb_framesize_t
dvb_framesize_t
Definition dvb_config.h:73
gr::dtv::dvb_standard_t
dvb_standard_t
Definition dvb_config.h:14
gr::dtv::dvb_constellation_t
dvb_constellation_t
Definition dvb_config.h:79
gr
GNU Radio logging wrapper.
Definition basic_block.h:29