#include <atsci_trellis_encoder.h>
#include <assert.h>
#include <stdio.h>
#include <cstring>
#include <string.h>
Defines | |
#define | SEGOF(x) ( (x) / ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE)) |
#define | SYMOF(x) (((x) % ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))-4) |
#define | ENCODER_SEG_BUMP 4 |
#define | DSEG_SYNC_SYM1 0x06 |
#define | DSEG_SYNC_SYM2 0x01 |
#define | DSEG_SYNC_SYM3 0x01 |
#define | DSEG_SYNC_SYM4 0x06 |
#define DSEG_SYNC_SYM1 0x06 |
Referenced by atsci_viterbi_decoder::decode_helper(), and atsci_trellis_encoder::encode_helper().
#define DSEG_SYNC_SYM2 0x01 |
Referenced by atsci_viterbi_decoder::decode_helper(), and atsci_trellis_encoder::encode_helper().
#define DSEG_SYNC_SYM3 0x01 |
Referenced by atsci_viterbi_decoder::decode_helper(), and atsci_trellis_encoder::encode_helper().
#define DSEG_SYNC_SYM4 0x06 |
Referenced by atsci_viterbi_decoder::decode_helper(), and atsci_trellis_encoder::encode_helper().
#define ENCODER_SEG_BUMP 4 |
Referenced by build_decode_structures(), and atsci_trellis_encoder::encode_helper().
#define SEGOF | ( | x | ) | ( (x) / ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE)) |
Referenced by build_decode_structures(), and atsci_trellis_encoder::encode_helper().
#define SYMOF | ( | x | ) | (((x) % ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))-4) |
Referenced by build_decode_structures(), and atsci_trellis_encoder::encode_helper().