GNU Radio 3.6.5 C++ API

int.h File Reference

#include <gr_core_api.h>

Go to the source code of this file.

Classes

struct  rs

Defines

#define DTYPE   int
#define MODNN(x)   modnn(rs,x)
#define MM   (rs->mm)
#define NN   (rs->nn)
#define ALPHA_TO   (rs->alpha_to)
#define INDEX_OF   (rs->index_of)
#define GENPOLY   (rs->genpoly)
#define NROOTS   (rs->nroots)
#define FCR   (rs->fcr)
#define PRIM   (rs->prim)
#define IPRIM   (rs->iprim)
#define A0   (NN)
#define ENCODE_RS   encode_rs_int
#define DECODE_RS   decode_rs_int
#define INIT_RS   init_rs_int
#define FREE_RS   free_rs_int

Functions

static int modnn (struct rs *rs, int x)
GR_CORE_API void ENCODE_RS (void *p, DTYPE *data, DTYPE *parity)
GR_CORE_API int DECODE_RS (void *p, DTYPE *data, int *eras_pos, int no_eras)
void * INIT_RS (unsigned int symsize, unsigned int gfpoly, unsigned int fcr, unsigned int prim, unsigned int nroots)
GR_CORE_API void FREE_RS (void *p)

Define Documentation

#define A0   (NN)
#define ALPHA_TO   (rs->alpha_to)
#define DECODE_RS   decode_rs_int
#define DTYPE   int
#define ENCODE_RS   encode_rs_int
#define FCR   (rs->fcr)
#define FREE_RS   free_rs_int
#define GENPOLY   (rs->genpoly)
#define INDEX_OF   (rs->index_of)
#define INIT_RS   init_rs_int
#define IPRIM   (rs->iprim)
#define MM   (rs->mm)
#define MODNN (   x)    modnn(rs,x)
#define NN   (rs->nn)
#define NROOTS   (rs->nroots)
#define PRIM   (rs->prim)

Function Documentation

GR_CORE_API int DECODE_RS ( void *  p,
DTYPE *  data,
int *  eras_pos,
int  no_eras 
)
GR_CORE_API void ENCODE_RS ( void *  p,
DTYPE *  data,
DTYPE *  parity 
)
GR_CORE_API void FREE_RS ( void *  p)
void* INIT_RS ( unsigned int  symsize,
unsigned int  gfpoly,
unsigned int  fcr,
unsigned int  prim,
unsigned int  nroots 
)
static int modnn ( struct rs rs,
int  x 
) [inline, static]

References rs::mm, and rs::nn.