[xiph-commits] r13619 - trunk/ghost/libghost

jm at svn.xiph.org jm at svn.xiph.org
Sat Aug 25 04:13:29 PDT 2007


Author: jm
Date: 2007-08-25 04:13:28 -0700 (Sat, 25 Aug 2007)
New Revision: 13619

Modified:
   trunk/ghost/libghost/ceft.c
   trunk/ghost/libghost/testghost.c
Log:
just removing a few annoying warnings


Modified: trunk/ghost/libghost/ceft.c
===================================================================
--- trunk/ghost/libghost/ceft.c	2007-08-24 18:42:25 UTC (rev 13618)
+++ trunk/ghost/libghost/ceft.c	2007-08-25 11:13:28 UTC (rev 13619)
@@ -240,31 +240,6 @@
 }
 
 
-/*
-0
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10 11
-12 13
-14 15
-16 17 18 19
-20 21 22 23
-24 25 26 27
-28 29 30 31 32 33
-34 35 36 37 38 39 49 41
-42 43 44 45 46 47 48 49
-50 .. 63   (14)
-64 .. 83   (20)
-84 .. 127  (42)
-*/
-
 #define NBANDS 23 /*or 22 if we discard the small last band*/
 int qbank[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 20, 24, 28, 36, 44, 52, 68, 84, 116, 128};
 #if 0
@@ -366,11 +341,8 @@
 void quant_bank2(float *X)
 {
    int i;
-   float q=32;
-   //X[0] = (1.f/q)*floor(.5+q*X[0]);
    for (i=1;i<NBANDS;i++)
    {
-      int j;
       int q=0;
       if (i < 5)
          q = 8;
@@ -423,7 +395,7 @@
       float Rpp=0;
       float Rxp=0;
       float Rxx=0;
-      float gain1, gain2;
+      float gain1;
       for (j=qbank[i];j<qbank[i+1];j++)
       {
          Rxp += X[j*2-1]*P[j*2-1];

Modified: trunk/ghost/libghost/testghost.c
===================================================================
--- trunk/ghost/libghost/testghost.c	2007-08-24 18:42:25 UTC (rev 13618)
+++ trunk/ghost/libghost/testghost.c	2007-08-25 11:13:28 UTC (rev 13619)
@@ -38,9 +38,9 @@
 {
    GhostEncState *state;
    FILE *fin, *fout;
-   struct LiftingBasis bas;
-   float x[1200];
-   int i;
+   //struct LiftingBasis bas;
+   //float x[1200];
+   //int i;
    
    if (argc != 3)
    {



More information about the commits mailing list