Initial Commit

This commit is contained in:
Jordan Sherer
2018-02-08 21:28:33 -05:00
commit 678c1d3966
14352 changed files with 3176737 additions and 0 deletions
@@ -0,0 +1,26 @@
#ifndef JELINEK_H
#define JELINEK_H
#include <stdint.h>
struct snode {
uint64_t encstate; // Encoder state
int gamma; // Cumulative metric to this node
unsigned int depth; // depth of this node
unsigned int jpointer;
};
struct snode *stack;
int jelinek(unsigned int *metric,
unsigned int *cycles,
unsigned char *data,
unsigned char *symbols,
unsigned int nbits,
unsigned int stacksize,
struct snode *stack,
int mettab[2][256],
unsigned int maxcycles);
#endif