Searched refs:todB (Results 1 – 6 of 6) sorted by relevance
44 static inline float todB(const float *x){ in todB() function54 #define todB_nn(x) todB(x)63 #define todB(x) (*(x)==0?-400.f:log(*(x)**(x))*4.34294480f) macro
217 fprintf(of,"%g\n",todB(v+j)); in analysis()343 fft[0]=todB(fft); in main()346 temp=fft[(j+1)>>1]=todB(&temp); in main()353 logmdct[j]=todB(mdct+j); in main()
272 scale_dB=todB(&scale) + .345; /* + .345 is a hack; the original in mapping0_forward()318 logfft[0]=scale_dB+todB(pcm) + .345; /* + .345 is a hack; the in mapping0_forward()335 temp=logfft[(j+1)>>1]=scale_dB+.5f*todB(&temp) + .345; /* + in mapping0_forward()393 logmdct[j]=todB(mdct+j) + .345; /* + .345 is a hack; the original in mapping0_forward()
95 val=todB(v+j); in _analysis_output_always()
145 decay=todB(&decay)*.5-15.f; in _ve_amp()153 val=todB(&val)*.5f; in _ve_amp()
42 #define todB(x) ((x)>1e-13?log((x)*(x))*4.34294480f:-30) macro