Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

atsc_viterbi_gen.cc File Reference

#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 Documentation

#define BIT_PTR int,
shif   )     (((int) << 3) | ((shif) & 0x7))
 

#define DIBITS_PER_BYTE   4
 

#define ENCODER_SEG_BUMP   4
 

#define ENCODERS   12
 

#define EXTRAS   (4 * 12)
 

#define INPUT_SIZE   (SEGMENT_SIZE * 12)
 

#define SEGMENT_SIZE   207
 

#define SEGOF  )     ( (x) / ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))
 

#define SYMBOLS_OUT   ((INPUT_SIZE * DIBITS_PER_BYTE) + EXTRAS)
 

#define SYMOF  )     (((x) % ((SEGMENT_SIZE+1) * DIBITS_PER_BYTE))-4)
 


Function Documentation

int build_decode_structures char *  fileout  ) 
 

int main int  argc,
char **  argv
 

int usage  ) 
 


Variable Documentation

int debug_dec = 0
 


Generated on Tue Mar 15 23:48:05 2005 for GNU Radio by  doxygen 1.4.0