changeset 7368:166e5712dcd8 libavcodec

Give windowing tables a more descriptive name (s/table1/syn_window/, s/table2/gain_window/).
author vitor
date Thu, 24 Jul 2008 03:50:06 +0000
parents f8e1a1ef4a56
children b0d8a3985f96
files ra288.c ra288.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Thu Jul 24 03:28:42 2008 +0000
+++ b/ra288.c	Thu Jul 24 03:50:06 2008 +0000
@@ -187,7 +187,7 @@
     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 @@
     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);
--- a/ra288.h	Thu Jul 24 03:28:42 2008 +0000
+++ b/ra288.h	Thu Jul 24 03:50:06 2008 +0000
@@ -158,7 +158,7 @@
 { 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 @@
   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,