12#ifndef INCLUDED_FEC_POLAR_DECODER_SC_H
13#define INCLUDED_FEC_POLAR_DECODER_SC_H
49 std::vector<int> frozen_bit_positions,
50 std::vector<uint8_t> frozen_bit_values);
59 std::vector<int> frozen_bit_positions,
60 std::vector<uint8_t> frozen_bit_values);
62 volk::vector<float> d_llr_vec;
63 volk::vector<unsigned char> d_u_hat_vec;
65 unsigned char retrieve_bit_from_llr(
float llr,
const int pos);
66 void sc_decode(
float* llrs,
unsigned char* u);
Class holds common methods and attributes for different decoder implementations.
Definition: polar_decoder_common.h:28
Standard successive cancellation (SC) decoder for POLAR codes.
Definition: polar_decoder_sc.h:32
~polar_decoder_sc() override
static generic_decoder::sptr make(int block_size, int num_info_bits, std::vector< int > frozen_bit_positions, std::vector< uint8_t > frozen_bit_values)
void generic_work(void *in_buffer, void *out_buffer) override
std::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:62
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29