GNU Radio Manual and C++ API Reference  3.7.5.1
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gr::dtv::atsc_randomize Class Reference

#include </home/trondeau/code/gnuradio/gnuradio/gr-dtv/lib/atsc/atsc_randomize.h>

Public Member Functions

 atsc_randomize ()
 
void reset ()
 reset randomizer LFSR More...
 
void randomize (atsc_mpeg_packet_no_sync &out, const atsc_mpeg_packet &in)
 randomize (whiten) mpeg packet and remove leading MPEG-2 sync byte More...
 
void derandomize (atsc_mpeg_packet &out, const atsc_mpeg_packet_no_sync &in)
 derandomize (de-whiten) mpeg packet and add leading MPEG-2 sync byte More...
 
unsigned int state () const
 

Constructor & Destructor Documentation

gr::dtv::atsc_randomize::atsc_randomize ( )

Member Function Documentation

void gr::dtv::atsc_randomize::derandomize ( atsc_mpeg_packet out,
const atsc_mpeg_packet_no_sync in 
)

derandomize (de-whiten) mpeg packet and add leading MPEG-2 sync byte

void gr::dtv::atsc_randomize::randomize ( atsc_mpeg_packet_no_sync out,
const atsc_mpeg_packet in 
)

randomize (whiten) mpeg packet and remove leading MPEG-2 sync byte

void gr::dtv::atsc_randomize::reset ( )

reset randomizer LFSR

must be called during the Data Segment Sync interval prior to the first data segment. I.e., the LFSR is reset prior to the first field of each VSB data frame.

unsigned int gr::dtv::atsc_randomize::state ( ) const
inline

The documentation for this class was generated from the following file: