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

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
dvb_bch_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
10#ifndef INCLUDED_DTV_DVB_BCH_BB_H
11#define INCLUDED_DTV_DVB_BCH_BB_H
12
13#include <gnuradio/block.h>
14#include <gnuradio/dtv/api.h>
15#include <gnuradio/dtv/dvb_config.h>
16
17namespace gr {
18namespace dtv {
19
20/*!
21 * \brief Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
22 * \ingroup dtv
23 *
24 * \details
25 * Input: Variable length FEC baseband frames (BBFRAME). \n
26 * Output: Variable length FEC baseband frames with appended BCH (BCHFEC).
27 */
28 class DTV_API dvb_bch_bb : virtual public gr::block
29{
30public:
31 typedef std::shared_ptr<dvb_bch_bb> sptr;
32
33 /*!
34 * \brief Create a baseband frame BCH encoder.
35 *
36 * \param standard DVB standard (DVB-S2 or DVB-T2).
37 * \param framesize FEC frame size (normal, medium or short).
38 * \param rate FEC code rate.
39 */
40 static sptr
41 make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate);
42};
43
44} // namespace dtv
45} // namespace gr
46
47#endif /* INCLUDED_DTV_DVB_BCH_BB_H */
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
gr::dtv::dvb_bch_bb
Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
Definition dvb_bch_bb.h:29
gr::dtv::dvb_bch_bb::make
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate)
Create a baseband frame BCH encoder.
gr::dtv::dvb_bch_bb::sptr
std::shared_ptr< dvb_bch_bb > sptr
Definition dvb_bch_bb.h:31
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
GNU Radio logging wrapper.
Definition basic_block.h:29