[xiph-cvs] cvs commit: vorbis/lib res0.c

Monty xiphmont at xiph.org
Sun Jun 3 22:56:43 PDT 2001



xiphmont    01/06/03 22:56:43

  Modified:    lib      res0.c
  Log:
  Kill some debugging output

Revision  Changes    Path
1.29      +0 -14     vorbis/lib/res0.c

Index: res0.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/res0.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- res0.c	2001/06/04 05:50:10	1.28
+++ res0.c	2001/06/04 05:56:42	1.29
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: residue backend 0 and 1 implementation
- last mod: $Id: res0.c,v 1.28 2001/06/04 05:50:10 xiphmont Exp $
+ last mod: $Id: res0.c,v 1.29 2001/06/04 05:56:42 xiphmont Exp $
 
  ********************************************************************/
 
@@ -45,9 +45,6 @@
   int         partvals;
   int       **decodemap;
 
-  long        phrase;
-  long        bits[32];
-  long        vals[32];
 } vorbis_look_residue0;
 
 vorbis_info_residue *res0_copy_info(vorbis_info_residue *vr){
@@ -70,17 +67,6 @@
     vorbis_look_residue0 *look=(vorbis_look_residue0 *)i;
     long resbitsT=0;
     long resvalsT=0;
-
-    for(j=0;j<look->parts;j++)resbitsT+=look->bits[j];
-    for(j=0;j<look->parts;j++)resvalsT+=look->vals[j];
-    fprintf(stderr,
-	    "Encoded %ld res vectors in %ld phrasing and %ld res bits\n\t",
-	    resvalsT,look->phrase,resbitsT);
-    for(j=1;j<look->parts;j++)
-      fprintf(stderr,"%ld(%ld):%ld  %g/sample\n",j,look->vals[j],look->bits[j],
-	      (float)look->bits[j]/look->vals[j]);
-    fprintf(stderr,"\n");
- 
 
     for(j=0;j<look->parts;j++)
       if(look->partbooks[j])_ogg_free(look->partbooks[j]);

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list