Mercurial > libavcodec.hg
changeset 7078:1685bdab6d88 libavcodec
Rename table
author | vitor |
---|---|
date | Thu, 19 Jun 2008 20:28:28 +0000 |
parents | 520e91c4b168 |
children | 81038d88ac17 |
files | ra144.c ra144.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ra144.c Thu Jun 19 19:37:51 2008 +0000 +++ b/ra144.c Thu Jun 19 20:28:28 2008 +0000 @@ -356,7 +356,7 @@ eval_coefs(lpc_refl, ractx->lpc_coef); 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[1] = interp(ractx, block_coefs[1], 1, energy > ractx->old_energy,
--- a/ra144.h Thu Jun 19 19:37:51 2008 +0000 +++ b/ra144.h Thu Jun 19 20:28:28 2008 +0000 @@ -1869,7 +1869,7 @@ 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, 32, 36, 41, 46, 51, 57, 65, 73, 81, 91, 103, 115, 129, 145, 163, 183,