24#ifndef INCLUDED_FEC_POLAR_ENCODER_SYSTEMATIC_H
25#define INCLUDED_FEC_POLAR_ENCODER_SYSTEMATIC_H
67 make(
int block_size,
int num_info_bits, std::vector<int> frozen_bit_positions);
71 double rate() {
return (1.0 * get_input_size() / get_output_size()); };
81 std::vector<int> frozen_bit_positions);
83 void bit_reverse_and_reset_frozen_bits(
unsigned char* outbuf,
84 const unsigned char* inbuf);
85 unsigned char* d_volk_syst_intermediate;
POLAR code common operations and attributes.
Definition: polar_common.h:57
systematic POLAR encoder for basic details see 'polar_common' class.
Definition: polar_encoder_systematic.h:51
~polar_encoder_systematic()
int get_output_size()
Definition: polar_encoder_systematic.h:73
double rate()
Definition: polar_encoder_systematic.h:71
bool set_frame_size(unsigned int frame_size)
Definition: polar_encoder_systematic.h:74
void generic_work(void *in_buffer, void *out_buffer)
static generic_encoder::sptr make(int block_size, int num_info_bits, std::vector< int > frozen_bit_positions)
int get_input_size()
Definition: polar_encoder_systematic.h:72
Definition: generic_encoder.h:35
boost::shared_ptr< generic_encoder > sptr
Definition: generic_encoder.h:49
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45