Displaying 1 result from an estimated 1 matches for "fromoc".
Did you mean:
fromc
2001 Jan 17
0
bitrate scaling by freq / quality bug ? / comments
...(x) (((x)==0.)? -400:log(x)*8.68588963806503678f)
#define fromdB(x) (exp((x)*0.115129254649702278f))
// 0.69314718055994529 = log(2.0)
// 1.44269504088896339 = 1.0/log(2.0)
// 6.96578428466208699 = log(125.0)*1.0/log(2.0)
#define toOC(f) (log(f)*1.44269504088896339F-6.96578428466208699F)
#define fromOC(o) (exp(((o)+6.96578428466208699F)*0.69314718055994529F))
that's all
regards
Attila Padar
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org'
containi...