aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-08-05 04:52:33 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-08-05 04:52:33 +0000
commit6888b4fcece08fd84a424942e0d73138e05be0e2 (patch)
tree4cad07cbd54b6593a3e3856600dd88130e493fcc
parent5e3e40756ea7f4e5b403f92db07e111d160b6ff8 (diff)
downloadffmpeg-6888b4fcece08fd84a424942e0d73138e05be0e2.tar.gz
Rename prodsum() function to convolve()
Originally committed as revision 14615 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ra288.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index f3e8af4fd2..322f74e182 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -147,7 +147,7 @@ static int eval_lpc_coeffs(const float *in, float *tgt, int n)
return 0;
}
-static void prodsum(float *tgt, const float *src, int len, int n)
+static void convolve(float *tgt, const float *src, int len, int n)
{
for (; n >= 0; n--)
tgt[n] = scalar_product_float(src, src - n, len);
@@ -190,8 +190,8 @@ static void do_hybrid_window(int order, int n, int non_rec, const float *in,
colmult(work, window, hist, order + n + non_rec);
- prodsum(buffer1, work + order , n , order);
- prodsum(buffer2, work + order + n, non_rec, order);
+ convolve(buffer1, work + order , n , order);
+ convolve(buffer2, work + order + n, non_rec, order);
for (i=0; i <= order; i++) {
out2[i] = out2[i] * 0.5625 + buffer1[i];