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

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

?? interleaver.c

?? WCDMA系統(tǒng)的交織解交織C++代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*//* | Project:     WCDMA simulation environment | Module:      Interleaving routines. | Author:      Tommi Makelainen | Date:        January 26, 1999 | | History: |              January 26, 1999 Tommi Makelainen |                      Initial version. */#include <stdlib.h> #include <stdio.h>#include "interleaver.h"#include "config_wcdma.h"                  /* ------------------------------------------------------------------- *//* * Function:    wcdma_block_interleaver * Desc.:       Block (B,N) interleaver, where *                  B = input_column_size (i.e. number of rows) and *                  N = output_row_size (i.e. number of columns). * * Note: *              Input data is a vector, where input columns are *              sequentially ordered. *              I.e. input_data[] = {column1, column2, ..., columnN}. */void wcdma_block_interleaver(	int input_column_size,	/* size of single input column to write in */	int output_row_size,	/* size of single output row to read */	int input_data[],	/* vector of input data bits */	int output_data[])	/* vector of output data bits */{    int col_index, row_index, input_index, output_index;    /*     * Input data vector is B columns, and we read it as N rows.     */    output_index = 0;    for (row_index=0; row_index < input_column_size; row_index++) {      for (col_index=0; col_index < output_row_size; col_index++) {        input_index = row_index + col_index*input_column_size;        output_data[output_index++] = input_data[input_index];      }    }    return;} /* wcdma_block_interleaver *//* ------------------------------------------------------------------- *//* * Function:    wcdma_block_deinterleaver * Desc.:       Block (N,B) deinterleaver, where *                  B = output_column_size (i.e. number of rows), *                      which is number of columns for the corresponding *                      interleaver and *                  N = input_row_size (i.e. number of columns). * * Note: *              Input data is a vector, where input rows sequentially ordered. *              I.e. input_data[] = {row1, row2, ..., rowN}. */void wcdma_block_deinterleaver(	int input_row_size,	/* size of single input row to write in */	int output_column_size,	/* size of single output column to read */	int input_data[],	/* vector of input data bits */	int output_data[])	/* vector of output data bits */{    int col_index, row_index, input_index, output_index;    /*     * Input data vector is N rows, and we read it as B columns.     */    output_index = 0;#if 0    for (row_index=0; row_index < output_column_size; row_index++) {      for (col_index=0; col_index < input_row_size; col_index++) {        input_index = row_index + col_index*output_column_size;        output_data[output_index++] = input_data[input_index];      }    }#endif    for (col_index=0; col_index < input_row_size; col_index++) {      for (row_index=0; row_index < output_column_size; row_index++) {        input_index = col_index + row_index*input_row_size;        output_data[output_index++] = input_data[input_index];      }      }    return;} /* wcdma_block_deinterleaver *//* ------------------------------------------------------------------- *//* * Function:    wcdma_conv_interleaver * Desc.:       Convolutional (B,N) interleaver, where *                  B = no_banks and *                  N = shift_reg_len * no of shift register banks (no_banks). */void wcdma_conv_interleaver(        int shift_reg_len,      /* length of a single shift register */        int no_banks,           /* number of shift register banks */        int input_data[],       /* vector of input data bits */        int output_data[])      /* vector of output data bits */{  /* not implemented yet */  fprintf(stderr, "Convolutional interleaving is not available\n");  return;}/* ------------------------------------------------------------------- *//* * Function:    wcdma_conv_deinterleaver * Desc.:       Convolutional (B,N) deinterleaver, where *                  B = no_banks and *                  N = shift_reg_len * no of shift register banks (no_banks). */void wcdma_conv_deinterleaver(        int shift_reg_len,      /* length of a single shift register */        int no_banks,           /* number of shift register banks */        int input_data[],       /* vector of input data bits */        int output_data[])     /* vector of output data bits */{    /* not implemented yet */    fprintf(stderr, "Convolutional de-interleaving is not available\n");    return;}/* ------------------------------------------------------------------- *//* * Function:    wcdma_block_float_interleaver * Desc.:       Block (B,N) floating point interleaver, where *                  B = input_column_size and *                  N = output_row_size. * * Note: *              Input data is a vector, where input columns are *              sequentially ordered. *              I.e. input_data[] = {column1, column2, ..., columnN}. */void wcdma_block_float_interleaver(	int input_column_size,	/* size of single input column to write in */	int output_row_size,	/* size of single output row to read */	double input_data[],	/* vector of input data bits */	double output_data[])	/* vector of output data bits */{    int col_index, row_index, input_index, output_index;    /*     * Input data vector is B columns, and we read it as N rows.     */    output_index = 0;    for (row_index=0; row_index < input_column_size; row_index++) {      for (col_index=0; col_index < output_row_size; col_index++) {        input_index = row_index + col_index*input_column_size;        output_data[output_index++] = input_data[input_index];      }    }    return;} /* wcdma_block_float_interleaver *//* ------------------------------------------------------------------- *//* * Function:    wcdma_block_float_deinterleaver * Desc.:       Block (N,B) floating point deinterleaver, where *                  B = output_column_size and *                  N = input_row_size. * * Note: *              Input data is a vector, where input rows sequentially ordered. *              I.e. input_data[] = {row1, row2, ..., rowN}. */void wcdma_block_float_deinterleaver(	int input_row_size,	/* size of single input row to write in */	int output_column_size,	/* size of single output column to read */	double input_data[],	/* vector of input data bits */	double output_data[])	/* vector of output data bits */{    int col_index, row_index, input_index, output_index;    /*     * Input data vector is N rows, and we read it as B columns.     */    output_index = 0;#if 0    for (row_index=0; row_index < output_column_size; row_index++) {      for (col_index=0; col_index < input_row_size; col_index++) {        input_index = row_index + col_index*output_column_size;        output_data[output_index++] = input_data[input_index];      }    }#endif     for (col_index=0; col_index < input_row_size; col_index++) {      for (row_index=0; row_index < output_column_size; row_index++) {        input_index = col_index + row_index*input_row_size;        output_data[output_index++] = input_data[input_index];      }    }    return;} /* wcdma_block_float_deinterleaver *//* ------------------------------------------------------------------- *//* * Function:    wcdma_multistage_interleaver * Desc.:        *              Do multistage interleaving (MIL) for incoming data. *              Start multistage by checking what is the biggest *              power of 2 (e.g. 4,8,16,32) that divides the incoming *              data block evenly (e.g. (nBits % 2^X) == 0 ). *              If 32 is applicable, do N*32 outer block interleaving. *              Otherwise perform N*16. Continue dividing *              interleaver to smaller stages recursively *              until all columns and rows are either 2 or 3. *              On these stages use the largest powers of 2, which *              produces integer division for row and column numbers. *                e.g. 32[8[4[2x2]x2]x4[2x2]] *              where L[NxM] means block size L, N rows and M columns. *

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区在线观看| caoporm超碰国产精品| 欧美一级国产精品| 精品夜夜嗨av一区二区三区| 精品国产一区二区三区四区四| 美女一区二区视频| 久久亚区不卡日本| 91小视频免费观看| 午夜精品aaa| 日韩精品一区二区三区老鸭窝 | 欧美电视剧在线观看完整版| 免费xxxx性欧美18vr| 久久亚洲精品小早川怜子| 大尺度一区二区| 亚洲欧美日韩系列| 欧美精品自拍偷拍| 在线影院国内精品| 中文字幕免费观看一区| 成人深夜福利app| 亚洲欧美乱综合| 欧美一区二区精品在线| 国产激情精品久久久第一区二区| 中文字幕乱码日本亚洲一区二区| 欧美在线免费观看视频| 蜜臀av在线播放一区二区三区| 国产精品女人毛片| 欧美老年两性高潮| 成人丝袜视频网| 婷婷国产在线综合| 国产精品第五页| 欧美一级爆毛片| 91在线视频官网| 麻豆精品精品国产自在97香蕉| 国产精品电影院| 精品少妇一区二区三区在线视频| 91在线丨porny丨国产| 久久国内精品自在自线400部| 欧美精品日韩精品| 不卡的av在线播放| 免费精品99久久国产综合精品| 国产精品电影院| 亚洲一区在线看| 国产色产综合产在线视频| 欧美猛男gaygay网站| 成人午夜av电影| 久久 天天综合| 午夜久久久久久久久| 亚洲欧洲国产日韩| 久久精品一区二区三区不卡| 欧美一区二区在线视频| 欧美色区777第一页| 国产成人在线免费观看| 久久成人羞羞网站| 丝瓜av网站精品一区二区 | av中文字幕在线不卡| 奇米影视一区二区三区小说| 成人欧美一区二区三区| 久久精品视频网| 日韩免费看网站| 欧美一级欧美一级在线播放| 在线免费不卡视频| 色诱亚洲精品久久久久久| 国产91精品一区二区麻豆网站 | 欧美日韩在线精品一区二区三区激情 | av一区二区三区在线| 精品一区二区三区影院在线午夜 | 免费高清视频精品| 亚洲国产精品欧美一二99| 亚洲青青青在线视频| 成人免费小视频| 亚洲欧美在线视频观看| 国产精品污www在线观看| 国产欧美视频一区二区| 国产亚洲精品资源在线26u| 久久综合色综合88| 精品sm在线观看| 久久久久久影视| 国产无人区一区二区三区| 国产亚洲欧洲997久久综合| 久久综合九色欧美综合狠狠| 久久久一区二区| 欧美国产日韩亚洲一区| 国产精品久久久久久妇女6080| 中文字幕在线观看一区二区| 国产精品的网站| 一个色在线综合| 天天影视色香欲综合网老头| 日韩黄色片在线观看| 久久丁香综合五月国产三级网站| 韩国三级电影一区二区| 成人综合日日夜夜| 91伊人久久大香线蕉| 欧美无乱码久久久免费午夜一区 | 日韩精品一区二区三区蜜臀 | 国产精品理伦片| 亚洲欧洲99久久| 亚洲免费av高清| 亚洲午夜激情网站| 美女网站在线免费欧美精品| 国产综合成人久久大片91| jlzzjlzz亚洲女人18| 在线免费观看一区| 日韩女优毛片在线| 国产精品午夜在线| 亚洲一级片在线观看| 久久精品免费看| 91天堂素人约啪| 欧美一区二区三区在线观看视频| 久久久久久久综合色一本| 中文字幕亚洲一区二区va在线| 亚洲一卡二卡三卡四卡五卡| 激情综合网最新| 欧美伊人久久大香线蕉综合69 | 国产欧美日韩精品a在线观看| 亚洲欧洲三级电影| 日韩av电影免费观看高清完整版在线观看 | 欧美成人猛片aaaaaaa| 国产精品色一区二区三区| 亚欧色一区w666天堂| 国产九色sp调教91| 欧美性受极品xxxx喷水| 精品国产亚洲一区二区三区在线观看 | 亚洲欧美日韩国产成人精品影院| 日日夜夜免费精品视频| 成人理论电影网| 日韩午夜激情视频| 亚洲久草在线视频| 国产馆精品极品| 欧美欧美欧美欧美首页| 国产精品不卡在线| 国产一区啦啦啦在线观看| 欧美少妇bbb| 中文字幕在线不卡一区| 美女视频网站久久| 欧美性受极品xxxx喷水| 国产精品国产馆在线真实露脸 | 免费在线观看一区| 91久久国产最好的精华液| 久久久精品国产99久久精品芒果| 午夜天堂影视香蕉久久| 91婷婷韩国欧美一区二区| 久久先锋资源网| 麻豆一区二区99久久久久| 在线一区二区三区四区| 国产精品理伦片| 国产精品456| 欧美一区二区大片| 亚洲电影中文字幕在线观看| 99久久精品国产精品久久| 国产欧美日韩不卡| 国产一区二区三区在线观看免费 | www成人在线观看| 午夜精品久久久久久久99水蜜桃| 色综合久久久网| 国产精品久久久久一区二区三区| 国产精品一区二区三区四区| 久久老女人爱爱| 国模一区二区三区白浆| 日韩欧美一级精品久久| 日本中文一区二区三区| 一卡二卡欧美日韩| 日本韩国一区二区| 亚洲精品老司机| 色综合色综合色综合| 亚洲人精品午夜| 欧美制服丝袜第一页| 亚洲激情在线激情| 91成人国产精品| 亚洲制服欧美中文字幕中文字幕| 色猫猫国产区一区二在线视频| 日韩毛片精品高清免费| 在线观看一区日韩| 亚洲午夜久久久久中文字幕久| 欧美日韩国产综合一区二区三区| 亚洲成人免费在线| 欧美一级xxx| 国产一区二三区好的| 亚洲国产精品成人综合| 成人精品一区二区三区四区| 国产精品久久久久久久岛一牛影视 | 久久久国产一区二区三区四区小说 | 国产精品国产三级国产普通话蜜臀| 成人黄色在线看| 一区二区三区视频在线观看| 欧美色图在线观看| 蜜桃视频免费观看一区| 日韩一级二级三级精品视频| 国产成人夜色高潮福利影视| 中文成人综合网| 色婷婷综合久久| 日本欧美在线观看| 久久精品欧美日韩| 一本久久精品一区二区| 日韩中文字幕不卡| 亚洲国产精品ⅴa在线观看| 在线视频观看一区| 久久99久久99| 最新国产の精品合集bt伙计| 91精品国产欧美一区二区成人| 国产风韵犹存在线视精品|