diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
| commit | 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (patch) | |
| tree | fbfdfe6bcb0a8a114be2480dac53d88c977e4869 /lib/wsprd/jelinek.h | |
| parent | 4320ce238aae1fe87fc9f379cdd816e9317885fa (diff) | |
New upstream version 2.7.0~rc8+repackupstream/2.7.0_rc8+repack
Diffstat (limited to 'lib/wsprd/jelinek.h')
| -rwxr-xr-x | lib/wsprd/jelinek.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/wsprd/jelinek.h b/lib/wsprd/jelinek.h index 81de1218..82ce1deb 100755 --- a/lib/wsprd/jelinek.h +++ b/lib/wsprd/jelinek.h @@ -1,24 +1,24 @@ -#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;
-};
-
-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
-
+#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; +}; + +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 + |
