亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rs.3

?? RS編解碼c語言程序4.0版,
?? 3
字號:
.TH REED-SOLOMON 3.SH NAMEinit_rs_int, encode_rs_int, decode_rs_int, free_rs_int,init_rs_char, encode_rs_char, decode_rs_char, free_rs_char,encode_rs_8, decode_rs_8, encode_rs_ccsds, decode_rs_ccsds\- Reed-Solomon encoding/decoding.SH SYNOPSIS.nf.ft B#include "rs.h"void *init_rs_int(int symsize,int gfpoly,int fcr,int prim,     int nroots,int pad);void encode_rs_int(void *rs,int *data,int *parity);int decode_rs_int(void *rs,int *data,int *eras_pos,int no_eras);void free_rs_int(void *rs);void *init_rs_char(int symsize,int gfpoly,int fcr,int prim,     int nroots,int pad);void encode_rs_char(void *rs,unsigned char *data,     unsigned char *parity);int decode_rs_char(void *rs,unsigned char *data,int *eras_pos,     int no_eras);void free_rs_char(void *rs);void encode_rs_8(unsigned char *data,unsigned char *parity,     int pad);int decode_rs_8(unsigned char *data,int *eras_pos,int no_eras,     int pad);void encode_rs_ccsds(unsigned char *data,unsigned char *parity,     int pad);int decode_rs_ccsds(unsigned char *data,int *eras_pos,int no_eras,     int pad);unsigned char Taltab[256];unsigned char Tal1tab[256];.fi.SH DESCRIPTIONThese functions implement Reed-Solomon error control encoding anddecoding. For optimal performance in a variety of applications, threesets of functions are supplied. To access these functions, add "-lrs"to your linker command line.The functions with names ending in \fB_int\fR handle data in integer arrays,permitting arbitrarily large codewords limited only by machineresources.The functions with names ending in \fB_char\fR take unsigned char arrays and canhandle codes with symbols of 8 bits or less (i.e., with codewords of255 symbols or less).\fBencode_rs_8\fR and \fBdecode_rs_8\fR implement a specific(255,223) code with 8-bit symbols specified by the CCSDS:a field generator of 1 + X + X^2 + X^7 + X^8 and a codegenerator with first consecutive root = 112 and a primitive element of11. These functions use the conventionalpolynomial form, \fInot\fR the dual-basis specified inthe CCSDS standard, to represent symbols. This code may beshortened by giving a non-zero \fBpad\fR value to produce a(255-\fBpad\fR,223-\fBpad\fR) code. The padding will consist of thespecified number of zeroes at the front of the full codeword.For full CCSDS compatibility, \fBencode_rs_ccsds\fR and\fBdecode_rs_ccsds\fR are provided. These functions use two lookuptables, \fBTaltab\fR to convert from conventional to dual-basis, and\fBTal1tab\fR to perform the inverse mapping from dual-basis toconventional form, before and after calls to \fBencode_rs_8\fRand \fBdecode_rs_8\fR.The \fB_8\fR and \fB_ccsds\fR functions do not require initialization.To use the general purpose RS encoder or decoder (i.e.,the \fB_char\fR or \fB_int\fR versions), the user must firstcall \fBinit_rs_int\fR or \fBinit_rs_char\fR as appropriate. Thearguments are as follows:\fBsymsize\fR gives the symbol size in bits, up to 8 for \fBinit_rs_char\fRor 32 for \fBinit_rs_int\fR on a machine with 32-bit ints (though such ahuge code would exhaust memory limits on a 32-bit machine). The resultingReed-Solomon code word will have 2^\fBsymsize\fR - 1 symbols,each containing \fBsymsize\fR bits. The codeword may be shortened with the\fBpad\fR parameter described below.\fBgfpoly\fR gives the extended Galois field generator polynomial coefficients,with the 0th coefficient in the low order bit. The polynomial\fImust\fR be primitive; if not, the call will fail and NULL will bereturned.\fBfcr\fR gives, in index form, the first consecutive root of theReed Solomon code generator polynomial.\fBprim\fR gives, in index form, the primitive element in the Galois fieldused to generate the Reed Solomon code generator polynomial.\fBnroots\fR gives the number of roots in the Reed Solomon codegenerator polynomial. This equals the number of parity symbolsper code block.\fBpad\fR gives the number of leading symbols in the codewordthat are implicitly padded to zero in a shortened code block. The resulting Reed-Solomon code has parameters (N,K), whereN = 2^\fBsymsize\fR - \fBpad\fR - 1 and K = N-\fBnroots\fR.The \fBencode_rs_char\fR and \fBencode_rs_int\fR functions acceptthe pointer returned by \fBinit_rs_char\fR or\fBinit_rs_int\fR, respectively, toencode a block of data using the specified code.The input data array is expected tocontain K symbols (of \fBsymsize\fR bits each, right justifiedin each char or int) and \fBnroots\fR parity symbols will be placedinto the \fBparity\fR array, right justified.The \fBdecode_\fR functions correctthe errors in a Reed-Solomon codeword of N symbols up to the capability of the code.An optional list of "erased" symbol indices may be given in the \fBeras_pos\fRarray to assist the decoder; this parameter may be NULL if no erasuresare given. The number of erased symbols must be given in the \fBno_eras\fRparameter.To maximize performance, the encode and decode functions perform no"sanity checking" of their inputs. Decoder failure may result if\fBeras_pos\fR contains duplicate entries, and both encoder anddecoder will fail if an input symbol exceeds its allowable range.(Symbol range overflow cannot occur with the \fB_8\fR or\fB_ccsds\fR functions,or with the \fB_char\fR functions when 8-bit symbols are specified.)The decoder corrects the symbols "in place", returning the numberof symbols in error. If the codeword is uncorrectable, -1 is returnedand the data block is unchanged. If \fBeras_pos\fR is non-null, it isused to return a list of corrected symbol positions, in no particularorder.  This means that thearray passed through this parameter \fImust\fR have at least \fBnroots\fRelements to prevent a possible buffer overflow.The \fBfree_rs_int\fR and \fBfree_rs_char\fR functions free the internalspace allocated by the \fBinit_rs_int\fR and \fBinit_rs_char\fR functions,respecitively.The functions \fBencode_rs_8\fR and \fBdecode_rs_8\fR do not havecorresponding \fBinit\fR and \fBfree\fR, nor do they take the\fBrs\fR argument accepted by the other functions as their parametersare statically compiled. These functions implement a codeequivalent to calling\fBinit_rs_char\fR(8,0x187,112,11,32,pad);and using the resulting pointer with \fBencode_rs_char\fR and\fBdecode_rs_char\fR..SH RETURN VALUES\fBinit_rs_int\fR and \fBinit_rs_char\fR return a pointer to an internalcontrol structure that must be passed to the corresponding encode, decodeand free functions. These functions return NULL on error.The \fBdecode_\fR functions return a count of correctedsymbols, or -1 if the block was uncorrectible..SH AUTHORPhil Karn, KA9Q (karn@ka9q.net), based heavily on earlier work by RobertMorelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari Thirumoorthy(harit@spectra.eng.hawaii.edu). Extra improvements suggested by DetmarWelz (dwelz@web.de)..SH COPYRIGHTCopyright 2002, Phil Karn, KA9Q. May be used under the terms of theGNU General Public License (GPL)..SH SEE ALSOCCSDS 101.0-B-5: Telemetry Channel Coding.http://www.ccsds.org/documents/pdf/CCSDS-101.0-B-5.pdf.SH NOTECCSDS chose the "dual basis" symbol representation because itsimplified the implementation of a Reed-Solomon encoder in dedicatedhardware. However, this approach holds no advantages for a softwareimplementation on a general purpose computer, so use of the dual basisis recommended only if compatibility with the CCSDS standard is needed,e.g., to decode data from an existing spacecraft using the CCSDSstandard. If you just want a fast (255,223) RS codec without needingto interoperate with a CCSDS standard code, use \fBencode_rs_8\fRand \fBdecode_rs_8\fR.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99精品1区2区| 国产乱人伦偷精品视频免下载| 91美女在线观看| 亚洲天堂久久久久久久| 色猫猫国产区一区二在线视频| 一区二区三区四区五区视频在线观看| 色综合欧美在线| 五月婷婷久久综合| 精品国免费一区二区三区| 国产一区免费电影| 国产精品高潮久久久久无| 色综合久久久久综合体| 亚洲国产视频直播| 日韩精品中文字幕一区二区三区| 国产在线不卡一卡二卡三卡四卡| 亚洲国产精品ⅴa在线观看| 一本一道久久a久久精品| 亚洲成人先锋电影| 久久久久久久久久看片| 色欧美片视频在线观看在线视频| 日日摸夜夜添夜夜添国产精品 | 亚洲午夜激情av| 91精品国产综合久久久蜜臀图片| 国产乱人伦偷精品视频不卡| 亚洲人成精品久久久久| 日韩一区国产二区欧美三区| 成人福利视频网站| 日韩中文字幕区一区有砖一区| 国产欧美日韩中文久久| 欧美日韩激情在线| av在线播放不卡| 六月丁香婷婷久久| 亚洲综合免费观看高清完整版| 欧美mv日韩mv| 欧美日韩小视频| 国产91丝袜在线观看| 日韩激情一二三区| 亚洲日穴在线视频| 国产日韩欧美一区二区三区乱码| 在线精品亚洲一区二区不卡| 国产一区二区三区香蕉| 午夜精彩视频在线观看不卡| 国产精品入口麻豆九色| 337p亚洲精品色噜噜狠狠| gogo大胆日本视频一区| 麻豆精品一区二区综合av| 亚洲一区二区三区四区在线| 欧美高清在线一区| 26uuu亚洲| 欧美一区二区三区视频在线观看| 91蜜桃免费观看视频| 国产乱人伦精品一区二区在线观看| 偷拍自拍另类欧美| 一区二区免费看| 中文字幕五月欧美| 日本一区二区三区在线观看| 日韩欧美一级片| 7777女厕盗摄久久久| 欧美色综合久久| 色呦呦日韩精品| 99免费精品在线观看| 国产成人精品亚洲日本在线桃色| 韩日av一区二区| 精品午夜久久福利影院| 婷婷成人综合网| 亚洲大型综合色站| 亚洲国产成人av网| 亚洲福中文字幕伊人影院| 亚洲综合图片区| 亚洲黄色片在线观看| 自拍偷拍国产亚洲| 亚洲色图欧美激情| 亚洲精品成人精品456| 亚洲欧美一区二区三区孕妇| 国产精品热久久久久夜色精品三区 | 欧美日韩aaaaaa| 在线一区二区三区四区五区| 99久久久免费精品国产一区二区| 成人精品视频一区二区三区 | 日本国产一区二区| 在线看一区二区| 欧美区在线观看| 欧美美女直播网站| 日韩欧美国产一区二区三区| 精品国产乱子伦一区| 久久女同性恋中文字幕| 精品99一区二区| 国产欧美精品一区二区三区四区| 欧美极品xxx| 综合中文字幕亚洲| 亚洲午夜电影网| 久久狠狠亚洲综合| 老司机一区二区| 成人午夜av在线| 91麻豆国产福利在线观看| 欧美浪妇xxxx高跟鞋交| 精品国产精品网麻豆系列| 国产欧美精品一区二区色综合 | 日日摸夜夜添夜夜添亚洲女人| 青青草97国产精品免费观看 | 激情文学综合插| 成人午夜视频在线观看| 色视频欧美一区二区三区| 7777精品伊人久久久大香线蕉的| 久久综合一区二区| 1024亚洲合集| 欧美a一区二区| 成人黄色综合网站| 欧美日韩一级片在线观看| 91麻豆精品国产| 国产精品沙发午睡系列990531| 亚洲h在线观看| 成人免费福利片| 欧美一级专区免费大片| 国产精品无码永久免费888| 午夜欧美一区二区三区在线播放| 精品一区二区日韩| 一本色道久久综合亚洲91| 欧美一二三四在线| 亚洲日本在线a| 国产精品系列在线播放| 欧美蜜桃一区二区三区 | 1024成人网| 久久精品免费看| 色美美综合视频| 久久综合网色—综合色88| 亚洲国产欧美另类丝袜| 成人综合婷婷国产精品久久蜜臀 | 久久视频一区二区| 一级做a爱片久久| 国产高清精品久久久久| 欧美久久一二区| 有码一区二区三区| 国产**成人网毛片九色| 777xxx欧美| 亚洲地区一二三色| 99久久精品国产麻豆演员表| 久久中文字幕电影| 视频一区视频二区中文字幕| 91色porny| 国产精品国模大尺度视频| 韩国女主播一区| 日韩精品一区二区三区视频| 亚洲国产婷婷综合在线精品| 99精品久久99久久久久| 国产色产综合产在线视频| 极品少妇一区二区| 91精品啪在线观看国产60岁| 亚洲欧美日本韩国| 不卡av在线免费观看| 久久久久久影视| 国产九色sp调教91| 欧美精品一区视频| 久草在线在线精品观看| 7777精品伊人久久久大香线蕉经典版下载 | 久久日一线二线三线suv| 日韩中文欧美在线| 欧美男男青年gay1069videost| 亚洲自拍偷拍欧美| 色欧美片视频在线观看| 一区二区三区精品视频在线| 97久久精品人人做人人爽| 亚洲色图都市小说| 色哟哟日韩精品| 亚洲影院久久精品| 欧美日韩综合在线免费观看| 亚洲成av人片观看| 欧美老女人在线| 日日欢夜夜爽一区| 日韩欧美成人一区| 麻豆91免费观看| 26uuu国产电影一区二区| 国产毛片精品一区| 亚洲国产精品高清| 91一区二区三区在线观看| 亚洲欧洲美洲综合色网| 91麻豆成人久久精品二区三区| 一区二区三区日韩欧美| 欧美性一二三区| 日韩av中文字幕一区二区| 91精品国产色综合久久不卡蜜臀 | 国产主播一区二区三区| 2023国产一二三区日本精品2022| 国产成人免费视| 亚洲人被黑人高潮完整版| 欧美日韩一区中文字幕| 麻豆精品在线视频| 欧美国产日韩精品免费观看| 91蝌蚪porny九色| 五月天网站亚洲| 精品捆绑美女sm三区| 成人午夜免费电影| 亚洲午夜免费福利视频| 精品欧美乱码久久久久久 | 亚洲一区在线看| 日韩欧美美女一区二区三区| 国产福利不卡视频| 亚洲一区在线电影| 久久久精品影视| 在线观看日韩高清av|