GNU Radio's CCSDS Package
ldpc_encoder.h File Reference
#include <vector>
#include <algorithm>
Include dependency graph for ldpc_encoder.h:

Go to the source code of this file.

Macros

#define N   8176
 
#define K   7154
 
#define P   (N - K)
 

Functions

void leftrotate (string &s, int d)
 
void rightrotate (string &s, int d)
 
std::vector< std::string > splitString (const std::string &str, std::size_t len)
 
std::vector< std::vector< unsigned char > > generatorMatrix ()
 
std::vector< unsigned char > ldpc_encode (std::vector< unsigned char > input, std::vector< std::vector< unsigned char > > G)
 
void C2_Parity ()
 

Macro Definition Documentation

#define K   7154

Referenced by generatorMatrix(), and ldpc_encode().

#define N   8176

Referenced by generatorMatrix().

#define P   (N - K)

Referenced by generatorMatrix(), and ldpc_encode().

Function Documentation

void C2_Parity ( )

References rightrotate().

std::vector< std::vector<unsigned char> > generatorMatrix ( )

References K, N, P, and rightrotate().

std::vector<unsigned char> ldpc_encode ( std::vector< unsigned char >  input,
std::vector< std::vector< unsigned char > >  G 
)

References K, and P.

void leftrotate ( string &  s,
int  d 
)

Referenced by rightrotate().

void rightrotate ( string &  s,
int  d 
)

References leftrotate().

Referenced by C2_Parity(), and generatorMatrix().

std::vector<std::string> splitString ( const std::string &  str,
std::size_t  len 
)