Displaying 2 results from an estimated 2 matches for "11xxxxxx".
Did you mean:
10xxxxxx
2012 Oct 06
0
Questions about FLAC documentation
...y information indicating their purpose either.
Well, as the documentation states, it uses the same method as in UTF-8
to store variable length integers:
- read one byte B0 from the stream
- if B0 = 0xxxxxxx then the read value is B0 -> end
- if B0 = 10xxxxxx, the encoding is invalid
- if B0 = 11xxxxxx, set L to the number of leading binary 1s minus 1:
B0 = 110xxxxx -> L = 1
B0 = 1110xxxx -> L = 2
B0 = 11110xxx -> L = 3
B0 = 111110xx -> L = 4
B0 = 1111110x -> L = 5
B0 = 11111110 -> L = 6
- assign the bits following the encoding (the x bits in the ex...
2012 Oct 06
4
Questions about FLAC documentation
I'm implementing a FLAC decoder from scratch (save OGG stuff if I can
help it) because libFLAC simply will not fit my embedded platform,
For the most part I'm implementing using just the documentation but
not all of the documentation is concise (especially about variable
sized fields) and after looking at the libFLAC source I find myself
befuddled so I thought it best to get the