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

Segher Boessenkool segher at xiph.org
Wed Dec 19 10:06:18 PST 2001



segher      01/12/19 10:06:18

  Modified:    lib      psy.c
  Log:
  Remove unused y2a, y2b computations.

Revision  Changes    Path
1.61      +1 -6      vorbis/lib/psy.c

Index: psy.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/psy.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- psy.c	2001/12/19 01:08:14	1.60
+++ psy.c	2001/12/19 18:06:17	1.61
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.60 2001/12/19 01:08:14 xiphmont Exp $
+ last mod: $Id: psy.c,v 1.61 2001/12/19 18:06:17 segher Exp $
 
  ********************************************************************/
 
@@ -693,7 +693,6 @@
   double xa=0,xb=0;
   double ya=0,yb=0;
   double x2a=0,x2b=0;
-  double y2a=0,y2b=0;
   double xya=0,xyb=0; 
   double na=0,nb=0;
 
@@ -709,7 +708,6 @@
         xa  += hi*nn;
         ya  += bin*nn;
         x2a += hi*hi*nn;
-	y2a += bin*bin*nn;
         xya += hi*bin*nn;
       }
       bi=b[i]>>16;
@@ -721,7 +719,6 @@
         xa  -= lo*nn;
         ya  -= bin*nn;
         x2a -= lo*lo*nn;
-	y2a -= bin*bin*nn;
         xya -= lo*bin*nn;
       }
     }
@@ -738,7 +735,6 @@
         xb  += hif*nn;
         yb  += bin*nn;
         x2b += hif*hif*nn;
-	y2b += bin*bin*nn;
         xyb += hif*bin*nn;
       }
       bi=i-(fixed+1)/2;
@@ -750,7 +746,6 @@
         xb  -= lof*nn;
         yb  -= bin*nn;
         x2b -= lof*lof*nn;
-	y2b -= bin*bin*nn;
         xyb -= lof*bin*nn;
       }
     }

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