www.pudn.com > reed-solomon-4.0.rar > encode_rs_ccsds.c
/* This function wraps around the fixed 8-bit encoder, performing the
* basis transformations necessary to meet the CCSDS standard
*
* Copyright 2002, Phil Karn, KA9Q
* May be used under the terms of the GNU General Public License (GPL)
*/
#define FIXED
#include "fixed.h"
#include "ccsds.h"
void encode_rs_ccsds(DTYPE *data,DTYPE *parity,int pad){
int i;
DTYPE cdata[NN-NROOTS];
/* Convert data from dual basis to conventional */
for(i=0;i