changeset 7492:50e0b25882cd libavcodec

Rename prodsum() function to convolve()
author vitor
date Tue, 05 Aug 2008 04:52:33 +0000
parents 0dbdc638270e
children e5b93d01b472
files ra288.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Tue Aug 05 01:49:01 2008 +0000
+++ b/ra288.c	Tue Aug 05 04:52:33 2008 +0000
@@ -147,7 +147,7 @@
     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 @@
 
     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];