[vorbis] some more Spec questions

Segher Boessenkool segher at koffie.nl
Mon Apr 28 20:01:45 PDT 2003



Sebastian Gesemann wrote:
> Hi !
> 
> once again.... WITH quotes from the spec ;)

Thanks!

> Floor 0 format - header decode
> ------------------------------
> - Step 7: how could any of those values be less than zero
>   if i read them as unsigned integers ?

Hrm, it seems they can't be, yes.  What does libvorbis do here?

>>- The formulas for p and q make use of omega, but there's
>>  nothing in the spec about omega... How is omega related
>>  to [i] or to ([map] element [i]) ? 
> 
> perhaps omega = pi * map[i] / bark_map_size ?

Either that, or the cosine of that, modulo some scaling.
Again, see what libvorbis does here.

> PS: I can't write a patch for the doc if i don't know how it's
> supposed to be.

You can always see what libvorbis does -- its decoder is better
tested than the one in the specification ;)

<p>Segher

--- >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-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 mailing list