#include <atsc_viterbi_decoder.h>
Public Member Functions | |
atsc_viterbi_decoder () | |
~atsc_viterbi_decoder () | |
void | reset () |
reset all decoder states | |
void | decode (atsc_mpeg_packet_rs_encoded out[NCODERS], const atsc_soft_data_segment in[NCODERS]) |
Static Public Attributes | |
static const int | NCODERS = 12 |
Protected Types | |
typedef interleaver_fifo< unsigned char > | fifo_t |
Protected Member Functions | |
void | decode_helper (unsigned char out[OUTPUT_SIZE], const float in[INPUT_SIZE]) |
Protected Attributes | |
single_viterbi_t | viterbi [NCODERS] |
fifo_t * | fifo [NCODERS] |
bool | debug |
Static Protected Attributes | |
static const int | SEGMENT_SIZE = ATSC_MPEG_RS_ENCODED_LENGTH |
static const int | OUTPUT_SIZE = (SEGMENT_SIZE * 12) |
static const int | INPUT_SIZE = (ATSC_DATA_SEGMENT_LENGTH * 12) |
|
|
|
|
|
|
|
Take 12 data segments of soft decisions (floats) and produce 12 RS encoded data segments. We work in groups of 12 because that's the smallest number of segments that composes a single full cycle of the decoder mux. |
|
|
|
reset all decoder states
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|