 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
9 #ifndef INCLUDED_ldpc_H_matrix_H
10 #define INCLUDED_ldpc_H_matrix_H
38 public std::enable_shared_from_this<ldpc_H_matrix>
41 typedef std::shared_ptr<ldpc_H_matrix>
sptr;
55 static sptr make(
const std::string filename,
unsigned int gap);
58 void encode(
unsigned char* outbuffer,
59 const unsigned char* inbuffer)
const override = 0;
62 void decode(
unsigned char* outbuffer,
63 const float* inbuffer,
64 unsigned int frame_size,
65 unsigned int max_iterations)
const override = 0;
69 unsigned int n()
const override = 0;
73 unsigned int k()
const override = 0;
84 virtual gr::fec::code::fec_mtrx_sptr get_base_sptr() = 0;
Base class for FEC matrix objects.
Definition: fec_mtrx.h:123
std::shared_ptr< ldpc_H_matrix > sptr
Definition: ldpc_H_matrix.h:41
FEC_API unsigned char encode(unsigned char *symbols, unsigned char *data, unsigned int nbytes, unsigned char encstate)
Parity check matrix in Richardson/Urbanke format.
Definition: ldpc_H_matrix.h:37
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29