snuffpuppy
2000-Aug-28 10:15 UTC
[vorbis] enidanism in the OggSquish logical bitstream framing format...
why store multibyte values as little endinan? wouldn't it make a lot more sense to use network byte order? (big-endian, most significant byte 1st)?? --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Monty
2000-Aug-29 15:44 UTC
[vorbis] enidanism in the OggSquish logical bitstream framing format...
> why store multibyte values as little endinan?You misunderstand what is happening. Vorbis packets have no word boundaries or specific word width and values are not octet aligned. The mapping places bits in an order that can be described as 'little endian', but the values can be any number of bits.> wouldn't it make a lot more sense to use network byte order? (big-endian, most > significant byte 1st)??No. Little endian is more efficient for unpacking words that are neither integral octets, nor on octet boundaries. 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-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.