gr::fec::tpc_encoder
gr::fec::generic_encoder
gnuradio/fec/tpc_encoder.h
std::vector< int > std::vector<int> gr::fec::tpc_encoder::d_rowpolys d_rowpolys gr::fec::tpc_encoder::d_rowpolys
std::vector< int > std::vector<int> gr::fec::tpc_encoder::d_colpolys d_colpolys gr::fec::tpc_encoder::d_colpolys
unsigned int unsigned int gr::fec::tpc_encoder::d_krow d_krow gr::fec::tpc_encoder::d_krow
unsigned int unsigned int gr::fec::tpc_encoder::d_kcol d_kcol gr::fec::tpc_encoder::d_kcol
unsigned int unsigned int gr::fec::tpc_encoder::d_bval d_bval gr::fec::tpc_encoder::d_bval
unsigned int unsigned int gr::fec::tpc_encoder::d_qval d_qval gr::fec::tpc_encoder::d_qval
int int gr::fec::tpc_encoder::rowNumStates rowNumStates gr::fec::tpc_encoder::rowNumStates
std::vector< std::vector< int > > std::vector<std::vector<int> > gr::fec::tpc_encoder::rowOutputs rowOutputs gr::fec::tpc_encoder::rowOutputs
std::vector< std::vector< int > > std::vector<std::vector<int> > gr::fec::tpc_encoder::rowNextStates rowNextStates gr::fec::tpc_encoder::rowNextStates
int int gr::fec::tpc_encoder::colNumStates colNumStates gr::fec::tpc_encoder::colNumStates
std::vector< std::vector< int > > std::vector<std::vector<int> > gr::fec::tpc_encoder::colOutputs colOutputs gr::fec::tpc_encoder::colOutputs
std::vector< std::vector< int > > std::vector<std::vector<int> > gr::fec::tpc_encoder::colNextStates colNextStates gr::fec::tpc_encoder::colNextStates
std::vector< int > std::vector<int> gr::fec::tpc_encoder::rowTail rowTail gr::fec::tpc_encoder::rowTail
std::vector< int > std::vector<int> gr::fec::tpc_encoder::colTail colTail gr::fec::tpc_encoder::colTail
int int gr::fec::tpc_encoder::rowEncoder_K rowEncoder_K gr::fec::tpc_encoder::rowEncoder_K
size_t size_t gr::fec::tpc_encoder::rowEncoder_n rowEncoder_n gr::fec::tpc_encoder::rowEncoder_n
int int gr::fec::tpc_encoder::rowEncoder_m rowEncoder_m gr::fec::tpc_encoder::rowEncoder_m
int int gr::fec::tpc_encoder::colEncoder_K colEncoder_K gr::fec::tpc_encoder::colEncoder_K
size_t size_t gr::fec::tpc_encoder::colEncoder_n colEncoder_n gr::fec::tpc_encoder::colEncoder_n
int int gr::fec::tpc_encoder::colEncoder_m colEncoder_m gr::fec::tpc_encoder::colEncoder_m
int int gr::fec::tpc_encoder::outputSize outputSize gr::fec::tpc_encoder::outputSize
int int gr::fec::tpc_encoder::inputSize inputSize gr::fec::tpc_encoder::inputSize
int int gr::fec::tpc_encoder::inputSizeWithPad inputSizeWithPad gr::fec::tpc_encoder::inputSizeWithPad
std::vector< unsigned char > std::vector<unsigned char> gr::fec::tpc_encoder::inputWithPad inputWithPad gr::fec::tpc_encoder::inputWithPad
std::vector< std::vector< uint8_t > > std::vector<std::vector<uint8_t> > gr::fec::tpc_encoder::rowEncodedBits rowEncodedBits gr::fec::tpc_encoder::rowEncodedBits
std::vector< unsigned char > std::vector<unsigned char> gr::fec::tpc_encoder::rowToEncode rowToEncode gr::fec::tpc_encoder::rowToEncode
size_t size_t gr::fec::tpc_encoder::numRowsToEncode numRowsToEncode gr::fec::tpc_encoder::numRowsToEncode
std::vector< uint8_t > std::vector<uint8_t> gr::fec::tpc_encoder::rowEncoded_block rowEncoded_block gr::fec::tpc_encoder::rowEncoded_block
std::vector< std::vector< uint8_t > > std::vector<std::vector<uint8_t> > gr::fec::tpc_encoder::colEncodedBits colEncodedBits gr::fec::tpc_encoder::colEncodedBits
std::vector< unsigned char > std::vector<unsigned char> gr::fec::tpc_encoder::colToEncode colToEncode gr::fec::tpc_encoder::colToEncode
int int gr::fec::tpc_encoder::numColsToEncode numColsToEncode gr::fec::tpc_encoder::numColsToEncode
std::vector< uint8_t > std::vector<uint8_t> gr::fec::tpc_encoder::colEncoded_block colEncoded_block gr::fec::tpc_encoder::colEncoded_block
FILE * FILE* gr::fec::tpc_encoder::fp fp gr::fec::tpc_encoder::fp
gr::fec::tpc_encoder::tpc_encoder
(std::vector< int > row_polys, std::vector< int > col_polys, int krow, int kcol, int bval, int qval)
tpc_encoder
gr::fec::tpc_encoder::tpc_encoder
std::vector< int > row_polys
std::vector< int > col_polys
int krow
int kcol
int bval
int qval
void void gr::fec::tpc_encoder::generic_work (const void *inBuffer, void *outbuffer) override generic_work gr::fec::tpc_encoder::generic_work generic_work const void * inBuffer void * outbuffer
int int gr::fec::tpc_encoder::get_output_size () override get_output_size gr::fec::tpc_encoder::get_output_size get_output_size

