Base class for FEC matrix objects.
More...
#include <gnuradio/fec/fec_mtrx.h>
|
virtual | ~fec_mtrx () |
|
virtual void | encode (unsigned char *outbuffer, const unsigned char *inbuffer) const =0 |
| Encode inbuffer with LDPC H matrix into outbuffer . More...
|
|
virtual void | decode (unsigned char *outbuffer, const float *inbuffer, unsigned int frame_size, unsigned int max_iterations) const =0 |
| Decode inbuffer with LDPC H matrix into outbuffer . More...
|
|
virtual unsigned int | n () const =0 |
| Get the codeword length n. More...
|
|
virtual unsigned int | k () const =0 |
| Get the information word length k. More...
|
|
Base class for FEC matrix objects.
Base class of ldpc_H_matrix and ldpc_G_matrix classes. The child objects can be either generator matrices or parity check matrices. This base class can be provided to the decoder ldpc_bit_flip_decoder, whereas the encoder classes ldpc_gen_mtrx_encoder and ldpc_encoder will not accept this base class; they require one of the child classes.
◆ fec_mtrx()
gr::fec::code::fec_mtrx::fec_mtrx |
( |
void |
| ) |
|
|
inlineprotected |
◆ ~fec_mtrx()
virtual gr::fec::code::fec_mtrx::~fec_mtrx |
( |
| ) |
|
|
inlinevirtual |
◆ decode()
virtual void gr::fec::code::fec_mtrx::decode |
( |
unsigned char * |
outbuffer, |
|
|
const float * |
inbuffer, |
|
|
unsigned int |
frame_size, |
|
|
unsigned int |
max_iterations |
|
) |
| const |
|
pure virtual |
◆ encode()
virtual void gr::fec::code::fec_mtrx::encode |
( |
unsigned char * |
outbuffer, |
|
|
const unsigned char * |
inbuffer |
|
) |
| const |
|
pure virtual |
◆ k()
virtual unsigned int gr::fec::code::fec_mtrx::k |
( |
| ) |
const |
|
pure virtual |
◆ n()
virtual unsigned int gr::fec::code::fec_mtrx::n |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: