changeset 7916:2a4c42e6aecb libavcodec

Cosmetics: move convolve() together with the other DSP functions
author vitor
date Wed, 24 Sep 2008 20:05:22 +0000
parents 2d530c3d155e
children 518c86ed8008
files ra288.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Wed Sep 24 20:03:58 2008 +0000
+++ b/ra288.c	Wed Sep 24 20:05:22 2008 +0000
@@ -69,6 +69,13 @@
         *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 @@
         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.
  *