Hi, as we are trying to implement MDCT in hardware, we are caring now about the "n" (size of input and output vectors to and from MDCT). As I have looked in the code, this "n" is chosen from the Ogg/Vorbis stream data in info.c:_vorbis_unpack_info() which means this "n" can vary aribitrarily (as the power of 2) depending only on the value got from song data? or is there any specific limit... Thank you very much, Pattara <p> -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ---------------------------------------------------------------------- Ott Pattara Kiatisevi T L W G M.Sc. INFOTECH Student, Stuttgart, Germany http://linux.thai.net/ ---------------------------------------------------------------------- <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>As I have looked in the code, this "n" is chosen from the Ogg/Vorbis >stream data in info.c:_vorbis_unpack_info() which means this "n" can vary >aribitrarily (as the power of 2) depending only on the value got from song >data? or is there any specific limit...65536, I think. That may have changed, or it may be changed in the future (precisely to allow more reasonable hardware implementation). Michael <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tue, Mar 26, 2002 at 02:06:59PM +0100, Pattara Kiatisevi wrote:> Hi, > > as we are trying to implement MDCT in hardware, we are caring now about > the "n" (size of input and output vectors to and from MDCT).Current allowed range (sorry, this part wasn't documented)-: power of two, 64 through 8192 The current decoder code (and file field width) allow up to 65536, but that's just because it was easier to do it that way :-) 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 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.