#include <iostream>
#include <stdio.h>
Defines | |
#define | SEGMENT_SIZE 207 |
#define | INPUT_SIZE (SEGMENT_SIZE * 12) |
#define | DIBITS_PER_BYTE 4 |
#define | EXTRAS (4 * 12) |
#define | SYMBOLS_OUT ((INPUT_SIZE * DIBITS_PER_BYTE) + EXTRAS) |
#define | SEGOF(x) ( (x) / ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE)) |
#define | SYMOF(x) (((x) % ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))-4) |
#define | ENCODERS 12 |
#define | ENCODER_SEG_BUMP 4 |
#define | BIT_PTR(int, shif) (((int) << 3) | ((shif) & 0x7)) |
Functions | |
int | build_decode_structures (char *fileout) |
int | usage () |
int | main (int argc, char **argv) |
Variables | |
int | debug_dec = 0 |
#define BIT_PTR | ( | int, | |||
shif | ) | (((int) << 3) | ((shif) & 0x7)) |
Referenced by build_decode_structures().
#define DIBITS_PER_BYTE 4 |
Referenced by build_decode_structures(), and atsci_trellis_encoder::encode_helper().
#define ENCODER_SEG_BUMP 4 |
#define ENCODERS 12 |
Referenced by build_decode_structures().
#define EXTRAS (4 * 12) |
#define INPUT_SIZE (SEGMENT_SIZE * 12) |
Referenced by build_decode_structures().
#define SEGMENT_SIZE 207 |
Referenced by build_decode_structures().
#define SEGOF | ( | x | ) | ( (x) / ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE)) |
#define SYMBOLS_OUT ((INPUT_SIZE * DIBITS_PER_BYTE) + EXTRAS) |
Referenced by build_decode_structures().
#define SYMOF | ( | x | ) | (((x) % ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))-4) |
int build_decode_structures | ( | char * | fileout | ) |
References BIT_PTR, debug_dec, DIBITS_PER_BYTE, ENCODER_SEG_BUMP, ENCODERS, INPUT_SIZE, SEGMENT_SIZE, SEGOF, SYMBOLS_OUT, and SYMOF.
Referenced by main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
References build_decode_structures(), and usage().
int usage | ( | ) |
Referenced by main().
int debug_dec = 0 |
Referenced by build_decode_structures().