Loading...
Searching...
No Matches
tpc_common.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2015 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_TPC_COMMON_H
#define INCLUDED_TPC_COMMON_H
#include <vector>
namespace gr {
namespace fec {
class tpc_common
{
public:
static int parity_counter(int symbol, int length);
static void rsc_enc_bit(int input,
int state_in,
std::vector<int> g,
int KK,
int nn,
std::vector<std::vector<int>>& output,
std::vector<std::vector<int>>& nextStates);
static void
precomputeStateTransitionMatrix_RSCPoly(int numStates,
std::vector<int> g,
int KK,
int nn,
std::vector<std::vector<int>>& output,
std::vector<std::vector<int>>& nextStates);
static void
rsc_tail(std::vector<int>& tail_p, std::vector<int> g, int max_states, int mm);
static void itob(std::vector<int>& binVec, int symbol, int length);
};
} // namespace fec
} // namespace gr
#endif /* INCLUDED_TPC_COMMON_H */
gr::fec::tpc_common
Definition tpc_common.h:20
gr::fec::tpc_common::precomputeStateTransitionMatrix_RSCPoly
static void precomputeStateTransitionMatrix_RSCPoly(int numStates, std::vector< int > g, int KK, int nn, std::vector< std::vector< int > > &output, std::vector< std::vector< int > > &nextStates)
gr::fec::tpc_common::rsc_enc_bit
static void rsc_enc_bit(int input, int state_in, std::vector< int > g, int KK, int nn, std::vector< std::vector< int > > &output, std::vector< std::vector< int > > &nextStates)
gr::fec::tpc_common::parity_counter
static int parity_counter(int symbol, int length)
gr::fec::tpc_common::rsc_tail
static void rsc_tail(std::vector< int > &tail_p, std::vector< int > g, int max_states, int mm)
gr::fec::tpc_common::itob
static void itob(std::vector< int > &binVec, int symbol, int length)
gr::fec
Definition async_decoder.h:20
gr
GNU Radio logging wrapper.
Definition basic_block.h:29