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

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

Loading...
Searching...
No Matches
dvb_bbscrambler_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_BBSCRAMBLER_BB_H
10#define INCLUDED_DTV_DVB_BBSCRAMBLER_BB_H
11
12#include <gnuradio/dtv/api.h>
13#include <gnuradio/dtv/dvb_config.h>
14#include <gnuradio/sync_block.h>
15
16namespace gr {
17namespace dtv {
18
19/*!
20 * \brief Scrambles FEC baseband frames with a PRBS encoder.
21 * \ingroup dtv
22 *
23 * \details
24 * Input: Variable length FEC baseband frames (BBFRAME). \n
25 * Output: Scrambled variable length FEC baseband frames (BBFRAME).
26 */
27 class DTV_API dvb_bbscrambler_bb : virtual public gr::sync_block
28{
29public:
30 typedef std::shared_ptr<dvb_bbscrambler_bb> sptr;
31
32 /*!
33 * \brief Create a baseband frame scrambler.
34 *
35 * \param standard DVB standard (DVB-S2 or DVB-T2).
36 * \param framesize FEC frame size (normal, medium or short).
37 * \param rate FEC code rate.
38 */
39 static sptr
40 make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate);
41};
42
43} // namespace dtv
44} // namespace gr
45
46#endif /* INCLUDED_DTV_DVB_BBSCRAMBLER_BB_H */
gr::dtv::dvb_bbscrambler_bb
Scrambles FEC baseband frames with a PRBS encoder.
Definition dvb_bbscrambler_bb.h:28
gr::dtv::dvb_bbscrambler_bb::sptr
std::shared_ptr< dvb_bbscrambler_bb > sptr
Definition dvb_bbscrambler_bb.h:30
gr::dtv::dvb_bbscrambler_bb::make
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate)
Create a baseband frame scrambler.
gr::sync_block
synchronous 1:1 input to output with history
Definition sync_block.h:26
dvb_config.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
sync_block.h