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

📄 confg.c

📁 this the source code of addio compression standard CELP. Also, it is optimizied for the execution sp
💻 C
字号:
/**************************************************************************
*
* ROUTINE
*               confg
*
* FUNCTION
*               computes initial states (direct form filters) 
*               for adaptive codebook search
*
**************************************************************************/
#include "ccsub.h"
extern int  no;
extern float e0[MAXLP], fc[MAXNO+1], gamma2;
extern float fc_3[MAXNO+1];
confg(s,l,d2,d3,d4)
int l;
float s[], d2[],d3[],d4[];
{
  float fctemp[MAXNO+1];
   int i;

  setr(MAXNO+1, 0.0, fctemp);

    polefilt(fc, no, d2, e0, l);

    for (i = 0; i < l; i++)
       e0[i] = s[i] - e0[i];

    zerofilt(fc,no,d3,e0,l);
    bwexp(gamma2, fc_3, fctemp, no);
    polefilt_3rd(fctemp, 3, d4, e0, l);

}

⌨️ 快捷键说明

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