search for: lastbin

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

2001 Feb 01
1
minor psy.c modifications
...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, int lomin,int himin, f...
2001 Jan 27
1
optimization to bark_noise_median()
...l 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, const float *thresh,const float *off){ long i=0,lo=0,hi=0; f...