[FFmpeg-cvslog] r14363 - in trunk/libavcodec: ra288.c ra288.h

vitor subversion
Thu Jul 24 06:15:50 CEST 2008


Author: vitor
Date: Thu Jul 24 06:15:50 2008
New Revision: 14363

Log:
More tables renaming/commenting

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

Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c	(original)
+++ trunk/libavcodec/ra288.c	Thu Jul 24 06:15:50 2008
@@ -196,7 +196,7 @@ static void update(Real288_internal *glo
                      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 *glo
                      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) */

Modified: trunk/libavcodec/ra288.h
==============================================================================
--- trunk/libavcodec/ra288.h	(original)
+++ trunk/libavcodec/ra288.h	Thu Jul 24 06:15:50 2008
@@ -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
 };




More information about the ffmpeg-cvslog mailing list