#include <string.h>
#include "iLBC_define.h"
Go to the source code of this file.
|  | 
| void | anaFilter (float *In, float *a, int len, float *Out, float *mem) | 
|  | 
◆ anaFilter()
      
        
          | void anaFilter | ( | float * | In, | 
        
          |  |  | float * | a, | 
        
          |  |  | int | len, | 
        
          |  |  | float * | Out, | 
        
          |  |  | float * | mem | 
        
          |  | ) |  |  | 
      
 
Definition at line 20 of file anaFilter.c.
   26    {
   27       int i, j;
   28       float *po, *pi, *pm, *pa;
   29 
   30       po = Out;
   31 
   32       
   33 
   35           pi = &In[i];
   38           *po=0.0;
   39 
   40 
   41 
   42 
   43 
   44           for (j=0; j<=i; j++) {
   45               *po+=(*pa++)*(*pi--);
   46           }
   48 
   49               *po+=(*pa++)*(*pm--);
   50           }
   51           po++;
   52       }
   53 
   54       
   55
   56 
   58           pi = &In[i];
   60           *po=0.0;
   62               *po+=(*pa++)*(*pi--);
   63           }
   64           po++;
   65       }
   66 
   67       
   68 
   71   }
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
References a, len(), and LPC_FILTERORDER.
Referenced by iLBC_encode().