Agora
1.2.0
Agora project
|
Go to the documentation of this file.
12 #include "phy_ldpc_encoder_5gnr.h"
14 #define BITMASKU8(x) ((1U << (x)) - 1)
15 #define MIN(a, b) (((a) < (b)) ? (a) : (b))
20 static constexpr
size_t kZcMax = 255;
24 struct bblib_ldpc_encoder_5gnr_response* response);
class RadioSocket __attribute__
Definitions for Agora's AVX2-based LDPC encoder.
void(*)(int8_t *, int8_t *, uint16_t, uint32_t, int8_t) LDPC_ADAPTER_P
Definition: iobuffer.h:22
LDPC_ADAPTER_P LdpcSelectAdapterFunc(uint16_t zc_size)
Definition: iobuffer.cc:228
Declaration for for the avx2enc iobuffer functions.
static constexpr size_t kMaxProcBytes
Definition: encoder.h:30
void LdpcEncoderBg1(int8_t *pDataIn, int8_t *pDataOut, const int16_t *pMatrixNumPerCol, const int16_t *pAddr, const int16_t *pShiftMatrix, int16_t zcSize, uint8_t i_LS)
Definition: encoder.cc:15
Definition: cyclic_shift.cc:10
#define BG1_NONZERO_NUM
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:93
#define BG2_NONZERO_NUM
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:98
void LdpcEncoderBg2(int8_t *pDataIn, int8_t *pDataOut, const int16_t *pMatrixNumPerCol, const int16_t *pAddr, const int16_t *pShiftMatrix, int16_t zcSize, uint8_t i_LS)
Definition: encoder.cc:130
#define BG1_COL_TOTAL
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:90
#define BG1_COL_INF_NUM
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:92
#define BG2_COL_INF_NUM
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:97
static constexpr int16_t kBg2MatrixNumPerCol[52]
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:316
static constexpr size_t kProcBytes
Definition: encoder.h:22
#define ZC_MAX
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:88
text_style bg(detail::color_type background)
Definition: color.h:367
int32_t BblibLdpcEncoder5gnr(struct bblib_ldpc_encoder_5gnr_request *request, struct bblib_ldpc_encoder_5gnr_response *response)
Definition: encoder.cc:239
for i
Definition: generate_data.m:107
#define BG2_ROW_TOTAL
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:96
auto fprintf(std::FILE *f, const S &fmt, const T &... args) -> int
Definition: printf.h:607
static constexpr size_t kZcMax
Definition: encoder.h:20
#define BG1_ROW_TOTAL
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:91
__m256i(*)(__m256i, int16_t, int16_t) CYCLIC_BIT_SHIFT
Definition: cyclic_shift.h:19
CYCLIC_BIT_SHIFT LdpcSelectShiftFunc(int16_t zcSize)
Definition: cyclic_shift.cc:166
static constexpr int16_t kBg1MatrixNumPerCol[68]
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:108
static constexpr int16_t kBg2Address[188]
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:324
Declaration for for the avx2enc cyclic shift functions.
static constexpr int16_t kBg1Address[307]
Definition: gcc_phy_ldpc_encoder_5gnr_internal.h:117