Commit a47fc18a authored by vitor's avatar vitor

Rename table

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13824 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8b90f77e
...@@ -356,7 +356,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, ...@@ -356,7 +356,7 @@ static int ra144_decode_frame(AVCodecContext * avctx,
eval_coefs(lpc_refl, ractx->lpc_coef); eval_coefs(lpc_refl, ractx->lpc_coef);
ractx->lpc_refl_rms = rms(lpc_refl); ractx->lpc_refl_rms = rms(lpc_refl);
energy = decodeval[get_bits(&gb, 5) << 1]; // Useless table entries? energy = energy_tab[get_bits(&gb, 5) << 1]; // Useless table entries?
refl_rms[0] = interp(ractx, block_coefs[0], 0, 0, ractx->old_energy); refl_rms[0] = interp(ractx, block_coefs[0], 0, 0, ractx->old_energy);
refl_rms[1] = interp(ractx, block_coefs[1], 1, energy > ractx->old_energy, refl_rms[1] = interp(ractx, block_coefs[1], 1, energy > ractx->old_energy,
......
...@@ -1869,7 +1869,7 @@ static const uint32_t ftable2[128]={ ...@@ -1869,7 +1869,7 @@ static const uint32_t ftable2[128]={
192855, 211270, 211641, 210734, 221325, 222075, 214093, 194793 192855, 211270, 211641, 210734, 221325, 222075, 214093, 194793
}; };
static const int16_t decodeval[63]={ static const int16_t energy_tab[63]={
0, 6, 16, 18, 20, 23, 25, 29, 0, 6, 16, 18, 20, 23, 25, 29,
32, 36, 41, 46, 51, 57, 65, 73, 32, 36, 41, 46, 51, 57, 65, 73,
81, 91, 103, 115, 129, 145, 163, 183, 81, 91, 103, 115, 129, 145, 163, 183,
......
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