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

📄 ldpc.c

📁 软件无线电的平台
💻 C
字号:
/*************************************************************************** *    ldpc.c  -  main module for the ldpc_sse2-coder *                           ------------------- *   begin                :  2003 *   authors              :  ysrini and ggupta *   emails               :  email address ***************************************************************************//*************************************************************************** *                                Changes *                                ------- * date - name - description * 03/08/x - ysrini & ggupta - initial writing * 04/03/05 - ineiti - adjusted description * **************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************//** * This is the optimised version of the message-passing LDPC-decoder. * SSE2 has been used to speed up the message-passing. */#include "lookup.h"#include "spc.h"#include "graphcreate.h"#define DBG_LVL 4int rcv_module_init( void );void rcv_module_exit( void );int send_module_init( void );void send_module_exit( void );/* * Just call the two init-functions */int spc_module_init(void) {  // Call functions to initialise global variables  //  init_tree();  lookup_init();  if( rcv_module_init() < 0 ) {    PR_DBG( 0, "Couldn't init rcv-part\n" );    lookup_exit();    return -1;  }  if ( send_module_init() < 0 ) {    rcv_module_exit();    lookup_exit();    PR_DBG( 0, "Couldn't init send-part\n" );    return -1;  }  return 0;}/* * And call the two exit-funcitons */void spc_module_exit( void ) {  lookup_exit();  rcv_module_exit();  send_module_exit();}module_init( spc_module_init );module_exit( spc_module_exit );

⌨️ 快捷键说明

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