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

📄 lpcini.c

📁 sloedgy open sip stack source code
💻 C
📖 第 1 页 / 共 2 页
字号:
/*

$Log: lpcini.c,v $
Revision 1.6  2007/07/03 17:17:38  joegenbaclor
Got rid of compile warnings in unix builds

Revision 1.5  2007/06/14 15:55:08  joegenbaclor
Removed malloc.h unchecked inclusion. Thanks to James Peverill for the bug report

Revision 1.4  2007/03/04 03:17:20  joegenbaclor
*** empty log message ***

Revision 1.3  2007/03/04 03:07:22  joegenbaclor
*** empty log message ***

Revision 1.2  2007/03/04 03:00:58  joegenbaclor
Removed Linux compile warnings

Revision 1.1  2006/06/26 03:02:53  joegenbaclor
I have decided to include the latest development realease  of OPAL tagged Deimos Devel 1 (June 8 2006) as inegrated classes to opensipstack to avoid future version conflicts due to the fast pace in OPAL development.   This move is also aimed to reduce the size of projects using OPAL componets such as the soon to be relased OpenSIPPhone.

Revision 2.2  2005/08/08 03:28:42  dereksmithies
Eradicate all "/ * within comments" messages from GCC compilations.

Revision 2.1  2003/03/14 09:53:27  robertj
Updated to openH323 v1.11.7

Revision 1.3  2002/10/10 05:29:04  robertj
Removed non-ansi-C comments to maximise portability, thanks Martijn Roest

Revision 1.2  2001/02/24 14:00:10  rogerh
Select the correct header file for malloc (stdlib.h or malloc.h)

Revision 1.1  2000/06/05 04:45:12  robertj
Added LPC-10 2400bps codec

 * Revision 1.2  1996/08/20  20:35:41  jaf
 * Added functions for allocating and initializing lpc10_encoder_state
 * and lpc10_decoder_state structures.
 *
 * Revision 1.1  1996/08/19  22:31:40  jaf
 * Initial revision
 *

*/

#ifdef P_R_O_T_O_T_Y_P_E_S
extern int lpcini_(void);
/* comlen contrl_ 12 */
/*:ref: initlpcenc_ 14 0 */
/*:ref: initlpcdec_ 14 0 */
#endif

/*  -- translated by f2c (version 19951025).
   You must link the resulting object file with the libraries:
	-lf2c -lm   (in that order)
*/

#include "f2c.h"

/* malloc is now defined in stdlib.h in serveral systems */

#ifdef  HAS_STDLIB_H
#       include <stdlib.h>
#else
#       ifdef   HAS_MALLOC_H
#               include         <malloc.h>
#       else
                extern char * malloc();
#       endif
#endif


/* Common Block Declarations */

struct {
    integer order, lframe;
    logical corrp;
} contrl_;

#define contrl_1 contrl_

/* ***************************************************************** 

 * $Log: lpcini.c,v $
 * Revision 1.6  2007/07/03 17:17:38  joegenbaclor
 * Got rid of compile warnings in unix builds
 *
 * Revision 1.5  2007/06/14 15:55:08  joegenbaclor
 * Removed malloc.h unchecked inclusion. Thanks to James Peverill for the bug report
 *
 * Revision 1.4  2007/03/04 03:17:20  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.3  2007/03/04 03:07:22  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.2  2007/03/04 03:00:58  joegenbaclor
 * Removed Linux compile warnings
 *
 * Revision 1.1  2006/06/26 03:02:53  joegenbaclor
 * I have decided to include the latest development realease  of OPAL tagged Deimos Devel 1 (June 8 2006) as inegrated classes to opensipstack to avoid future version conflicts due to the fast pace in OPAL development.   This move is also aimed to reduce the size of projects using OPAL componets such as the soon to be relased OpenSIPPhone.
 *
 * Revision 2.2  2005/08/08 03:28:42  dereksmithies
 * Eradicate all "/ * within comments" messages from GCC compilations.
 *
 * Revision 2.1  2003/03/14 09:53:27  robertj
 * Updated to openH323 v1.11.7
 *
 * Revision 1.3  2002/10/10 05:29:04  robertj
 * Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
 *
 * Revision 1.2  2001/02/24 14:00:10  rogerh
 * Select the correct header file for malloc (stdlib.h or malloc.h)
 *
 * Revision 1.1  2000/06/05 04:45:12  robertj
 * Added LPC-10 2400bps codec
 *
 * Revision 1.2  1996/08/20  20:35:41  jaf
 * Added functions for allocating and initializing lpc10_encoder_state
 * and lpc10_decoder_state structures.
 *
 * Revision 1.1  1996/08/19  22:31:40  jaf
 * Initial revision
 * */
/* Revision 1.1  1996/03/28  00:04:05  jaf */
/* Initial revision */


/* ***************************************************************** */

/* Initialize COMMON block variables used by LPC-10 encoder and decoder, */
/* and call initialization routines for both of them. */

