search for: negfour

Displaying 2 results from an estimated 2 matches for "negfour".

2001 Jan 27
1
optimization to bark_noise_median()
...side loops. Duh. Hopefully this will be fixed with the final OS X which will have something 2.95 based. If this doesn't hurt performance on x86 or some other platform or have some other problem, could you please commit it? Thanks! -tim /* quarter-dB bins */ #define BIN(x) ((int)((x)*negFour)) #define BINdB(x) ((x)*negQuarter) #define BINCOUNT (200*4) #define LASTBIN (BINCOUNT-1) tatic void bark_noise_median(long n,const float *b,const float *f,float *noise, float lowidth,float hiwidth, int lomin,int himin,...
2001 Feb 01
1
minor psy.c modifications
...LS*sizeof(float *)); new (corrected) lines: p->noisemedian=_ogg_malloc(n*sizeof(float)); p->noiseoffset=_ogg_malloc(n*sizeof(float)); p->tonecurves[i]=_ogg_malloc(P_LEVELS*sizeof(float)); 3. modified bark_noise_median(): 3/a: floating point based (new) style: #define BIN(x) ((int)((x)*negFour)) #define BINdB(x) ((x)*negQuarter) #define BINCOUNT (200*4) #define LASTBIN (BINCOUNT-1) tatic void bark_noise_median(long n,float *b, float *f,float *noise, float lowidth,float hiwidth,...