23#ifndef _ATSC_TRELLIS_ENCODER_H_
24#define _ATSC_TRELLIS_ENCODER_H_
37 static const int NCODERS = 12;
57 static const int INPUT_SIZE = (SEGMENT_SIZE * 12);
61 const unsigned char in[INPUT_SIZE]);
contains 832 3 bit symbols. The low 3 bits in the byte hold the symbol.
Definition: gr-atsc/include/gnuradio/atsc/types.h:209
Definition: gr-atsc/include/gnuradio/atsc/types.h:186
ATSC trellis encoder building block.
Definition: basic_trellis_encoder_impl.h:42
fancy, schmancy 12-way interleaved trellis encoder for ATSC
Definition: trellis_encoder_impl.h:35
void encode(atsc_data_segment out[NCODERS], const atsc_mpeg_packet_rs_encoded in[NCODERS])
void reset()
reset all encoder states
bool debug
Definition: trellis_encoder_impl.h:64
void encode_helper(unsigned char out[OUTPUT_SIZE], const unsigned char in[INPUT_SIZE])
static const int ATSC_DATA_SEGMENT_LENGTH
Definition: consts.h:33
static const int ATSC_MPEG_RS_ENCODED_LENGTH
Definition: consts.h:32
#define ATSC_API
Definition: gr-atsc/include/gnuradio/atsc/api.h:30