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

vitor subversion
Wed Sep 24 22:05:22 CEST 2008


Author: vitor
Date: Wed Sep 24 22:05:22 2008
New Revision: 15403

Log:
Cosmetics: move convolve() together with the other DSP functions


Modified:
   trunk/libavcodec/ra288.c

Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c	(original)
+++ trunk/libavcodec/ra288.c	Wed Sep 24 22:05:22 2008
@@ -69,6 +69,13 @@ static void apply_window(float *tgt, con
         *tgt++ = *m1++ * *m2++;
 }
 
+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);
+
+}
+
 static void decode(RA288Context *ractx, float gain, int cb_coef)
 {
     int i, j;
@@ -114,13 +121,6 @@ static void decode(RA288Context *ractx, 
         block[i] = av_clipf(block[i], -4095, 4095);
 }
 
-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);
-
-}
-
 /**
  * Hybrid window filtering, see blocks 36 and 49 of the G.728 specification.
  *




More information about the ffmpeg-cvslog mailing list