GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
catv_randomizer_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016,2017 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_CATV_RANDOMIZER_BB_H
10 #define INCLUDED_DTV_CATV_RANDOMIZER_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 Randomizer, x^3 + x + alpha^3, 7-bit symbols.
21  * \ingroup dtv
22  *
23  * Input: Interleaved MPEG-2 + RS parity bitstream packets of 128 7-bit symbols.\n
24  * Output: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM) 7-bit
25  * symbols.
26  */
28 {
29 public:
30  typedef std::shared_ptr<catv_randomizer_bb> sptr;
31 
32  /*!
33  * \brief Create an ITU-T J.83B randomizer.
34  *
35  * \param constellation 64QAM or 256QAM constellation.
36  */
37  static sptr make(catv_constellation_t constellation);
38 };
39 
40 } // namespace dtv
41 } // namespace gr
42 
43 #endif /* INCLUDED_DTV_CATV_RANDOMIZER_BB_H */
Randomizer, x^3 + x + alpha^3, 7-bit symbols.
Definition: catv_randomizer_bb.h:28
static sptr make(catv_constellation_t constellation)
Create an ITU-T J.83B randomizer.
std::shared_ptr< catv_randomizer_bb > sptr
Definition: catv_randomizer_bb.h:30
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
catv_constellation_t
Definition: catv_config.h:14
GNU Radio logging wrapper.
Definition: basic_block.h:29