[theora-dev] Specific code questions
Monty
xiphmont at xiph.org
Sun Sep 15 12:08:42 PDT 2002
On Sat, Sep 14, 2002 at 06:40:28PM -0400, Dan Miller wrote:
> > Ah, Write32ToBuffer is doign the flipping. What an odd little bitpacker.
>
> hmm... so I guess my previous post was all wrong? Or perhaps I'm
> confused, and this routine is doing just what I said -- making sure
> the byte order is the same on all architectures? I'm going to check
> into this with those who know what is going on. I apologize for
> shooting off before I had my information straight.
I also apologize for doing some amount of thinking aloud as I put
nitty-gritty into place. VP3 is clearly defined as a big-endian codec
with MSb-first packing, and that is a sensible choice (makes fast
huffman decode easier). Vorbis II and future Ogg still will be
MSb-first... so I think I'll just add that option to the Ogg bitpacker
now and let Theora use it. It will simplify packet buffer management.
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 'theora-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 Theora-dev
mailing list