spec : clarify last literal copy command
This commit is contained in:
@@ -697,8 +697,13 @@ A match copy command specifies an offset and a length.
|
|||||||
The offset gives the position to copy from,
|
The offset gives the position to copy from,
|
||||||
which can be within a previous block.
|
which can be within a previous block.
|
||||||
|
|
||||||
There are 3 symbol types, literals lengths, offsets and match lengths,
|
When all _sequences_ are decoded,
|
||||||
which are encoded together, interleaved in a single _bitstream_.
|
if there is any literal left in the _literal section_,
|
||||||
|
these bytes are added at the end of the block.
|
||||||
|
|
||||||
|
The _Sequences_Section_ regroup all symbols required to decode commands.
|
||||||
|
There are 3 symbol types : literals lengths, offsets and match lengths.
|
||||||
|
They are encoded together, interleaved, in a single _bitstream_.
|
||||||
|
|
||||||
Each symbol is a _code_ in its own context,
|
Each symbol is a _code_ in its own context,
|
||||||
which specifies a baseline and a number of bits to add.
|
which specifies a baseline and a number of bits to add.
|
||||||
@@ -905,8 +910,8 @@ since it will be discovered and reported by the decoding process.
|
|||||||
|
|
||||||
The bitstream starts by reporting on which scale it operates.
|
The bitstream starts by reporting on which scale it operates.
|
||||||
`Accuracy_Log = low4bits + 5`.
|
`Accuracy_Log = low4bits + 5`.
|
||||||
Note that maximum `Accuracy_Log` for literal and match length is `9`,
|
Note that maximum `Accuracy_Log` for literal and match lengths is `9`,
|
||||||
and for offsets it is `8`. Higher values are considered errors.
|
and for offsets is `8`. Higher values are considered errors.
|
||||||
|
|
||||||
Then follow each symbol value, from `0` to last present one.
|
Then follow each symbol value, from `0` to last present one.
|
||||||
The number of bits used by each field is variable.
|
The number of bits used by each field is variable.
|
||||||
|
|||||||
Reference in New Issue
Block a user