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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? main_rs.c

?? 這個文件包括wimax中所有的編解碼源代碼
?? C
字號:
/*****************************************************************************//*   FIle Name : main_rs.c                                                   *//*   Description : Main routine to Test Reed-Solomon FEC                     *//*   author : miffie                                                         *//*   Date   : sep/23/05                                                      *//*   Copyright (c) 2005 miffie   All rights reserved.                        *//*****************************************************************************///Special thanks to original author of this code/* This program is an encoder/decoder for Reed-Solomon codes. Encoding is in   systematic form, decoding via the Berlekamp iterative algorithm.   In the present form , the constants mm, nn, tt, and kk=nn-2tt must be   specified  (the double letters are used simply to avoid clashes with   other n,k,t used in other programs into which this was incorporated!)   Also, the irreducible polynomial used to generate GF(2**mm) must also be   entered -- these can be found in Lin and Costello, and also Clark and Cain.   The representation of the elements of GF(2**m) is either in index form,   where the number is the power of the primitive element alpha, which is   convenient for multiplication (add the powers modulo 2**m-1) or in   polynomial form, where the bits represent the coefficients of the   polynomial representation of the number, which is the most convenient form   for addition.  The two forms are swapped between via lookup tables.   This leads to fairly messy looking expressions, but unfortunately, there   is no easy alternative when working with Galois arithmetic.   The code is not written in the most elegant way, but to the best   of my knowledge, (no absolute guarantees!), it works.   However, when including it into a simulation program, you may want to do   some conversion of global variables (used here because I am lazy!) to   local variables where appropriate, and passing parameters (eg array   addresses) to the functions  may be a sensible move to reduce the number   of global variables and thus decrease the chance of a bug being introduced.   This program does not handle erasures at present, but should not be hard   to adapt to do this, as it is just an adjustment to the Berlekamp-Massey   algorithm. It also does not attempt to decode past the BCH bound -- see   Blahut "Theory and practice of error control codes" for how to do this.              Simon Rockliff, University of Adelaide   21/9/89   26/6/91 Slight modifications to remove a compiler dependent bug which hadn't           previously surfaced. A few extra comments added for clarity.           Appears to all work fine, ready for posting to net!                  Notice                 --------   This program may be freely modified and/or given to whoever wants it.   A condition of such distribution is that the author's contribution be   acknowledged by his name being left in the comments heading the program,   however no responsibility is accepted for any financial or other loss which   may result from some unforseen errors or malfunctioning of the program   during use.                                 Simon Rockliff, 26th June 1991*/#include <math.h>#include <stdio.h>#include <stdlib.h>//Global variableschar   print_on = 1 ;#define  PRINTF if (print_on) printf#define  FPRINTF if (print_on) fprintf#include "../env/binaryset.c"#include "../env/utility.c"#define mm  8           /* RS code over GF(2**4) - change to suit *///#define nn  255          /* nn=2**mm -1   length of codeword *///#define tt  16         /* number of errors that can be corrected *///#define kk  223           /* kk = nn-2*tt  */int pp [mm+1] = { 1, 0, 1, 1, 1, 0, 0, 0, 1} ; /* specify irreducible polynomial coeffts */#include "encode_rs.c"#include "decode_rs.c"main(){  static int NN = 255 ;  register int ii , jj ;  char num_erasure ;  char fail  ;  char RR ;  short  KK  , num_data   ;  struct  binaryset bset, exp ;  unsigned char     data[NN] ;  char message[] = { 0xd4, 0xba, 0xa1, 0x12, 0xf2, 0x74, 0x96, 0x30,                     0x27, 0xd4, 0x88, 0x9c, 0x96, 0xe3, 0xa9, 0x52,                     0xb3, 0x15, 0xab, 0xfd, 0x92, 0x53, 0x07, 0x32,                     0xc0, 0x62, 0x48, 0xf0, 0x19, 0x22, 0xe0, 0x91,                     0x62, 0x1a, 0xc1 } ; //0x23      //multiple tests  for  (jj=0;jj<1000;jj++) { //each test    RR=int_random(17)*2 ; // 2 bytes * number of errors that can be corrected(tt)     KK= NN-RR ; //number of data inputs to encoder    /* for known data, stick a few numbers into a zero codeword. Data is in       polynomial form.    */    //make a binary set    num_data = int_random(KK+1) ; //0-KK    printf("\n %d th Test(RR=%d num_data=%d)\n\n", jj, RR, num_data ) ;    for  (ii=0; ii<num_data; ii++)   data[ii] = int_random(256)&NN ;    bset.format = 1 ;    bset.data = &data[0] ;    bset.size = num_data ;      /* encode data[] to produce parity in bb[].  Data input and parity output       is in polynomial form    */    exp = copy_binaryset(bset) ;    print_binaryset(bset) ;       bset =  encode_rs(bset, RR ) ;    print_binaryset(bset) ;      /* if you want to test the program, corrupt some of the elements of recd[]       here. This can also be done easily in a debugger. */    num_erasure = int_random((RR/2)+1) ; //0-RR    printf("..adding %d out of %d errors\n", num_erasure, num_data ) ;    for(ii=0; ii<num_erasure; ii++)       bset.data[(int_random(bset.size+1)&NN)] ^= int_random(256) ;      print_binaryset(bset) ;      /* decode recv[] */    bset = decode_rs( bset, RR ) ;         /* recd[] is returned in polynomial form */      print_binaryset(bset) ;    fail = compare_binaryset( exp , bset ) ;  } //each test}  

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99视频超级精品| 成人久久18免费网站麻豆| 国产精品视频观看| 久久精品亚洲一区二区三区浴池| 欧美一卡二卡三卡四卡| 欧美日韩成人在线一区| 在线不卡一区二区| 欧美久久久久中文字幕| 欧美一区欧美二区| 日韩精品一区二区三区在线| 制服丝袜中文字幕亚洲| 日韩一区二区视频在线观看| 日韩美女视频在线| 国产日韩精品一区二区三区在线| 久久网这里都是精品| 国产精品久久久久婷婷| 亚洲三级在线播放| 午夜精品福利在线| 国精品**一区二区三区在线蜜桃| 国产精品77777竹菊影视小说| 丰满白嫩尤物一区二区| 欧美在线免费观看亚洲| 欧美一级欧美三级| 日本一区二区不卡视频| 亚洲最色的网站| 久久成人av少妇免费| 成人午夜视频免费看| 欧美日本在线播放| 久久久久国产一区二区三区四区| 国产精品天干天干在线综合| 亚洲二区在线视频| 国产风韵犹存在线视精品| 欧亚一区二区三区| 久久亚洲精华国产精华液| 亚洲黄色免费网站| 国产在线精品一区二区不卡了| 91丨九色丨尤物| 日韩免费看网站| 亚洲精品欧美激情| 国产激情一区二区三区桃花岛亚洲| 91在线视频18| 日韩欧美中文字幕一区| 亚洲视频一二三区| 国产精品亚洲午夜一区二区三区| 日本丰满少妇一区二区三区| 国产日韩精品一区二区三区| 日韩精品免费视频人成| yourporn久久国产精品| 精品免费视频一区二区| 亚洲国产精品久久人人爱| 豆国产96在线|亚洲| 日韩精品一区在线| 婷婷丁香激情综合| 在线观看日产精品| 中文字幕亚洲综合久久菠萝蜜| 久久国产精品99久久人人澡| 欧美日韩国产成人在线91| 亚洲精品免费在线播放| 成人黄色免费短视频| 久久久久国产精品厨房| 免费人成精品欧美精品 | 狠狠色综合日日| 欧美精品在线观看一区二区| 亚洲在线一区二区三区| 色婷婷av一区| 亚洲综合在线第一页| 成人av片在线观看| 日韩一区欧美小说| 95精品视频在线| 亚洲图片激情小说| 91丝袜国产在线播放| 自拍偷拍亚洲激情| 91免费观看国产| 亚洲手机成人高清视频| 91免费精品国自产拍在线不卡| 日韩一区欧美小说| 欧美亚洲综合在线| 日韩精品福利网| 日韩欧美不卡在线观看视频| 麻豆91免费观看| 久久久噜噜噜久久中文字幕色伊伊 | 亚洲小说欧美激情另类| 色综合久久久久久久久久久| 亚洲精品精品亚洲| 欧美日韩黄色影视| 韩日精品视频一区| 亚洲天堂a在线| 欧美日韩国产一级二级| 免费在线视频一区| 中文字幕免费观看一区| 91久久久免费一区二区| 午夜伊人狠狠久久| 久久噜噜亚洲综合| 99久久精品国产导航| 石原莉奈一区二区三区在线观看| 欧美一区三区二区| 成人午夜在线播放| 日韩精品国产精品| 国产欧美日韩视频一区二区 | 欧美男男青年gay1069videost| 首页亚洲欧美制服丝腿| 久久精品亚洲乱码伦伦中文| 色婷婷综合五月| 狠狠色综合色综合网络| 亚洲美女免费视频| 久久久九九九九| 欧美日韩三级视频| 国产精品18久久久久久久久 | 日本网站在线观看一区二区三区 | 国产原创一区二区三区| 亚洲欧美日韩一区二区三区在线观看| 欧美日韩国产一区| 成人久久视频在线观看| 视频一区欧美精品| 成人欧美一区二区三区小说| 欧美一区二区三区四区五区| 成人亚洲一区二区一| 日韩精品视频网站| 亚洲精品中文字幕乱码三区| 精品免费视频.| 欧美老人xxxx18| aaa欧美色吧激情视频| 久久99久国产精品黄毛片色诱| 亚洲欧美日韩在线播放| 国产偷国产偷精品高清尤物| 91精品欧美综合在线观看最新| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 欧美另类变人与禽xxxxx| 99综合影院在线| 精品亚洲成a人在线观看| 五月婷婷色综合| 亚洲欧美另类小说| 国产日韩欧美精品一区| 精品国产露脸精彩对白 | 精品一区二区日韩| 亚洲国产一二三| 一区二区三区蜜桃网| 亚洲视频在线一区观看| 亚洲国产精品av| 国产日韩精品久久久| 精品国产乱码久久久久久老虎| 欧美精品黑人性xxxx| 欧美日韩一区二区在线视频| 欧洲亚洲精品在线| 在线一区二区视频| 欧美午夜视频网站| 欧美日韩国产综合一区二区三区| 91无套直看片红桃| 91在线你懂得| 欧美亚洲综合久久| 欧美日韩在线三区| 91精品欧美久久久久久动漫| 3d动漫精品啪啪一区二区竹菊 | 狠狠色综合日日| 国产一区二区三区精品欧美日韩一区二区三区| 亚洲国产精品一区二区www在线| 亚洲综合色噜噜狠狠| 亚洲一区二区三区自拍| 午夜精品影院在线观看| 日韩电影在线观看电影| 老司机精品视频一区二区三区| 六月婷婷色综合| 国产精品91一区二区| 不卡的av电影在线观看| 91福利区一区二区三区| 欧美一区二区三区在线观看视频 | 国产精品毛片无遮挡高清| 中文字幕在线播放不卡一区| 亚洲黄色在线视频| 蜜桃久久久久久| 丁香婷婷深情五月亚洲| 色婷婷av一区二区三区软件| 欧美绝品在线观看成人午夜影视| 日韩午夜在线影院| 国产精品污www在线观看| 亚洲免费在线电影| 琪琪一区二区三区| 成人avav在线| 91麻豆精品91久久久久久清纯| 久久综合九色综合久久久精品综合 | 久久久精品免费免费| 亚洲品质自拍视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产一区二区三区免费观看| 成人激情黄色小说| 日韩一区二区三区视频在线| 国产精品网友自拍| 美女www一区二区| 99久久伊人网影院| 欧美大胆一级视频| 亚洲综合视频在线观看| 黄色日韩三级电影| 欧美日韩国产乱码电影| 中文字幕第一区综合| 美女免费视频一区二区| 色婷婷久久久久swag精品| 久久久蜜桃精品| 秋霞影院一区二区| 欧美在线观看视频在线| 国产精品久久久爽爽爽麻豆色哟哟|