diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-07-24 03:50:06 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-07-24 03:50:06 +0000 |
commit | a0cce1587bfe30168873a66f851881f16480f00c (patch) | |
tree | be6a2b46c0d3c5f9cd87a1aa7f7683c20400bd66 | |
parent | 475d0e146426440afb1c19f2f12d2c22a5aae10b (diff) | |
download | ffmpeg-a0cce1587bfe30168873a66f851881f16480f00c.tar.gz |
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
-rw-r--r-- | libavcodec/ra288.c | 4 | ||||
-rw-r--r-- | libavcodec/ra288.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 9f10bbca97..946820cf56 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -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); diff --git a/libavcodec/ra288.h b/libavcodec/ra288.h index 9164c86382..f2fec9c5df 100644 --- a/libavcodec/ra288.h +++ b/libavcodec/ra288.h @@ -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, |