summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-23 20:12:12 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-23 20:12:12 +0000
commit89a2713e660688175a40ce93e470b24421d27682 (patch)
tree2176725ed08663f903974ebac170344f278660ca /libavcodec/ra144.c
parent3890a13173bc3c1d5812a53c0d75cd6c2ea3c808 (diff)
Add doxy comment
Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index bf1266904e..fb31714511 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -136,6 +136,13 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1,
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;