Searched refs:toOC (Results 1 - 3 of 3) sorted by relevance

/external/speex/libspeex/
H A Dvorbis_psy.h60 #define toOC(n) (log(n)*1.442695f-5.965784f) macro
/external/libvorbis/lib/
H A Dscales.h87 #define toOC(n) (log(n)*1.442695f-5.965784f) macro
H A Dpsy.c174 lo_curve= ceil(toOC(bin*binHz+1)*2);
175 hi_curve= floor(toOC((bin+1)*binHz)*2);
276 p->firstoc=toOC(.25f*rate*.5/n)*(1<<(p->shiftoc+1))-gi->eighth_octave_lines;
277 maxoc=toOC((n+.25f)*rate*.5/n)*(1<<(p->shiftoc+1))+.5f;
325 p->octave[i]=toOC((i+.25f)*.5*rate/n)*(1<<(p->shiftoc+1))+.5f;
336 float halfoc=toOC((i+.5)*rate/(2.*n))*2.;

Completed in 100 milliseconds