[FFmpeg-cvslog] r14360 - in trunk/libavcodec: ra288.c ra288.h

vitor subversion
Thu Jul 24 05:50:06 CEST 2008


Author: vitor
Date: Thu Jul 24 05:50:06 2008
New Revision: 14360

Log:
Give tables a more descriptive name

Modified:
   trunk/libavcodec/ra288.c
   trunk/libavcodec/ra288.h

Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c	(original)
+++ trunk/libavcodec/ra288.c	Thu Jul 24 05:50:06 2008
@@ -187,7 +187,7 @@ static void update(Real288_internal *glo
     memcpy(buffer1 + 20, glob->output     , 20*sizeof(*buffer1));
 
     do_hybrid_window(36, 40, 35, buffer1, temp1, glob->st1a, glob->st1b,
-                     table1);
+                     syn_window);
 
     if (pred(temp1, glob->st1, 36))
         colmult(glob->pr1, glob->st1, table1a, 36);
@@ -196,7 +196,7 @@ static void update(Real288_internal *glo
     memcpy(buffer2 + 4, glob->history    , 4*sizeof(*buffer2));
 
     do_hybrid_window(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b,
-                     table2);
+                     gain_window);
 
     if (pred(temp2, glob->st2, 10))
         colmult(glob->pr2, glob->st2, table2a, 10);

Modified: trunk/libavcodec/ra288.h
==============================================================================
--- trunk/libavcodec/ra288.h	(original)
+++ trunk/libavcodec/ra288.h	Thu Jul 24 05:50:06 2008
@@ -158,7 +158,7 @@ static const float codetable[128][5]={
 { 0.2958984375,   0.9853515625,  -0.642578125,    1.984375,       0.1943359375 }
 };
 
-static const float table1[111]={
+static const float syn_window[111]={
   0.576690972, 0.580838025, 0.585013986, 0.589219987, 0.59345597,  0.597723007,
   0.602020264, 0.606384277, 0.610748291, 0.615142822, 0.619598389, 0.624084473,
   0.628570557, 0.633117676, 0.637695313, 0.642272949, 0.646911621, 0.651580811,
@@ -180,7 +180,7 @@ static const float table1[111]={
   0.142852783, 0.0954284668,0.0477600098
 };
 
-static const float table2[38]={
+static const float gain_window[38]={
   0.505699992, 0.524200022, 0.54339999,  0.563300014, 0.583953857, 0.60534668,
   0.627502441, 0.650482178, 0.674316406, 0.699005127, 0.724578857, 0.75112915,
   0.778625488, 0.807128906, 0.836669922, 0.86730957,  0.899078369, 0.932006836,




More information about the ffmpeg-cvslog mailing list