mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
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
This commit is contained in:
parent
54ebd5a375
commit
f6a4684ba8
@ -436,7 +436,7 @@ int8 ColorTransformDelta(int8 t, int8 c) {
|
|||||||
A conversion from the 8-bit unsigned representation (uint8) to the 8-bit
|
A conversion from the 8-bit unsigned representation (uint8) to the 8-bit
|
||||||
signed one (int8) is required before calling `ColorTransformDelta()`.
|
signed one (int8) is required before calling `ColorTransformDelta()`.
|
||||||
It should be performed using 8-bit two's complement (that is: uint8 range
|
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
|
The multiplication is to be done using more precision (with at least
|
||||||
16-bit dynamics). The sign extension property of the shift operation
|
16-bit dynamics). The sign extension property of the shift operation
|
||||||
|
Loading…
Reference in New Issue
Block a user