# HG changeset patch # User vitor # Date 1214251932 0 # Node ID 3e9c18e58216c64f03c3998736eb6f68a1e90192 # Parent 590736aa6d52919f05d9ad60701033a811c077de Add doxy comment diff -r 590736aa6d52 -r 3e9c18e58216 ra144.c --- a/ra144.c Mon Jun 23 20:06:36 2008 +0000 +++ b/ra144.c Mon Jun 23 20:12:12 2008 +0000 @@ -136,6 +136,13 @@ dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12; } +/** + * LPC Filter. Each output value is predicted from the 10 previous computed + * ones. It overwrites the input with the output. + * + * @param in the input of the filter. It should be an array of size len + 10. + * The 10 first input values are used to evaluate the first filtered one. + */ static void lpc_filter(const int16_t *lpc_coefs, uint16_t *in, int len) { int x, i;