/* Subroutine */ int lpcini_(void)
{
  
/*
 * $Log: lpcini.c,v $
 * Revision 1.6  2007/07/03 17:17:38  joegenbaclor
 * Got rid of compile warnings in unix builds
 *
 * Revision 1.5  2007/06/14 15:55:08  joegenbaclor
 * Removed malloc.h unchecked inclusion. Thanks to James Peverill for the bug report
 *
 * Revision 1.4  2007/03/04 03:17:20  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.3  2007/03/04 03:07:22  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.2  2007/03/04 03:00:58  joegenbaclor
 * Removed Linux compile warnings
 *
 * Revision 1.1  2006/06/26 03:02:53  joegenbaclor
 * I have decided to include the latest development realease  of OPAL tagged Deimos Devel 1 (June 8 2006) as inegrated classes to opensipstack to avoid future version conflicts due to the fast pace in OPAL development.   This move is also aimed to reduce the size of projects using OPAL componets such as the soon to be relased OpenSIPPhone.
 *
 * Revision 2.2  2005/08/08 03:28:42  dereksmithies
 * Eradicate all "/ * within comments" messages from GCC compilations.
 *
 * Revision 2.1  2003/03/14 09:53:27  robertj
 * Updated to openH323 v1.11.7
 *
 * Revision 1.3  2002/10/10 05:29:04  robertj
 * Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
 *
 * Revision 1.2  2001/02/24 14:00:10  rogerh
 * Select the correct header file for malloc (stdlib.h or malloc.h)
 *
 * Revision 1.1  2000/06/05 04:45:12  robertj
 * Added LPC-10 2400bps codec
 *
 * Revision 1.2  1996/08/20  20:35:41  jaf
 * Added functions for allocating and initializing lpc10_encoder_state
 * and lpc10_decoder_state structures.
 *
 * Revision 1.1  1996/08/19  22:31:40  jaf
 * Initial revision
 * */
/* Revision 1.3  1996/03/29  22:03:47  jaf */
/* Removed definitions for any constants that were no longer used. */

/* Revision 1.2  1996/03/26  19:34:33  jaf */
/* Added comments indicating which constants are not needed in an */
/* application that uses the LPC-10 coder. */

/* Revision 1.1  1996/02/07  14:43:51  jaf */
/* Initial revision */

/*   LPC Configuration parameters: 
 *  Frame size, Prediction order, Pitch period 
 * $Log: lpcini.c,v $
 * Revision 1.6  2007/07/03 17:17:38  joegenbaclor
 * Got rid of compile warnings in unix builds
 *
 * Revision 1.5  2007/06/14 15:55:08  joegenbaclor
 * Removed malloc.h unchecked inclusion. Thanks to James Peverill for the bug report
 *
 * Revision 1.4  2007/03/04 03:17:20  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.3  2007/03/04 03:07:22  joegenbaclor
 * *** empty log message ***
 *
 * Revision 1.2  2007/03/04 03:00:58  joegenbaclor
 * Removed Linux compile warnings
 *
 * Revision 1.1  2006/06/26 03:02:53  joegenbaclor
 * I have decided to include the latest development realease  of OPAL tagged Deimos Devel 1 (June 8 2006) as inegrated classes to opensipstack to avoid future version conflicts due to the fast pace in OPAL development.   This move is also aimed to reduce the size of projects using OPAL componets such as the soon to be relased OpenSIPPhone.
 *
 * Revision 2.2  2005/08/08 03:28:42  dereksmithies
 * Eradicate all "/ * within comments" messages from GCC compilations.
 *
 *  Revision 2.1  2003/03/14 09:53:27  robertj
 *  Updated to openH323 v1.11.7
 *
 *  Revision 1.3  2002/10/10 05:29:04  robertj
 *  Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
 * 
 *  Revision 1.2  2001/02/24 14:00:10  rogerh
 * Select the correct header file for malloc (stdlib.h or malloc.h)
 *
 * Revision 1.1  2000/06/05 04:45:12  robertj
 * Added LPC-10 2400bps codec
 *
 * Revision 1.2  1996/08/20  20:35:41  jaf
 * Added functions for allocating and initializing lpc10_encoder_state
 * and lpc10_decoder_state structures.
 *
 * Revision 1.1  1996/08/19  22:31:40  jaf
 * Initial revision
 * */
/* Revision 1.3  1996/03/29  22:05:55  jaf */
/* Commented out the common block variables that are not needed by the */
/* embedded version. */

/* Revision 1.2  1996/03/26  19:34:50  jaf */
/* Added comments indicating which constants are not needed in an */
/* application that uses the LPC-10 coder. */

/* Revision 1.1  1996/02/07  14:44:09  jaf */
/* Initial revision */

/*   LPC Processing control variables: */

/* *** Read-only: initialized in setup */

/*  Files for Speech, Parameter, and Bitstream Input & Output, */
/*    and message and debug outputs. */

/* Here are the only files which use these variables: */

/* lpcsim.f setup.f trans.f error.f vqsetup.f */

/* Many files which use fdebug are not listed, since it is only used in */
/* those other files conditionally, to print trace statements. */
/* 	integer fsi, fso, fpi, fpo, fbi, fbo, pbin, fmsg, fdebug */
/*  LPC order, Frame size, Quantization rate, Bits per frame, */
/*    Error correction */
/* Subroutine SETUP is the only place where order is assigned a value, */

⌨️ 快捷键说明

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