mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Update lossless spec for two simple codes.
Bug: webp:611 Change-Id: If628bb9332ebca6dd11b3561c3458e0f43ed54a3
This commit is contained in:
parent
ac17ffffcb
commit
accd141da3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user