32#ifdef P_R_O_T_O_T_Y_P_E_S
97 real r__[3], pc1, pc2;
110 for (i__ = 1; i__ <= 3; ++i__) {
114 for (j = (i__ << 2) + *
len - *nsamp; j <= i__1; j += 2) {
115 r__[i__ - 1] += lpbuf[j] * lpbuf[j - k];
123 if (r__[0] > 1e-10f) {
124 ivrc[1] = r__[1] / r__[0];
125 ivrc[2] = (r__[2] - ivrc[1] * r__[1]) / (r__[0] - ivrc[1] * r__[1]);
126 pc1 = ivrc[1] - ivrc[1] * ivrc[2];
131 for (i__ = *
len + 1 - *nsamp; i__ <= i__1; ++i__) {
132 ivbuf[i__] = lpbuf[i__] - pc1 * lpbuf[i__ - 4] - pc2 * lpbuf[i__ - 8];
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
int ivfilt_(real *lpbuf, real *ivbuf, integer *len, integer *nsamp, real *ivrc)