Returns the output size in items that the encoder object produces after encoding a full frame. Often, this number is the number of bits in the outputted frame if the input format is unpacked. If the block produces packed bytes, then this value should be the number of bytes (number of bits / 8) per frame produced. This value is generally something like R*get_input_size() for a 1/R rate code.

The child class MUST implement this function.

int int gr::fec::tpc_encoder::get_input_size () override get_input_size gr::fec::tpc_encoder::get_input_size get_input_size

Returns the input size in items that the encoder object uses to encode a full frame. Often, this number is the number of bits per frame if the input format is unpacked. If the block expects packed bytes, then this value should be the number of bytes (number of bits / 8) per input frame.

The child class MUST implement this function.

void void gr::fec::tpc_encoder::block_conv_encode (std::vector< uint8_t > &output, std::vector< uint8_t > input, std::vector< std::vector< int > > transOutputVec, std::vector< std::vector< int > > transNextStateVec, std::vector< int > tail, size_t KK, size_t nn) block_conv_encode gr::fec::tpc_encoder::block_conv_encode std::vector< uint8_t > & output std::vector< uint8_t > input std::vector< std::vector< int > > transOutputVec std::vector< std::vector< int > > transNextStateVec std::vector< int > tail size_t KK size_t nn
gr::fec::tpc_encoder::~tpc_encoder
() override
~tpc_encoder
gr::fec::tpc_encoder::~tpc_encoder
double double gr::fec::tpc_encoder::rate () override rate gr::fec::tpc_encoder::rate rate

Returns the rate of the code. For every 1 input bit, there are r output bits, so the rate is 1/r. Used for setting things like the encoder block's relative rate.

This function MUST be reimplemented by the child class.

bool bool gr::fec::tpc_encoder::set_frame_size (unsigned int) override set_frame_size gr::fec::tpc_encoder::set_frame_size set_frame_size unsigned int frame_size

Updates the size of the frame to encode.

The child class MUST implement this function and interpret how the `frame_size` information affects the block's behavior. It should also provide bounds checks.

generic_encoder::sptr static generic_encoder::sptr gr::fec::tpc_encoder::make (std::vector< int > row_poly, std::vector< int > col_poly, int krow, int kcol, int bval, int qval) make gr::fec::tpc_encoder::make std::vector< int > row_poly std::vector< int > col_poly int krow int kcol int bval int qval
gr::fec::generic_encoder
gr::fec::tpc_encoder
gr::fec::generic_encoder
d_logger
d_name
gr::fec::tpc_encoder
std::basic_string< Char >
std::shared_ptr< logger >
std::string
- gr::fec::tpc_encoder
  alias
- gr::fec::tpc_encoder
  base_unique_id
- gr::fec::tpc_encoder
  block_conv_encode
- gr::fec::tpc_encoder
  colEncoded_block
- gr::fec::tpc_encoder
  colEncodedBits
- gr::fec::tpc_encoder
  colEncoder_K
- gr::fec::tpc_encoder
  colEncoder_m
- gr::fec::tpc_encoder
  colEncoder_n
- gr::fec::tpc_encoder
  colNextStates
- gr::fec::tpc_encoder
  colNumStates
- gr::fec::tpc_encoder
  colOutputs
- gr::fec::tpc_encoder
  colTail
- gr::fec::tpc_encoder
  colToEncode
- gr::fec::tpc_encoder
  d_bval
- gr::fec::tpc_encoder
  d_colpolys
- gr::fec::tpc_encoder
  d_kcol
- gr::fec::tpc_encoder
  d_krow
- gr::fec::tpc_encoder
  d_logger
- gr::fec::tpc_encoder
  d_name
- gr::fec::tpc_encoder
  d_qval
- gr::fec::tpc_encoder
  d_rowpolys
- gr::fec::tpc_encoder
  fp
- gr::fec::tpc_encoder
  generic_encoder
- gr::fec::tpc_encoder
  generic_encoder
- gr::fec::tpc_encoder
  generic_work
- gr::fec::tpc_encoder
  get_input_conversion
- gr::fec::tpc_encoder
  get_input_size
- gr::fec::tpc_encoder
  get_output_conversion
- gr::fec::tpc_encoder
  get_output_size
- gr::fec::tpc_encoder
  inputSize
- gr::fec::tpc_encoder
  inputSizeWithPad
- gr::fec::tpc_encoder
  inputWithPad
- gr::fec::tpc_encoder
  make
- gr::fec::tpc_encoder
  my_id
- gr::fec::tpc_encoder
  numColsToEncode
- gr::fec::tpc_encoder
  numRowsToEncode
- gr::fec::tpc_encoder
  outputSize
- gr::fec::tpc_encoder
  rate
- gr::fec::tpc_encoder
  rowEncoded_block
- gr::fec::tpc_encoder
  rowEncodedBits
- gr::fec::tpc_encoder
  rowEncoder_K
- gr::fec::tpc_encoder
  rowEncoder_m
- gr::fec::tpc_encoder
  rowEncoder_n
- gr::fec::tpc_encoder
  rowNextStates
- gr::fec::tpc_encoder
  rowNumStates
- gr::fec::tpc_encoder
  rowOutputs
- gr::fec::tpc_encoder
  rowTail
- gr::fec::tpc_encoder
  rowToEncode
- gr::fec::tpc_encoder
  set_frame_size
- gr::fec::tpc_encoder
  sptr
- gr::fec::tpc_encoder
  tpc_encoder
- gr::fec::tpc_encoder
  unique_id
- gr::fec::tpc_encoder
  ~generic_encoder
- gr::fec::tpc_encoder
  ~tpc_encoder