Loading...
Searching...
No Matches
catv_trellis_enc_bb.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2016,2017 Free Software Foundation, Inc.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_DTV_CATV_TRELLIS_ENC_BB_H
#define INCLUDED_DTV_CATV_TRELLIS_ENC_BB_H
#include <gnuradio/block.h>
#include <gnuradio/dtv/api.h>
#include <gnuradio/dtv/catv_config.h>
namespace gr {
namespace dtv {
/*!
* \brief Trellis Encoder. 14/15 (64QAM) or 19/20 (256QAM) code rate.
* \ingroup dtv
*
* Input: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM) 7-bit
* symbols with 42-bit (64QAM) or 40-bit (256QAM) FSYNC word.\n Output: Four 7-bit symbols
* (28 bits) Trellis encoded to 30 bits (64QAM, 14/15 code rate) or 38 data bits Trellis
* encoded to 40 bits (256QAM, 19/20 code rate).
*/
class DTV_API catv_trellis_enc_bb : virtual public gr::block
{
public:
typedef std::shared_ptr<catv_trellis_enc_bb> sptr;
/*!
* \brief Create an ITU-T J.83B Trellis Encoder.
*
* \param constellation 64QAM or 256QAM constellation.
*/
static sptr make(catv_constellation_t constellation);
};
} // namespace dtv
} // namespace gr
#endif /* INCLUDED_DTV_CATV_TRELLIS_ENC_BB_H */
catv_config.h
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
gr::dtv::catv_trellis_enc_bb
Trellis Encoder. 14/15 (64QAM) or 19/20 (256QAM) code rate.
Definition catv_trellis_enc_bb.h:29
gr::dtv::catv_trellis_enc_bb::sptr
std::shared_ptr< catv_trellis_enc_bb > sptr
Definition catv_trellis_enc_bb.h:31
gr::dtv::catv_trellis_enc_bb::make
static sptr make(catv_constellation_t constellation)
Create an ITU-T J.83B Trellis Encoder.
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::dtv::catv_constellation_t
catv_constellation_t
Definition catv_config.h:14
gr
GNU Radio logging wrapper.
Definition basic_block.h:29