www.pudn.com > reed-solomon-4.0.rar > decode_rs_ccsds.c
/* This function wraps around the fixed 8-bit decoder, 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 1
#include "fixed.h"
#include "ccsds.h"
int decode_rs_ccsds(DTYPE *data,int *eras_pos,int no_eras,int pad){
int i,r;
DTYPE cdata[NN];
/* Convert data from dual basis to conventional */
for(i=0;i 0){
/* Convert from conventional to dual basis */
for(i=0;i