[vorbis-dev] vorbis on playstation 2
nico at cam.org
Thu Feb 6 08:03:27 PST 2003
On Thu, 6 Feb 2003, Segher Boessenkool wrote:
> Brad BARCLAY wrote:
> > Of that ~90%, 14% was being used by _fpadd_parts. Alot of time
> > appears to be wasted while doing floating point arithmetic, probably
> > due to the fact that Vorbis uses lots of double-precision floats, which
> > are emulated on the PS2.
> There shouldn't be any double precision floats -- please report these
> as a bug (bugs.xiph.org). Except maybe in lsp/lpc stuff (but that's
> ancient, and not used in 1.0 files anymore; your application doesn't
> need to support floor0 at all, probably).
The code currently uses sin(), cos(), and friends which are double precision
functions. Probably they could simply be substituted by cosf(), sinf(),
etc. as well which are single precision versions.
--- >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