Agora
1.2.0
Agora project
|
Go to the documentation of this file.
6 #ifndef LDPC_CONFIG_INC_
7 #define LDPC_CONFIG_INC_
16 LDPCconfig(uint16_t
bg, uint16_t zc, int16_t max_dec_itr,
bool early_term,
17 uint32_t num_cb_len, uint32_t num_cb_codew_len,
size_t num_rows,
18 size_t num_blocks_in_symbol)
80 #endif // LDPC_CONFIG_INC_
uint16_t expansion_factor_
The 5G NR LDPC expansion factor.
Definition: ldpc_config.h:63
int16_t MaxDecoderIter() const
Definition: ldpc_config.h:48
bool EarlyTermination() const
Definition: ldpc_config.h:49
static size_t LdpcNumEncodedBits(size_t base_graph, size_t zc, size_t nRows)
Definition: utils_ldpc.h:159
size_t NumRows() const
Definition: ldpc_config.h:52
static size_t BitsToBytes(size_t n_bits)
Definition: utils_ldpc.h:124
uint32_t num_cb_codew_len_
Number of codeword bits output from LDPC encodings.
Definition: ldpc_config.h:76
size_t num_rows_
Number of rows in the LDPC base graph to use.
Definition: ldpc_config.h:72
text_style bg(detail::color_type background)
Definition: color.h:367
bool early_termination_
Definition: ldpc_config.h:69
uint32_t num_cb_len_
Number of information bits input to LDPC encoding.
Definition: ldpc_config.h:74
int16_t max_decoder_iter_
Maximum number of decoder iterations per codeblock.
Definition: ldpc_config.h:65
size_t NumInputBytes() const
Definition: ldpc_config.h:30
size_t num_blocks_in_symbol_
Definition: ldpc_config.h:77
Definition: ldpc_config.h:14
LDPCconfig(uint16_t bg, uint16_t zc, int16_t max_dec_itr, bool early_term, uint32_t num_cb_len, uint32_t num_cb_codew_len, size_t num_rows, size_t num_blocks_in_symbol)
Definition: ldpc_config.h:16
uint16_t ExpansionFactor() const
Definition: ldpc_config.h:47
static size_t LdpcNumInputBits(size_t base_graph, size_t zc)
Definition: utils_ldpc.h:139
uint32_t NumCbLen() const
Definition: ldpc_config.h:50
uint16_t BaseGraph() const
Definition: ldpc_config.h:46
size_t NumEncodedBytes() const
Definition: ldpc_config.h:36
size_t NumBlocksInSymbol() const
Definition: ldpc_config.h:53
void NumBlocksInSymbol(size_t num_blocks)
Definition: ldpc_config.h:41
uint32_t NumCbCodewLen() const
Definition: ldpc_config.h:51
uint16_t base_graph_
The 5G NR LDPC base graph (one or two)
Definition: ldpc_config.h:61