Skip to content

Commit

Permalink
webp-container-spec,cosmetics: normalize range syntax
Browse files Browse the repository at this point in the history
this makes the syntax in this document consistent with
webp-lossless-bitstream-spec.txt

[N-M] -> [N..M]

Bug: webp:448
Change-Id: Iebf39eefb7d3c081a3d10e2804ee215c3aed6b79
  • Loading branch information
jzern committed Nov 18, 2022
1 parent fad0ece commit 017cb6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/webp-container-spec.txt
Expand Up @@ -589,8 +589,8 @@ where `clip(v)` is equal to:
* v otherwise

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
into the \[0-255\] one:
predictor and using modulo-256 arithmetic to wrap the \[256..511\] range
into the \[0..255\] one:

`alpha = (predictor + X) % 256`

Expand Down

0 comments on commit 017cb6f

Please sign in to comment.