mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
webp-lossless-bitstream-spec: clarify some text
These changes are based on editor comments in AUTH48: https://datatracker.ietf.org/doc/draft-zern-webp/ Change-Id: I21f18bce43fde0e396b2cbc935d0ff90448f96c4
This commit is contained in:
parent
0fd25d8406
commit
a582b53b74
@ -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
|
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
|
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
|
here; only the lowest 8 bits are used from the result, and in these bits, the
|
||||||
extension shifting and unsigned shifting are consistent with each other.
|
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
|
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
|
the inverse color transform and recover the original red and blue values. The
|
||||||
@ -613,8 +613,8 @@ We use image data in five different roles:
|
|||||||
1. Color transform image: Created by `ColorTransformElement` values
|
1. Color transform image: Created by `ColorTransformElement` values
|
||||||
(defined in ["Color Transform"](#color-transform)) for different blocks of
|
(defined in ["Color Transform"](#color-transform)) for different blocks of
|
||||||
the image.
|
the image.
|
||||||
1. Color indexing image: An array of size `color_table_size` (up to 256 ARGB
|
1. Color indexing image: An array of the size of `color_table_size` (up to
|
||||||
values) storing the metadata for the color indexing transform (see
|
256 ARGB values) that stores metadata for the color indexing transform (see
|
||||||
["Color Indexing Transform"](#color-indexing-transform)).
|
["Color Indexing Transform"](#color-indexing-transform)).
|
||||||
|
|
||||||
### 5.2 Encoding of Image Data
|
### 5.2 Encoding of Image Data
|
||||||
|
Loading…
Reference in New Issue
Block a user