Give windowing tables a more descriptive name

(s/table1/syn_window/, s/table2/gain_window/).

Originally committed as revision 14360 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-07-24 03:50:06 +00:00
parent 475d0e1464
commit a0cce1587b
2 changed files with 4 additions and 4 deletions

View File

@ -187,7 +187,7 @@ static void update(Real288_internal *glob)
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 *glob)
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);

View File

@ -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,