Skip to content

Commit

Permalink
webp-lossless-bitstream-spec: clarify some text
Browse files Browse the repository at this point in the history
These changes are based on editor comments in AUTH48:
https://datatracker.ietf.org/doc/draft-zern-webp/

Change-Id: I21f18bce43fde0e396b2cbc935d0ff90448f96c4
  • Loading branch information
jzern committed Sep 11, 2024
1 parent 0fd25d8 commit a582b53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/webp-lossless-bitstream-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ should be interpreted as an 8-bit two's complement number (that is: uint8 range

The multiplication is to be done using more precision (with at least 16-bit
precision). The sign extension property of the shift operation does not matter
here; only the lowest 8 bits are used from the result, and there the sign
extension shifting and unsigned shifting are consistent with each other.
here; only the lowest 8 bits are used from the result, and in these bits, the
sign extension shifting and unsigned shifting are consistent with each other.

Now, we describe the contents of color transform data so that decoding can apply
the inverse color transform and recover the original red and blue values. The
Expand Down Expand Up @@ -613,8 +613,8 @@ We use image data in five different roles:
1. Color transform image: Created by `ColorTransformElement` values
(defined in ["Color Transform"](#color-transform)) for different blocks of
the image.
1. Color indexing image: An array of size `color_table_size` (up to 256 ARGB
values) storing the metadata for the color indexing transform (see
1. Color indexing image: An array of the size of `color_table_size` (up to
256 ARGB values) that stores metadata for the color indexing transform (see
["Color Indexing Transform"](#color-indexing-transform)).

### 5.2 Encoding of Image Data
Expand Down

0 comments on commit a582b53

Please # to comment.