GNU Radio 3.7.3 C++ API
atsci_reed_solomon Class Reference

ATSC Reed-Solomon encoder / decoder. More...

#include <gnuradio/atsc/reed_solomon_impl.h>

Public Member Functions

 atsci_reed_solomon ()
 
 ~atsci_reed_solomon ()
 
void encode (atsc_mpeg_packet_rs_encoded &out, const atsc_mpeg_packet_no_sync &in)
 Add RS error correction encoding. More...
 
int decode (atsc_mpeg_packet_no_sync &out, const atsc_mpeg_packet_rs_encoded &in)
 

Detailed Description

ATSC Reed-Solomon encoder / decoder.

The t=10 (207,187) code described in ATSC standard A/53B. See figure D5 on page 55.

Constructor & Destructor Documentation

atsci_reed_solomon::atsci_reed_solomon ( )
atsci_reed_solomon::~atsci_reed_solomon ( )

Member Function Documentation

int atsci_reed_solomon::decode ( atsc_mpeg_packet_no_sync out,
const atsc_mpeg_packet_rs_encoded in 
)

Decode RS encoded packet.

Returns
a count of corrected symbols, or -1 if the block was uncorrectible.
void atsci_reed_solomon::encode ( atsc_mpeg_packet_rs_encoded out,
const atsc_mpeg_packet_no_sync in 
)

Add RS error correction encoding.


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