Mercurial > libavcodec.hg
comparison twinvq.c @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | 778bdafd5496 |
children |
comparison
equal
deleted
inserted
replaced
12023:c7455450364d | 12024:fdafbcef52f5 |
---|---|
256 | 256 |
257 return 0.5 / (p + q); | 257 return 0.5 / (p + q); |
258 } | 258 } |
259 | 259 |
260 /** | 260 /** |
261 * Evaluates the LPC amplitude spectrum envelope from the line spectrum pairs. | 261 * Evaluate the LPC amplitude spectrum envelope from the line spectrum pairs. |
262 */ | 262 */ |
263 static void eval_lpcenv(TwinContext *tctx, const float *cos_vals, float *lpc) | 263 static void eval_lpcenv(TwinContext *tctx, const float *cos_vals, float *lpc) |
264 { | 264 { |
265 int i; | 265 int i; |
266 const ModeTab *mtab = tctx->mtab; | 266 const ModeTab *mtab = tctx->mtab; |
289 return part ? -cos_tab[size - idx - 1] : | 289 return part ? -cos_tab[size - idx - 1] : |
290 cos_tab[ idx ]; | 290 cos_tab[ idx ]; |
291 } | 291 } |
292 | 292 |
293 /** | 293 /** |
294 * Evaluates the LPC amplitude spectrum envelope from the line spectrum pairs. | 294 * Evaluate the LPC amplitude spectrum envelope from the line spectrum pairs. |
295 * Probably for speed reasons, the coefficients are evaluated as | 295 * Probably for speed reasons, the coefficients are evaluated as |
296 * siiiibiiiisiiiibiiiisiiiibiiiisiiiibiiiis ... | 296 * siiiibiiiisiiiibiiiisiiiibiiiisiiiibiiiis ... |
297 * where s is an evaluated value, i is a value interpolated from the others | 297 * where s is an evaluated value, i is a value interpolated from the others |
298 * and b might be either calculated or interpolated, depending on an | 298 * and b might be either calculated or interpolated, depending on an |
299 * unexplained condition. | 299 * unexplained condition. |