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

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

Loading...
Searching...
No Matches
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
15namespace gr {
16namespace 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{
31public:
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 */
gr::block::block
block(void)
Definition gnuradio-runtime/include/gnuradio/block.h:806
gr::dtv::dvbt_energy_descramble
Energy descramble.
Definition dvbt_energy_descramble.h:30
gr::dtv::dvbt_energy_descramble::sptr
std::shared_ptr< dvbt_energy_descramble > sptr
Definition dvbt_energy_descramble.h:32
gr::dtv::dvbt_energy_descramble::make
static sptr make(int nblocks)
Create DVB-T Energy descramble.
block.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
GNU Radio logging wrapper.
Definition basic_block.h:29