convenc.h

来自「是WCDMA 的源代码」· C头文件 代码 · 共 59 行

H
59
字号
/* | | 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:      Convolutional encoder | Author:      Tommi Makelainen | Date:        January 12, 1999 | | History: |              January 12, 1999 Tommi Makelainen |                      Modified Rorabaugh's example code |			to rate 1/3 code with constraint length |			K=9 (i.e. length of memory shift register). | */#ifndef WCDMA_CONVENC_H#define WCDMA_CONVENC_H/* * Function:    wcdma_1o3_k9_conv_init * Desc.:       Extract given single bit value from a given byte. * * Note: *		Generator polynomial are handled as bit masks. */void wcdma_1o3_k9_conv_init(		MealyEncoder* this,	/* data store for transitions */		int num_stages, 	/* length of shift register */		int gen_poly_1,		/* gen. polynomial for output 1 */		int gen_poly_2,		/* gen. polynomial for output 2 */		int gen_poly_3		/* gen. polynomial for output 3 */ 	        );/* * Function:    wcdma_R1o3_k9_conv_enc * Desc.:       Extract given single bit value from a given byte. * * Note: */int wcdma_R1o3_k9_conv_enc(	MealyEncoder* this,				int input_size,				int input[],				int output[],				int tail[]);#endif /* WCDMA_CONVENC_H */

⌨️ 快捷键说明

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