[vorbis-dev] vorbis on playstation 2

Segher Boessenkool segher at koffie.nl
Thu Feb 6 19:15:33 PST 2003



David Etherton wrote:

> I could move the whole LUT into scratchpad easily enough (some of our
> low-precision character animation uses a small lut in scratchpad already, it
> was a pretty good win) although I'd like to trim the table down a bit.
> Would I be better off going to a signed short to cut the table size in half
> or just cut the number of entries in half?

If your multiply (or preferably fused multiply-add) is
fast enough, you might be better off generating those
sine/cosine values on the fly (by using an iteration
such as  cos(a+b) = .5/cos(b) * { cos(a) - cos (a-b) }
(b is fixed, iterate over a) or something slightly
more advanced and numerically stable, if necessary.

<p>Segher

<p>--- >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