mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Use consistent bit convention in Section 5.
Rather than say "lower 3 bits" in one sentence and "bits 3-5" in the sentence right after, just consistently use the same convention and say "0-2" and "3-5".
This commit is contained in:
@@ -1000,13 +1000,12 @@ and a copy length code, the following table can be used:
|
||||
|
||||
First, look up the cell with the 64 value range containing the
|
||||
insert-and-copy length code, this gives the insert length code and
|
||||
the copy length code ranges, both 8 values long. The copy length
|
||||
code within its range is determined by the lowest 3 bits of the
|
||||
insert-and-copy length code, and the insert length code within its
|
||||
range is determined by bits 3-5 (counted from the LSB) of the
|
||||
insert-and-copy length code. Given the insert length and copy length codes,
|
||||
the actual insert and copy lengths can be obtained by reading the
|
||||
number of extra bits given by the tables above.
|
||||
the copy length code ranges, both 8 values long. Counting from the
|
||||
LSB of the insert-and-copy length code, the copy length code within
|
||||
its range is determined by bits 0-2, and the insert length code within
|
||||
its range is determined by bits 3-5. Given the insert length and copy
|
||||
length codes, the actual insert and copy lengths can be obtained by
|
||||
reading the number of extra bits given by the tables above.
|
||||
|
||||
If the insert-and-copy length code is between 0 and 127, the distance
|
||||
code of the command is set to zero (the last distance reused).
|
||||
|
||||
Reference in New Issue
Block a user