Mercurial > libavcodec.hg
comparison ra288.c @ 7434:6a029d8dcfa8 libavcodec
Cosmetics: remove braces and useless newline
author | vitor |
---|---|
date | Mon, 28 Jul 2008 04:07:18 +0000 |
parents | 21ecdb66d5b0 |
children | 014780c09494 |
comparison
equal
deleted
inserted
replaced
7433:21ecdb66d5b0 | 7434:6a029d8dcfa8 |
---|---|
97 for (x=1; x < 5; x++) | 97 for (x=1; x < 5; x++) |
98 for (y=x-1; y >= 0; y--) | 98 for (y=x-1; y >= 0; y--) |
99 buffer[x] -= ractx->sp_lpc[x-y-1] * buffer[y]; | 99 buffer[x] -= ractx->sp_lpc[x-y-1] * buffer[y]; |
100 | 100 |
101 /* output */ | 101 /* output */ |
102 for (x=0; x < 5; x++) { | 102 for (x=0; x < 5; x++) |
103 ractx->sb[4-x] = | 103 ractx->sb[4-x] = av_clipf(ractx->sb[4-x] + buffer[x], -4095, 4095); |
104 av_clipf(ractx->sb[4-x] + buffer[x], -4095, 4095); | |
105 } | |
106 } | 104 } |
107 | 105 |
108 /** | 106 /** |
109 * Converts autocorrelation coefficients to LPC coefficients using the | 107 * Converts autocorrelation coefficients to LPC coefficients using the |
110 * Levinson-Durbin algorithm. See blocks 37 and 50 of the G.728 specification. | 108 * Levinson-Durbin algorithm. See blocks 37 and 50 of the G.728 specification. |