Loading...
Searching...
No Matches
catv_randomizer_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_RANDOMIZER_BB_H
#define INCLUDED_DTV_CATV_RANDOMIZER_BB_H
#include <gnuradio/dtv/api.h>
#include <gnuradio/dtv/catv_config.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace dtv {
/*!
* \brief Randomizer, x^3 + x + alpha^3, 7-bit symbols.
* \ingroup dtv
*
* Input: Interleaved MPEG-2 + RS parity bitstream packets of 128 7-bit symbols.\n
* Output: Scrambled FEC Frame packets of 60 * 128 (64QAM) or 88 * 128 (256QAM) 7-bit
* symbols.
*/
class DTV_API catv_randomizer_bb : virtual public gr::sync_block
{
public:
typedef std::shared_ptr<catv_randomizer_bb> sptr;
/*!
* \brief Create an ITU-T J.83B randomizer.
*
* \param constellation 64QAM or 256QAM constellation.
*/
static sptr make(catv_constellation_t constellation);
};
} // namespace dtv
} // namespace gr
#endif /* INCLUDED_DTV_CATV_RANDOMIZER_BB_H */
catv_config.h
gr::dtv::catv_randomizer_bb
Randomizer, x^3 + x + alpha^3, 7-bit symbols.
Definition catv_randomizer_bb.h:28
gr::dtv::catv_randomizer_bb::sptr
std::shared_ptr< catv_randomizer_bb > sptr
Definition catv_randomizer_bb.h:30
gr::dtv::catv_randomizer_bb::make
static sptr make(catv_constellation_t constellation)
Create an ITU-T J.83B randomizer.
gr::sync_block
synchronous 1:1 input to output with history
Definition sync_block.h:26
api.h
DTV_API
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:18
gr::dtv::catv_constellation_t
catv_constellation_t
Definition catv_config.h:14
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_block.h