aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorszabadka <szabadka@users.noreply.github.com>2015-11-10 16:06:47 +0100
committerszabadka <szabadka@users.noreply.github.com>2015-11-10 16:06:47 +0100
commit77db683f0fea3542ce45108e0b81c6840215c4ba (patch)
tree801a0b380d4fdce7dbf04417132a8dc272652e28 /docs
parentc90ec29f54e9165df815b0f1311cfddb1be4afad (diff)
parent0e3329d51364942c0e7fe72f8733dcd659977d86 (diff)
downloadbrotli-77db683f0fea3542ce45108e0b81c6840215c4ba.zip
brotli-77db683f0fea3542ce45108e0b81c6840215c4ba.tar.gz
brotli-77db683f0fea3542ce45108e0b81c6840215c4ba.tar.bz2
Merge pull request #255 from ende76/master
FIX: Typo in reference to NBLTYPESL, Minor: added missing word _lengths_ to insert-and-copy lengths
Diffstat (limited to 'docs')
-rw-r--r--docs/draft-alakuijala-brotli-07.nroff10
-rw-r--r--docs/draft-alakuijala-brotli-07.txt10
2 files changed, 10 insertions, 10 deletions
diff --git a/docs/draft-alakuijala-brotli-07.nroff b/docs/draft-alakuijala-brotli-07.nroff
index 2123ac0..f85cbcf 100644
--- a/docs/draft-alakuijala-brotli-07.nroff
+++ b/docs/draft-alakuijala-brotli-07.nroff
@@ -1646,11 +1646,11 @@ commands. Each command has the following format:
Insert length number of literals, with the following format:
Block type code for next literal block type, appears
- only if NBLTYPESI >= 2 and the previous literal
+ only if NBLTYPESL >= 2 and the previous literal
block count is zero
Block count code + extra bits for next literal
- block count, appears only if NBLTYPESI >= 2 and the
+ block count, appears only if NBLTYPESL >= 2 and the
previous literal block count is zero
Next byte of the uncompressed data, encoded with the
@@ -1741,9 +1741,9 @@ The decoding algorithm that produces the uncompressed data is as follows:
read distance context map, CMAPD[]
else
fill CMAPD[] with zeros
- read array of prefix codes for literals, HTREEL[]
- read array of prefix codes for insert-and-copy, HTREEI[]
- read array of prefix codes for distances, HTREED[]
+ read array of literal prefix codes, HTREEL[]
+ read array of insert-and-copy length prefix codes, HTREEI[]
+ read array of distance prefix codes, HTREED[]
do
if BLEN_I is zero
read block type using HTREE_BTYPE_I and set BTYPE_I
diff --git a/docs/draft-alakuijala-brotli-07.txt b/docs/draft-alakuijala-brotli-07.txt
index bfa4149..2eae59d 100644
--- a/docs/draft-alakuijala-brotli-07.txt
+++ b/docs/draft-alakuijala-brotli-07.txt
@@ -1746,11 +1746,11 @@ Internet-Draft Brotli October 2015
Insert length number of literals, with the following format:
Block type code for next literal block type, appears
- only if NBLTYPESI >= 2 and the previous literal
+ only if NBLTYPESL >= 2 and the previous literal
block count is zero
Block count code + extra bits for next literal
- block count, appears only if NBLTYPESI >= 2 and the
+ block count, appears only if NBLTYPESL >= 2 and the
previous literal block count is zero
Next byte of the uncompressed data, encoded with the
@@ -1854,9 +1854,9 @@ Internet-Draft Brotli October 2015
else
fill CMAPD[] with zeros
- read array of prefix codes for literals, HTREEL[]
- read array of prefix codes for insert-and-copy, HTREEI[]
- read array of prefix codes for distances, HTREED[]
+ read array of literal prefix codes, HTREEL[]
+ read array of insert-and-copy length prefix codes, HTREEI[]
+ read array of distance prefix codes, HTREED[]
do
if BLEN_I is zero
read block type using HTREE_BTYPE_I and set BTYPE_I