changeset 7372:e97d0795ee70 libavcodec

Rename update() function to backward_filter() and add a doxy comment
author vitor
date Thu, 24 Jul 2008 04:29:23 +0000
parents c6c6b6236ff3
children 266d4949aa15
files ra288.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Thu Jul 24 04:15:50 2008 +0000
+++ b/ra288.c	Thu Jul 24 04:29:23 2008 +0000
@@ -184,7 +184,10 @@
     *out *= 257./256.;
 }
 
-static void update(Real288_internal *glob)
+/**
+ * Backward synthesis filter. Find the LPC coefficients from past speech data.
+ */
+static void backward_filter(Real288_internal *glob)
 {
     float buffer1[40], temp1[37];
     float buffer2[8], temp2[11];
@@ -237,7 +240,7 @@
             *(out++) = 8 * glob->output[glob->phase*5 + y];
 
         if (glob->phase == 3)
-            update(glob);
+            backward_filter(glob);
     }
 
     *data_size = (char *)out - (char *)data;