Displaying 2 results from an estimated 2 matches for "stereo_threshhold".
Did you mean:
stereo_threshholds
2012 Dec 12
1
[PATCH] psy.c tweak
...K?
- Michael
Index: psy.c
===================================================================
--- psy.c (revision 18737)
+++ psy.c (working copy)
@@ -29,7 +29,7 @@
#include "scales.h"
#include "misc.h"
-#define NEGINF -9999.f
+#define NEGINF (-9999.f)
static const double stereo_threshholds[]={0.0, .5, 1.0, 1.5, 2.5, 4.5, 8.5, 16.5, 9e10};
static const double stereo_threshholds_limited[]={0.0, .5, 1.0, 1.5, 2.0, 2.5, 4.5, 8.5, 9e10};
@@ -40,7 +40,7 @@
look->channels=vi->channels;
- look->ampmax=-9999.;
+ look->ampmax=NEGINF;
look->gi=gi;
return(look);...
2004 Mar 22
1
apsort
...root/vorbis/lib/psy.c,v
retrieving revision 1.81
diff -u -r1.81 psy.c
--- a/psy.c 21 Oct 2002 07:00:11 -0000 1.81
+++ b/psy.c 23 Mar 2004 03:16:32 -0000
@@ -29,6 +29,8 @@
#include "scales.h"
#include "misc.h"
+#include <stdint.h>
+
#define NEGINF -9999.f
static double stereo_threshholds[]={0.0, .5, 1.0, 1.5, 2.5, 4.5, 8.5, 16.5, 9e10};
@@ -966,9 +968,17 @@
/* this is for per-channel noise normalization */
static int apsort(const void *a, const void *b){
- float f1=fabs(**(float**)a);
- float f2=fabs(**(float**)b);
+#if 0
+ float f1=fabsf(**(float**)a);
+ float f2=fabsf(**...