GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
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>
14 #include <gnuradio/sync_block.h>
15 
16 namespace gr {
17 namespace 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  */
28 {
29 public:
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 */
Scrambles FEC baseband frames with a PRBS encoder.
Definition: dvb_bbscrambler_bb.h:28
std::shared_ptr< dvb_bbscrambler_bb > sptr
Definition: dvb_bbscrambler_bb.h:30
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate)
Create a baseband frame scrambler.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#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
GNU Radio logging wrapper.
Definition: basic_block.h:29