changeset 7415:649496faa1d2 libavcodec

Move colmult() function to the beginning of file to group DSP-related functions.
author vitor
date Sat, 26 Jul 2008 14:35:50 +0000
parents 5d1378447a07
children a65363f8ab4b
files ra288.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Sat Jul 26 14:33:53 2008 +0000
+++ b/ra288.c	Sat Jul 26 14:35:50 2008 +0000
@@ -48,6 +48,12 @@
     return res;
 }
 
+static void colmult(float *tgt, const float *m1, const float *m2, int n)
+{
+    while (n--)
+        *(tgt++) = (*(m1++)) * (*(m2++));
+}
+
 /* Decode and produce output */
 static void decode(RA288Context *ractx, float gain, int cb_coef)
 {
@@ -90,12 +96,6 @@
     }
 }
 
-static void colmult(float *tgt, const float *m1, const float *m2, int n)
-{
-    while (n--)
-        *(tgt++) = (*(m1++)) * (*(m2++));
-}
-
 /**
  * Converts autocorrelation coefficients to LPC coefficients using the
  * Levinson-Durbin algorithm. See blocks 37 and 50 of the G.728 specification.