Update lossless spec for two simple codes.

Bug: webp:611
Change-Id: If628bb9332ebca6dd11b3561c3458e0f43ed54a3
This commit is contained in:
Vincent Rabaud 2023-09-14 09:43:31 +02:00
parent ac17ffffcb
commit accd141da3

View File

@ -888,6 +888,9 @@ if (num_symbols == 2) {
} }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The two symbols should be different. Duplicate symbols are allowed, but
inefficient.
**Note:** Another special case is when _all_ prefix code lengths are _zeros_ (an **Note:** Another special case is when _all_ prefix code lengths are _zeros_ (an
empty prefix code). For example, a prefix code for distance can be empty if empty prefix code). For example, a prefix code for distance can be empty if
there are no backward references. Similarly, prefix codes for alpha, red, and there are no backward references. Similarly, prefix codes for alpha, red, and