GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
catv_frame_sync_enc_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016,2017 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_CATV_FRAME_SYNC_ENC_BB_H
10 #define INCLUDED_DTV_CATV_FRAME_SYNC_ENC_BB_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
15 
16 namespace gr {
17 namespace dtv {
18 
19 /*!
20  * \brief Frame Sync Encoder. Adds a 42-bit (64QAM) or 40-bit (256QAM) frame sync pattern
21  * with control word. \ingroup dtv
22  *
23  * Input: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM) 7-bit
24  * symbols.\n Output: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM)
25  * 7-bit symbols with 42-bit (64QAM) or 40-bit (256QAM) FSYNC word.
26  */
28 {
29 public:
30  typedef std::shared_ptr<catv_frame_sync_enc_bb> sptr;
31 
32  /*!
33  * \brief Create an ITU-T J.83B Frame Sync Encoder.
34  *
35  * \param constellation 64QAM or 256QAM constellation. \n
36  * \param ctrlword convolutional interleaver control word.
37  */
38  static sptr make(catv_constellation_t constellation, int ctrlword);
39 };
40 
41 } // namespace dtv
42 } // namespace gr
43 
44 #endif /* INCLUDED_DTV_CATV_FRAME_SYNC_ENC_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Frame Sync Encoder. Adds a 42-bit (64QAM) or 40-bit (256QAM) frame sync pattern with control word.
Definition: catv_frame_sync_enc_bb.h:28
static sptr make(catv_constellation_t constellation, int ctrlword)
Create an ITU-T J.83B Frame Sync Encoder.
std::shared_ptr< catv_frame_sync_enc_bb > sptr
Definition: catv_frame_sync_enc_bb.h:30
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
catv_constellation_t
Definition: catv_config.h:14
GNU Radio logging wrapper.
Definition: basic_block.h:29