Mercurial > libavcodec.hg
comparison ra144.c @ 7103:3e9c18e58216 libavcodec
Add doxy comment
author | vitor |
---|---|
date | Mon, 23 Jun 2008 20:12:12 +0000 |
parents | 590736aa6d52 |
children | 8a4a7069737d |
comparison
equal
deleted
inserted
replaced
7102:590736aa6d52 | 7103:3e9c18e58216 |
---|---|
134 | 134 |
135 for (i=0; i < BLOCKSIZE; i++) | 135 for (i=0; i < BLOCKSIZE; i++) |
136 dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12; | 136 dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12; |
137 } | 137 } |
138 | 138 |
139 /** | |
140 * LPC Filter. Each output value is predicted from the 10 previous computed | |
141 * ones. It overwrites the input with the output. | |
142 * | |
143 * @param in the input of the filter. It should be an array of size len + 10. | |
144 * The 10 first input values are used to evaluate the first filtered one. | |
145 */ | |
139 static void lpc_filter(const int16_t *lpc_coefs, uint16_t *in, int len) | 146 static void lpc_filter(const int16_t *lpc_coefs, uint16_t *in, int len) |
140 { | 147 { |
141 int x, i; | 148 int x, i; |
142 int16_t *ptr = in; | 149 int16_t *ptr = in; |
143 | 150 |