search for: read_uint16

Displaying 2 results from an estimated 2 matches for "read_uint16".

2008 Aug 15
0
Fwd: Fwd: New Ogg Dirac mapping draft
...current one only for packets between 256 and 511 bytes (admittedly > a probably common case, but adding only one byte). Now that you mention > flags, lacing type could be put in flags, so this worsening could be avoided > too. So this would be: len = read_uint8() if (len == 255): len += read_uint16() if (len == 255+65535): len += read_uint32() And a len of 2^32 - 1 would indicate a continued packet? We can't change the lacing scheme without changing the stream structure version. So I'd propose something like: stream_structure_version = 1 header_type_flags: bit 0 : fresh/contin...
2008 Aug 12
7
New Ogg Dirac mapping draft
David Flynn has proposed a new Ogg Dirac mapping. The draft is here: http://davidf.woaf.net/dirac-mapping-ogg.pdf This is a much bigger break from other codecs than my draft (at http://wiki.xiph.org/index.php/OggDirac). We talked a bit about it on IRC today. Below is my summary; hopefully David can correct anything I got wrong or misleading. Comments? There are two main differences