mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
webp-container-spec,cosmetics: normalize range syntax
this makes the syntax in this document consistent with webp-lossless-bitstream-spec.txt [N-M] -> [N..M] Bug: webp:448 Change-Id: Iebf39eefb7d3c081a3d10e2804ee215c3aed6b79
This commit is contained in:
parent
fad0ece7ed
commit
017cb6fa94
@ -589,8 +589,8 @@ where `clip(v)` is equal to:
|
|||||||
* v otherwise
|
* v otherwise
|
||||||
|
|
||||||
The final value is derived by adding the decompressed value `X` to the
|
The final value is derived by adding the decompressed value `X` to the
|
||||||
predictor and using modulo-256 arithmetic to wrap the \[256-511\] range
|
predictor and using modulo-256 arithmetic to wrap the \[256..511\] range
|
||||||
into the \[0-255\] one:
|
into the \[0..255\] one:
|
||||||
|
|
||||||
`alpha = (predictor + X) % 256`
|
`alpha = (predictor + X) % 256`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user