Commit a6755f8d authored by Vitor Sessak's avatar Vitor Sessak

Rename and comment bandwidth broadening tables

(s/table1a/syn_bw_tab/, s/table2a/gain_bw_tab/).

Originally committed as revision 14363 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5e65f5df
......@@ -196,7 +196,7 @@ static void update(Real288_internal *glob)
syn_window);
if (!eval_lpc_coeffs(temp1, glob->st1, 36))
colmult(glob->pr1, glob->st1, table1a, 36);
colmult(glob->pr1, glob->st1, syn_bw_tab, 36);
memcpy(buffer2 , glob->history + 4, 4*sizeof(*buffer2));
memcpy(buffer2 + 4, glob->history , 4*sizeof(*buffer2));
......@@ -205,7 +205,7 @@ static void update(Real288_internal *glob)
gain_window);
if (!eval_lpc_coeffs(temp2, glob->st2, 10))
colmult(glob->pr2, glob->st2, table2a, 10);
colmult(glob->pr2, glob->st2, gain_bw_tab, 10);
}
/* Decode a block (celp) */
......
......@@ -190,7 +190,8 @@ static const float gain_window[38]={
0.183868408, 0.0923461914
};
static const float table1a[36]={
/** Synthesis bandwidth broadening table */
static const float syn_bw_tab[36]={
0.98828125, 0.976699829, 0.965254128, 0.953942537, 0.942763507, 0.931715488,
0.920796931, 0.910006344, 0.899342179, 0.888803005, 0.878387332, 0.868093729,
0.857920766, 0.847867012, 0.837931097, 0.828111589, 0.818407178, 0.808816493,
......@@ -199,7 +200,8 @@ static const float table1a[36]={
0.693900526, 0.685768902, 0.677732527, 0.669790328, 0.66194123, 0.654184103
};
static const float table2a[10]={
/** Gain bandwidth broadening table */
static const float gain_bw_tab[10]={
0.90625, 0.821289063, 0.74432373, 0.674499512, 0.61126709,
0.553955078, 0.50201416, 0.454956055, 0.41229248, 0.373657227
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment