rserrpuncdecoding.h

来自「在vc上做的802.16d ofdm phy的仿真」· C头文件 代码 · 共 46 行

H
46
字号
#include "typedef.h"

extern Uint8 genFunc[];

extern Uint8 AlfaOf[];

extern Uint8 IndexOf[];


void calcPuncLocator(Uint8 *puncLocator, Int16 numOfPunc, 
					 Int16 initPuncPos);

bool calcSyndrome(Uint8 *pSyndrome, Uint8 *pCodedBytes, 
				  Int16 numOfCodedBytes, Int16 rsParityBytes);

void amendSyndrome(Uint8 *pAmendSyndrome, Uint8 *pSyndrome, 
				   Uint8 *puncLocator, Int16 numOfPunc);

Int16 calcErrLocator(Uint8 *errLocator, const Uint8 *pSyndrome, 
					 Int16 numOfErrToCorr);

void calcErrPuncLocator(Uint8 *pErrPuncLocator, Uint8 *pErrorLocator, Uint8 *puncLocator, 
						Int16 numOfErr, Int16 numOfPunc);

Int16 chienSearch(Int16 *pErrLocation, Uint8 *pErrLocator, 
				  Int16 degOfElp, Int16 searchLen);

void calcErrValue(Uint8 *pErrValue, Uint8 *pSyndrome, 
				  Uint8 *pErrLocator, Int16 *pErrLocation, 
				  Int16 degOfElp);

void rsErrPuncDecoding (Uint8   *pRsDecodingIn,
						Uint16  rsDecodingInLength,
						Uint16  rsParityBytes,
						Uint8   *pRsDecodingOut,
						Uint16  rsDecodingOutLength,
						Uint8   &status);








⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?