mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-09 02:26:06 -05:00
9fe70e8a02
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6795 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
22 lines
557 B
C
22 lines
557 B
C
// qra65_subs.c
|
|
// Fortran interface routines for QRA65
|
|
|
|
#include "qra65.h"
|
|
#include <stdio.h>
|
|
|
|
void qra65_enc_(int x[], int y[])
|
|
{
|
|
int ncall=0xf70c238; //K1ABC
|
|
qra65codec *codec = qra65_init(0,ncall); //codec for ncall
|
|
qra65_encode(codec, y, x);
|
|
}
|
|
|
|
void qra65_dec_(float r[], int xdec[], int* rc)
|
|
{
|
|
// int ncall=0xf70c238; //K1ABC
|
|
int ncall=0x890c60c; //KA1ABC
|
|
int i;
|
|
qra65codec *codec = qra65_init(1,ncall); //codec for ncall
|
|
*rc = qra65_decode(codec,xdec,r);
|
|
}
|