gr::fec::code::ldpc_gen_mtrx_encoder
gr::fec::generic_encoder
gnuradio/fec/ldpc_gen_mtrx_encoder.h
generic_encoder::sptr static generic_encoder::sptr gr::fec::code::ldpc_gen_mtrx_encoder::make (const code::ldpc_G_matrix::sptr G_obj) make gr::fec::code::ldpc_gen_mtrx_encoder::make const code::ldpc_G_matrix::sptr G_obj

Build an encoding FEC API object.

G_obj

The ldpc_G_matrix object to use for encoding.

bool bool gr::fec::code::ldpc_gen_mtrx_encoder::set_frame_size (unsigned int frame_size) override=0 set_frame_size gr::fec::code::ldpc_gen_mtrx_encoder::set_frame_size set_frame_size unsigned int frame_size

Sets the uncoded frame size to `frame_size`.

Sets the uncoded frame size to `frame_size`. If `frame_size` is greater than the value given to the constructor, the frame size will be capped by that initial value and this function will return false. Otherwise, it returns true.

double double gr::fec::code::ldpc_gen_mtrx_encoder::rate () override=0 rate gr::fec::code::ldpc_gen_mtrx_encoder::rate rate

Returns the coding rate of this encoder.

LDPC generator matrix encoder.

A standard encoder class. This method is discussed in many textbooks; one is: Turbo Coding for Satellite and Wireless Communications by Soleymani, Gao, and Vilaipornsawai. Given a generator matrix in systematic form, $\mathbf{G}=\left[\mathbf{I}_{k}|\mathbf{P}\right]$, where $\mathbf{I}_{k}$ is the identity matrix and $\mathbf{P}$ is the parity submatrix, the information word $\bar{s}$ is encoded into a codeword $\overline{x}$ via: \[\overline{x}=\mathbf{G}^{T}\bar{s}\]

gr::fec::code::ldpc_gen_mtrx_encoder
gr::fec::generic_encoder
gr::fec::code::ldpc_gen_mtrx_encoder
gr::fec::generic_encoder
d_logger
d_name
std::basic_string< Char >
std::shared_ptr< logger >
std::string
- gr::fec::code::ldpc_gen_mtrx_encoder
  alias
- gr::fec::code::ldpc_gen_mtrx_encoder
  base_unique_id
- gr::fec::code::ldpc_gen_mtrx_encoder
  d_logger
- gr::fec::code::ldpc_gen_mtrx_encoder
  d_name
- gr::fec::code::ldpc_gen_mtrx_encoder
  generic_encoder
- gr::fec::code::ldpc_gen_mtrx_encoder
  generic_encoder
- gr::fec::code::ldpc_gen_mtrx_encoder
  generic_work
- gr::fec::code::ldpc_gen_mtrx_encoder
  get_input_conversion
- gr::fec::code::ldpc_gen_mtrx_encoder
  get_input_size
- gr::fec::code::ldpc_gen_mtrx_encoder
  get_output_conversion
- gr::fec::code::ldpc_gen_mtrx_encoder
  get_output_size
- gr::fec::code::ldpc_gen_mtrx_encoder
  make
- gr::fec::code::ldpc_gen_mtrx_encoder
  my_id
- gr::fec::code::ldpc_gen_mtrx_encoder
  rate
- gr::fec::code::ldpc_gen_mtrx_encoder
  set_frame_size
- gr::fec::code::ldpc_gen_mtrx_encoder
  sptr
- gr::fec::code::ldpc_gen_mtrx_encoder
  unique_id
- gr::fec::code::ldpc_gen_mtrx_encoder
  ~generic_encoder