Main Page | Class List | File List | Class Members | File Members

rcpcc_hg16.h File Reference

#include <string.h>
#include <stdio.h>
#include <math.h>
#include <memory.h>

Go to the source code of this file.

Defines

#define RCPCCDIM   4
#define CONSTRAINTLENGTH   5
#define RATETYPES   25
#define MAXPUNCTUREPERIOD   8
#define TAILBITS   4
#define puncturePeriod   8
#define STATES   16
#define INPUTS   2
#define OUTPUTS   16
#define BRANCHES   INPUTS
#define TL   1000
#define LARGENUMBER   1E10

Variables

int gx [CONSTRAINTLENGTH][RCPCCDIM]
int px [RATETYPES][MAXPUNCTUREPERIOD][RCPCCDIM]
int prevState [STATES][BRANCHES]
int prevOutput [STATES][BRANCHES]
double dsignal [OUTPUTS][RCPCCDIM]


Define Documentation

#define BRANCHES   INPUTS
 

Definition at line 68 of file rcpcc_hg16.h.

#define CONSTRAINTLENGTH   5
 

Definition at line 22 of file rcpcc_hg16.h.

#define INPUTS   2
 

Definition at line 66 of file rcpcc_hg16.h.

#define LARGENUMBER   1E10
 

Definition at line 70 of file rcpcc_hg16.h.

#define MAXPUNCTUREPERIOD   8
 

Definition at line 24 of file rcpcc_hg16.h.

#define OUTPUTS   16
 

Definition at line 67 of file rcpcc_hg16.h.

#define puncturePeriod   8
 

Definition at line 59 of file rcpcc_hg16.h.

Referenced by rcpcc_decoder().

#define RATETYPES   25
 

Definition at line 23 of file rcpcc_hg16.h.

#define RCPCCDIM   4
 

Definition at line 21 of file rcpcc_hg16.h.

#define STATES   16
 

Definition at line 65 of file rcpcc_hg16.h.

#define TAILBITS   4
 

Definition at line 25 of file rcpcc_hg16.h.

Referenced by DecodeVideoPacket(), rcpcc16_encode(), and rcpcc_decoder().

#define TL   1000
 

Definition at line 69 of file rcpcc_hg16.h.


Variable Documentation

double dsignal[OUTPUTS][RCPCCDIM] [static]
 

Initial value:

 
{
  {-1,-1,-1,-1},{-1,-1,-1,1},{-1,-1, 1,-1},{-1,-1, 1,1},{-1, 1,-1,-1},{-1, 1,-1,1},{-1, 1,1,-1},{-1,1,1,1},
  {1,-1,-1,-1},{1,-1,-1,1},{1,-1, 1,-1},{1,-1, 1,1},{1, 1,-1,-1},{1, 1,-1,1},{1, 1,1,-1},{1,1,1,1}
}

Definition at line 82 of file rcpcc_hg16.h.

int gx[CONSTRAINTLENGTH][RCPCCDIM] [static]
 

Initial value:

 
                {{1,1,1,1},{1,0,1,1},{0,1,1,0},{0,1,0,1},{1,1,1,1}}

Definition at line 27 of file rcpcc_hg16.h.

int prevOutput[STATES][BRANCHES] [static]
 

Initial value:

{{0,15},{15,0},{11,4},{4,11},{6,9},{9,6},{13,2},{2,13},
{5,10},{10,5},{14,1},{1,14},{3,12},{12,3},{8,7},{7,8}
}

Definition at line 77 of file rcpcc_hg16.h.

int prevState[STATES][BRANCHES] [static]
 

Initial value:

{{0,8},{0,8},{1,9},{1,9},{2,10},{2,10},{3,11},{3,11},
{4,12},{4,12},{5,13},{5,13},{6,14},{6,14},{7,15},{7,15}
}

Definition at line 72 of file rcpcc_hg16.h.

int px[RATETYPES][MAXPUNCTUREPERIOD][RCPCCDIM] [static]
 

Initial value:

{
  {{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1}},
  {{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,1},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,0},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,1},{1,1,1,0},{1,1,1,0},{1,1,1,0}},
  {{1,1,1,1},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,1,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0}},
  {{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,1,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,1,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0}},
  {{1,1,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0}},
  {{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0},{1,0,0,0}}
}

Definition at line 30 of file rcpcc_hg16.h.


Generated on Sun Jul 16 16:27:47 2006 by  doxygen 1.3.9.1