GNU Radio 3.7.0 C++ API
atsci_randomizer Class Reference

ATSC data "whitener". More...

#include <randomizer_impl.h>

List of all members.

Public Member Functions

 atsci_randomizer ()
void reset ()
 reset randomizer LFSR
void randomize (atsc_mpeg_packet_no_sync &out, const atsc_mpeg_packet &in)
 randomize (whiten) mpeg packet and remove leading MPEG-2 sync byte
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
unsigned int state () const

Friends

class qa_atsci_randomizer

Detailed Description

ATSC data "whitener".

The data randomizer described in ATSC standard A/53B. See figure D4 on page 54.


Constructor & Destructor Documentation


Member Function Documentation

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

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

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 atsci_randomizer::state ( ) const [inline]

Friends And Related Function Documentation

friend class qa_atsci_randomizer [friend]

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