Agora
1.2.0
Agora project
|
#include <immintrin.h>
#include "common_typedef_sdk.h"
Go to the source code of this file.
Macros | |
#define | PROC_BYTES 64 |
#define | WAYS_144to256 2 |
#define | WAYS_72to128 4 |
#define | WAYS_36to64 8 |
#define | WAYS_18to32 16 |
#define | WAYS_2to16 16 |
#define | PROC_BYTES 64 |
#define | I_LS_NUM 8 |
#define | ZC_MAX 384 |
#define | BG1_COL_TOTAL 68 |
#define | BG1_ROW_TOTAL 46 |
#define | BG1_COL_INF_NUM 22 |
#define | BG1_NONZERO_NUM 307 |
#define | BG2_COL_TOTAL 52 |
#define | BG2_ROW_TOTAL 42 |
#define | BG2_COL_INF_NUM 10 |
#define | BG2_NONZERO_NUM 188 |
Typedefs | |
using | LDPC_ADAPTER_P = void(*)(int8_t **, int8_t *, uint16_t, uint32_t, int8_t) |
Functions | |
void | AdapterFrom288to384 (int8_t **pBuff0, int8_t *pBuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
void | Adapter2waysFrom144to256 (int8_t **pbuff0, int8_t *pbuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
void | Adapter4waysFrom72to128 (int8_t **pbuff0, int8_t *pbuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
void | Adapter8waysFrom36to64 (int8_t **pbuff0, int8_t *pbuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
void | Adapter16waysFrom18to32 (int8_t **pbuff0, int8_t *pbuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
void | Adapter16waysFrom2to16 (int8_t **pbuff0, int8_t *pbuff1, uint16_t zcSize, uint32_t cbLen, int8_t direct) |
LDPC_ADAPTER_P | LdpcSelectAdapterFunc (uint16_t zcSize) |
void | LdpcEncInitial () |
void | LdpcEncoderBg1 (int8_t *pDataIn, int8_t *pDataOut, const int16_t *pMatrixNumPerCol, const int16_t *pAddr, const int16_t *pShiftMatrix, int16_t zcSize) |
__attribute__ ((aligned(64))) static const expr int16_t kBg1HShiftMatrix[307 *8] | |
Variables | |
static constexpr int16_t | kBg1MatrixNumPerCol [68] |
static constexpr int16_t | kBg1Address [307] |
static constexpr int16_t | kBg2MatrixNumPerCol [52] |
static constexpr int16_t | kBg2Address [188] |
#define BG1_COL_INF_NUM 22 |
#define BG1_COL_TOTAL 68 |
#define BG1_NONZERO_NUM 307 |
#define BG1_ROW_TOTAL 46 |
#define BG2_COL_INF_NUM 10 |
#define BG2_COL_TOTAL 52 |
#define BG2_NONZERO_NUM 188 |
#define BG2_ROW_TOTAL 42 |
#define I_LS_NUM 8 |
#define PROC_BYTES 64 |
#define PROC_BYTES 64 |
#define WAYS_144to256 2 |
#define WAYS_18to32 16 |
#define WAYS_2to16 16 |
#define WAYS_36to64 8 |
#define WAYS_72to128 4 |
#define ZC_MAX 384 |
using LDPC_ADAPTER_P = void (*)(int8_t**, int8_t*, uint16_t, uint32_t, int8_t) |
__attribute__ | ( | (aligned(64)) | ) | const |
void Adapter16waysFrom18to32 | ( | int8_t ** | pbuff0, |
int8_t * | pbuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void Adapter16waysFrom2to16 | ( | int8_t ** | pbuff0, |
int8_t * | pbuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void Adapter2waysFrom144to256 | ( | int8_t ** | pbuff0, |
int8_t * | pbuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void Adapter4waysFrom72to128 | ( | int8_t ** | pbuff0, |
int8_t * | pbuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void Adapter8waysFrom36to64 | ( | int8_t ** | pbuff0, |
int8_t * | pbuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void AdapterFrom288to384 | ( | int8_t ** | pBuff0, |
int8_t * | pBuff1, | ||
uint16_t | zcSize, | ||
uint32_t | cbLen, | ||
int8_t | direct | ||
) |
void LdpcEncInitial | ( | ) |
void LdpcEncoderBg1 | ( | int8_t * | pDataIn, |
int8_t * | pDataOut, | ||
const int16_t * | pMatrixNumPerCol, | ||
const int16_t * | pAddr, | ||
const int16_t * | pShiftMatrix, | ||
int16_t | zcSize | ||
) |
LDPC_ADAPTER_P LdpcSelectAdapterFunc | ( | uint16_t | zcSize | ) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |