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

Monty xiphmont at xiph.org
Sun Jun 17 15:25:51 PDT 2001



xiphmont    01/06/17 15:25:51

  Modified:    lib      mapping0.c
  Log:
  remove a define that shouldn't be hardwired (VORBIS_IEEE_FLOAT32)

Revision  Changes    Path
1.33      +6 -7      vorbis/lib/mapping0.c

Index: mapping0.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/mapping0.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- mapping0.c	2001/06/15 23:59:47	1.32
+++ mapping0.c	2001/06/17 22:25:50	1.33
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: channel mapping 0 implementation
- last mod: $Id: mapping0.c,v 1.32 2001/06/15 23:59:47 xiphmont Exp $
+ last mod: $Id: mapping0.c,v 1.33 2001/06/17 22:25:50 xiphmont Exp $
 
  ********************************************************************/
 
@@ -252,7 +252,6 @@
 #include "envelope.h"
 #include "mdct.h"
 #include "psy.h"
-#define VORBIS_IEEE_FLOAT32
 #include "scales.h"
 
 /* no time mapping implementation for now */
@@ -335,9 +334,9 @@
               res,
               codedflr);
 
-    for(j=0;j<n/2;j++)
-      if(fabs(vb->pcm[i][j]>1000))
-	fprintf(stderr,"%ld ",seq);
+    /*for(j=0;j<n/2;j++)
+      if(fabs(vb->pcm[i][j]>200))
+      fprintf(stderr,"%ld ",seq);*/
     
     _analysis_output("res",seq-vi->channels+j,vb->pcm[i],n,0,0);
     _analysis_output("codedflr",seq++,codedflr,n/2,0,1);
@@ -397,13 +396,13 @@
         /*if(fabs(mag)<3.5f)
           ang=rint(ang/(mag*2.f))*mag*2.f;*/
         
-	if(fabs(mag)<1.5)
+	/*if(fabs(mag)<1.5)
         ang=0;
       
         if(j>(n*3/16))
           ang=0;
         
-	if(ang>=fabs(mag*2))ang=-fabs(mag*2);
+	  if(ang>=fabs(mag*2))ang=-fabs(mag*2);*/
         
         pcmM[j]=mag;
         pcmA[j]=ang;

--- >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