[theora-dev] Specific code questions

Dan Miller dan at on2.com
Sat Sep 14 15:40:28 PDT 2002

> 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.

(At one point I wrote a 32 bit version of the Ogg bitpacker that did
byte flipping when necessary, and it turned out to be slower than the
8 bit packer we use now.  Also, you have the lowest level bithandling
operations split between several C modules; this will kill any chance
at compiler optimization).

Anyway, it appears that the bitpacker used by VP3 is the exact
opposite packing order used by Ogg... Ah well.

--- >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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4202 bytes
Desc: winmail.dat
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20020914/ab83b65e/winmail.bin

More information about the Theora-dev mailing list