[oggonachip] Re: [vorbis-dev] mdct.c

Pattara Kiatisevi pkiatisevi at student.ei.uni-stuttgart.de
Thu Mar 21 08:41:49 PST 2002



[cut]

> BTW, I look in the code, if INTEGERIZED_MDCT is defined. The floating
> point value in the input vector will be converted to int with this macro:
>
> #define FLOAT_CONV(x) ((int)((x)*(1<<TRIGBITS)+.5))
>
> But I can't see the conversion back to float, not sure the output vector
> will have the data in float?

I see now there is conversion back to int done at ov_read itself.
>From the code I think the allowed output values (that won't be clipped) =
-1 to 1.

Pattara

<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