[FFmpeg-cvslog] r14615 - trunk/libavcodec/ra288.c

vitor subversion
Tue Aug 5 06:52:33 CEST 2008


Author: vitor
Date: Tue Aug  5 06:52:33 2008
New Revision: 14615

Log:
Rename prodsum() function to convolve()


Modified:
   trunk/libavcodec/ra288.c

Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c	(original)
+++ trunk/libavcodec/ra288.c	Tue Aug  5 06:52:33 2008
@@ -147,7 +147,7 @@ static int eval_lpc_coeffs(const float *
     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, 
 
     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];




More information about the ffmpeg-cvslog mailing list