GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvbt2_paprtr_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015,2017 Free Software Foundation, Inc.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef INCLUDED_DTV_DVBT2_PAPRTR_CC_H
22#define INCLUDED_DTV_DVBT2_PAPRTR_CC_H
23
24#include <gnuradio/dtv/api.h>
27#include <gnuradio/sync_block.h>
28
29namespace gr {
30namespace dtv {
31
32/*!
33 * \brief Peak to Average Power Ratio (PAPR) reduction.
34 * \ingroup dtv
35 *
36 * Input: A T2 frame of OFDM symbols. \n
37 * Output: A T2 frame of PAPR reduced OFDM symbols.
38 */
40{
41public:
42 typedef boost::shared_ptr<dvbt2_paprtr_cc> sptr;
43
44 /*!
45 * \brief Create a PAPR reducer.
46 *
47 * \param carriermode number of carriers (normal or extended).
48 * \param fftsize OFDM IFFT size.
49 * \param pilotpattern DVB-T2 pilot pattern (PP1 - PP8).
50 * \param guardinterval OFDM ISI guard interval.
51 * \param numdatasyms number of OFDM symbols in a T2 frame.
52 * \param paprmode PAPR reduction mode.
53 * \param version DVB-T2 specification version.
54 * \param vclip PAPR clipping level.
55 * \param iterations PAPR algorithm number of iterations.
56 * \param vlength input and output vector length.
57 */
59 dvbt2_fftsize_t fftsize,
60 dvbt2_pilotpattern_t pilotpattern,
61 dvb_guardinterval_t guardinterval,
62 int numdatasyms,
63 dvbt2_papr_t paprmode,
64 dvbt2_version_t version,
65 float vclip,
66 int iterations,
67 unsigned int vlength);
68};
69
70} // namespace dtv
71} // namespace gr
72
73#endif /* INCLUDED_DTV_DVBT2_PAPRTR_CC_H */
Peak to Average Power Ratio (PAPR) reduction.
Definition dvbt2_paprtr_cc.h:40
static sptr make(dvbt2_extended_carrier_t carriermode, dvbt2_fftsize_t fftsize, dvbt2_pilotpattern_t pilotpattern, dvb_guardinterval_t guardinterval, int numdatasyms, dvbt2_papr_t paprmode, dvbt2_version_t version, float vclip, int iterations, unsigned int vlength)
Create a PAPR reducer.
boost::shared_ptr< dvbt2_paprtr_cc > sptr
Definition dvbt2_paprtr_cc.h:42
synchronous 1:1 input to output with history
Definition sync_block.h:38
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvbt2_fftsize_t
Definition dvbt2_config.h:55
dvbt2_version_t
Definition dvbt2_config.h:92
dvb_guardinterval_t
Definition dvb_config.h:114
dvbt2_pilotpattern_t
Definition dvbt2_config.h:81
dvbt2_extended_carrier_t
Definition dvbt2_config.h:42
dvbt2_papr_t
Definition dvbt2_config.h:67
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46