GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_energy_descramble.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_DESCRAMBLE_H
10 #define INCLUDED_DTV_DVBT_ENERGY_DESCRAMBLE_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 descramble
20  * \ingroup dtv
21  *
22  * ETSI EN 300 744 - Clause 4.3.1. \n
23  * Input - Randomized MPEG-2 transport packets. \n
24  * Output - MPEG-2 transport packets (including sync - 0x47). \n
25  * We assume the first byte is a NSYNC. \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_descramble : virtual public block
30 {
31 public:
32  typedef std::shared_ptr<dvbt_energy_descramble> sptr;
33 
34  /*!
35  * \brief Create DVB-T Energy descramble.
36  *
37  * \param nblocks number of blocks.
38  */
39  static sptr make(int nblocks);
40 };
41 
42 } // namespace dtv
43 } // namespace gr
44 
45 #endif /* INCLUDED_DTV_DVBT_ENERGY_DESCRAMBLE_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Energy descramble.
Definition: dvbt_energy_descramble.h:30
std::shared_ptr< dvbt_energy_descramble > sptr
Definition: dvbt_energy_descramble.h:32
static sptr make(int nblocks)
Create DVB-T Energy descramble.
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29