]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Move colmult() function to the begining of file to group DSP-related functions
authorvitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 26 Jul 2008 14:35:50 +0000 (14:35 +0000)
committervitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 26 Jul 2008 14:35:50 +0000 (14:35 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14417 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/ra288.c

index 0d98da790fe2a51da35dd100a9cf6f1fdfa7fa49..6b9607804801450ee704dc61c0d1feddc7501027 100644 (file)
@@ -48,6 +48,12 @@ static inline float scalar_product_float(const float * v1, const float * v2,
     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 decode(RA288Context *ractx, float gain, int cb_coef)
     }
 }
 
-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.