[tremor] MDCT_lookup tables reduced by one third.

Monty xiphmont at xiph.org
Tue Sep 10 20:32:48 PDT 2002



> Monty: I see that you did pretty much the same thing as I did when I removed the global 'step', however, I did two things differently:
> 1: There is no need for "mdct_butterflies" to have a step argument, since step can be easily calculated from init.log2n
> step=1<<(13-init.log2n);

Eh, there's no reason not to pass it.

> 2: In "mdct_butterfly_generic" step should really be a register, it
is used all over the place.

Perhaps.  Didn't take the time to test it.  

> By the way... What are the other four trignometric functions in mdct_lookup.h? It's hard to figure them out by just looking att the numbers and curves. (sine/cosine was pretty obvious thou..)

Read the paper that describes the original algorithm.  The header on
mdct.c isn't lying or anything :-)

Monty
--- >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 'tremor-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 Tremor mailing list