[FFmpeg-soc] [soc]: r1002 - qcelp/qcelpdec.c

reynaldo subversion at mplayerhq.hu
Sun Aug 19 02:11:59 CEST 2007


Author: reynaldo
Date: Sun Aug 19 02:11:59 2007
New Revision: 1002

Log:
TRIVIAL, av_log level change

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Sun Aug 19 02:11:59 2007
@@ -283,12 +283,28 @@ static int qcelp_compute_svector(qcelp_p
     uint16_t new_cbseed;
     float    rnd[160];
 
+    av_log(NULL, AV_LOG_ERROR,
+           "[ GAIN ] %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f\n",
+           gain[0],gain[1],gain[2],gain[3],gain[4],gain[5],gain[6],gain[7],
+           gain[8],gain[9],gain[10],gain[11],gain[12],gain[13],gain[14],
+           gain[15],gain[16]);
+    av_log(NULL, AV_LOG_ERROR,
+           "[ INDEX] %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\n",
+           index[0],index[1],index[2],index[3],index[4],index[5],index[6],
+           index[7],index[8],index[9],index[10],index[11],index[12],index[13],
+           index[14], index[15],index[16]);
+    av_log(NULL, AV_LOG_ERROR, "[  CDN]");
+
     switch(rate)
     {
         case RATE_FULL:
              for(i=0; i<160; i++)
+             {
                 cdn_vector[i]=
                 gain[i/10]*qcelp_fullrate_ccodebook[(i+1-index[i/10]) & 127];
+                av_log(NULL, AV_LOG_ERROR, " %f", cdn_vector[i]);
+             }
+             av_log(NULL, AV_LOG_ERROR, "\n");
              break;
         case RATE_HALF:
              for(i=0; i<160; i++)



More information about the FFmpeg-soc mailing list