GNU Radio 3.7.2 C++ API
|
ATSC data "whitener". More...
#include <gnuradio/atsc/randomizer_impl.h>
Public Member Functions | |
atsci_randomizer () | |
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 |
Friends | |
class | qa_atsci_randomizer |
ATSC data "whitener".
The data randomizer described in ATSC standard A/53B. See figure D4 on page 54.
atsci_randomizer::atsci_randomizer | ( | ) |
void atsci_randomizer::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 atsci_randomizer::randomize | ( | atsc_mpeg_packet_no_sync & | out, |
const atsc_mpeg_packet & | in | ||
) |
randomize (whiten) mpeg packet and remove leading MPEG-2 sync byte
void atsci_randomizer::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.
|
inline |
|
friend |