23 #ifndef INCLUDED_LDPC_DECODER_H
24 #define INCLUDED_LDPC_DECODER_H
46 ldpc_decoder (std::string alist_file,
float sigma,
int max_iterations);
51 const char* get_conversion();
52 void generic_work(
void *inBuffer,
void *outbuffer);
54 int inputSize, outputSize;
63 double rate() {
return (1.0*get_output_size() / get_input_size()); }
67 make (std::string alist_file,
float sigma=0.5,
int max_iterations=50);
68 int get_output_size();
70 int get_input_item_size();
71 int get_output_item_size();
float get_iterations()
Definition: ldpc_decoder.h:72
Parent class for FECAPI objects.
Definition: generic_decoder.h:60
Definition: ldpc_decoder.h:44
Include this header to use the message passing features.
Definition: basic_block.h:45
float INPUT_DATATYPE
Definition: ldpc_decoder.h:26
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
unsigned char OUTPUT_DATATYPE
Definition: ldpc_decoder.h:27
double rate()
Definition: ldpc_decoder.h:63
FEC_API int get_history(generic_decoder::sptr my_decoder)
FEC_API float get_shift(generic_decoder::sptr my_decoder)
boost::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:75
bool set_frame_size(unsigned int frame_size)
Definition: ldpc_decoder.h:64