GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dvbt2_paprtr_cc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 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>
26 #include <gnuradio/sync_block.h>
27 
28 namespace gr {
29  namespace dtv {
30 
31  /*!
32  * \brief Peak to Average Power Ratio (PAPR) reduction.
33  * \ingroup dtv
34  *
35  * Input: A T2 frame of OFDM symbols.
36  * Output: A T2 frame of PAPR reduced OFDM symbols.
37  */
38  class DTV_API dvbt2_paprtr_cc : virtual public gr::sync_block
39  {
40  public:
42 
43  /*!
44  * \brief Create a PAPR reducer.
45  *
46  * \param carriermode number of carriers (normal or extended).
47  * \param fftsize OFDM IFFT size.
48  * \param pilotpattern DVB-T2 pilot pattern (PP1 - PP8).
49  * \param guardinterval OFDM ISI guard interval.
50  * \param numdatasyms number of OFDM symbols in a T2 frame.
51  * \param paprmode PAPR reduction mode.
52  * \param version DVB-T2 specification version.
53  * \param vclip PAPR clipping level.
54  * \param iterations PAPR algorithm number of iterations.
55  * \param vlength input and output vector length.
56  */
57  static sptr make(dvbt2_extended_carrier_t carriermode, dvbt2_fftsize_t fftsize, dvbt2_pilotpattern_t pilotpattern, dvbt2_guardinterval_t guardinterval, int numdatasyms, dvbt2_papr_t paprmode, dvbt2_version_t version, float vclip, int iterations, int vlength);
58  };
59 
60  } // namespace dtv
61 } // namespace gr
62 
63 #endif /* INCLUDED_DTV_DVBT2_PAPRTR_CC_H */
64 
dvbt2_pilotpattern_t
Definition: dvbt2_config.h:91
boost::shared_ptr< dvbt2_paprtr_cc > sptr
Definition: dvbt2_paprtr_cc.h:41
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
Peak to Average Power Ratio (PAPR) reduction.Input: A T2 frame of OFDM symbols. Output: A T2 frame of...
Definition: dvbt2_paprtr_cc.h:38
dvbt2_fftsize_t
Definition: dvbt2_config.h:55
dvbt2_version_t
Definition: dvbt2_config.h:102
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
Include this header to use the message passing features.
Definition: logger.h:129
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
GR_RUNTIME_API const std::string version()
return version string defined by cmake (GrVersion.cmake)
dvbt2_papr_t
Definition: dvbt2_config.h:77
dvbt2_extended_carrier_t
Definition: dvbt2_config.h:42
dvbt2_guardinterval_t
Definition: dvbt2_config.h:67