Home
last modified time | relevance | path

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

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