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

vitor subversion
Sat Jul 26 16:35:50 CEST 2008


Author: vitor
Date: Sat Jul 26 16:35:50 2008
New Revision: 14417

Log:
Move colmult() function to the begining of file to group DSP-related functions

Modified:
   trunk/libavcodec/ra288.c

Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c	(original)
+++ trunk/libavcodec/ra288.c	Sat Jul 26 16:35:50 2008
@@ -48,6 +48,12 @@ static inline float scalar_product_float
     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, 
     }
 }
 
-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.




More information about the ffmpeg-cvslog mailing list