From f6a4684ba802f2866b8355dd590f99770bbc5fe6 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 17 Nov 2022 18:03:14 -0800 Subject: [PATCH] webp-lossless-bitstream-spec,cosmetics: normalize range syntax [N-M], [N, M] -> [N..M] these were missed in: e74f8a62 webp-lossless-bitstream-spec,cosmetics: normalize range syntax Bug: webp:448 Change-Id: I6ca7c5d6b0473fdf3de0c6dba00b0f1e3da46a23 --- doc/webp-lossless-bitstream-spec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt index e6732636..9f013724 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -436,7 +436,7 @@ int8 ColorTransformDelta(int8 t, int8 c) { A conversion from the 8-bit unsigned representation (uint8) to the 8-bit signed one (int8) is required before calling `ColorTransformDelta()`. It should be performed using 8-bit two's complement (that is: uint8 range -\[128-255\] is mapped to the \[-128, -1\] range of its converted int8 value). +\[128..255\] is mapped to the \[-128..-1\] range of its converted int8 value). The multiplication is to be done using more precision (with at least 16-bit dynamics). The sign extension property of the shift operation