From a582b53b747fd940634deffa175af8b490c578e0 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 10 Sep 2024 18:04:24 -0700 Subject: [PATCH] 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 --- doc/webp-lossless-bitstream-spec.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt index 9d8b1021..d4836d1c 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -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 @@ -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