confg.c
来自「this the source code of addio compressio」· C语言 代码 · 共 34 行
C
34 行
/**************************************************************************
*
* 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 + =
减小字号Ctrl + -
显示快捷键?