GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_energy_dispersal.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_DVBT_ENERGY_DISPERSAL_H
10 #define INCLUDED_DTV_DVBT_ENERGY_DISPERSAL_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
14 
15 namespace gr {
16 namespace dtv {
17 
18 /*!
19  * \brief Energy dispersal.
20  * \ingroup dtv
21  *
22  * ETSI EN 300 744 - Clause 4.3.1 \n
23  * Input - MPEG-2 transport packets (including sync - 0x47). \n
24  * Output - Randomized MPEG-2 transport packets. \n
25  * If first byte is not a SYNC then look for it. \n
26  * First sync in a row of 8 packets is reversed - 0xB8. \n
27  * Block size is 188 bytes.
28  */
29 class DTV_API dvbt_energy_dispersal : virtual public gr::block
30 {
31 public:
32  typedef std::shared_ptr<dvbt_energy_dispersal> sptr;
33 
34  /*!
35  * \brief Create DVB-T energy dispersal.
36  *
37  * \param nsize number of blocks.
38  */
39  static sptr make(int nsize);
40 };
41 
42 } // namespace dtv
43 } // namespace gr
44 
45 #endif /* INCLUDED_DTV_DVBT_ENERGY_DISPERSAL_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Energy dispersal.
Definition: dvbt_energy_dispersal.h:30
static sptr make(int nsize)
Create DVB-T energy dispersal.
std::shared_ptr< dvbt_energy_dispersal > sptr
Definition: dvbt_energy_dispersal.h:32
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29