[FFmpeg-cvslog] r13824 - in trunk/libavcodec: ra144.c ra144.h

vitor subversion
Thu Jun 19 22:28:28 CEST 2008


Author: vitor
Date: Thu Jun 19 22:28:28 2008
New Revision: 13824

Log:
Rename table

Modified:
   trunk/libavcodec/ra144.c
   trunk/libavcodec/ra144.h

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Thu Jun 19 22:28:28 2008
@@ -356,7 +356,7 @@ static int ra144_decode_frame(AVCodecCon
     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,

Modified: trunk/libavcodec/ra144.h
==============================================================================
--- trunk/libavcodec/ra144.h	(original)
+++ trunk/libavcodec/ra144.h	Thu Jun 19 22:28:28 2008
@@ -1869,7 +1869,7 @@ static const uint32_t ftable2[128]={
     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,




More information about the ffmpeg-cvslog mailing list