⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rserrpuncdecoding.h

📁 在vc上做的802.16d ofdm phy的仿真
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -