[vorbis-dev] Are vorbis_blocks really independent?

Ronald Bos bosr at natlab.research.philips.com
Thu Feb 13 06:28:59 PST 2003



> My question. Does this imply that vorbis_analysis (oggenc/encode.c), which
> takes as argument a vorbis_block and an ogg packet, is also independent of
> from other calls to vorbis_analysis?

I can answer this question myself. I have an array of N vorbis_blocks. Now
the results of

for(i=0; i<count; ++i) {
    vorbis_analysis(&vb_buffer[i], &op);
}

and

for (i = count-1; i>=0; --i) {
    vorbis_analysis(&vb_buffer[i], &op);
}

Are _exactly_ the same. So I guess they are really independent :-) Sounds
promising, doesn't it?

Ronald

<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