[vorbis-dev] Suggestion for libvorbisfile: scaling

Jack Moffitt jack at xiph.org
Thu Jan 3 10:32:30 PST 2002



> My suspicion is that floats are not used internally by ov_read(), and
> there would be a speed penalty for using ov_read_float().

Vorbis is natively float based.  ov_read_float will be quite a bit
faster than ov_read, since it won't have the huge float->int conversion,
etc (note that on x86, the float->int conversion is in assembler so it's
pretty fast).

ov_read() 's conversion is still one of the slower functions on decode,
especially on PPC it seems.

jack.

--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list