From 7a7e33e97728d71050ff61d49763ba5bccc0e344 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 11 Mar 2022 13:10:05 -0800 Subject: [PATCH] webp-lossless-bitstream-spec: fix TR-pixel right border note the value of the TR-pixel on the right border is the leftmost pixel on the current row, not the previous one Bug: webp:551 Change-Id: I157e8c16ce43a9f52c36aa880be1be3bef19c063 --- doc/webp-lossless-bitstream-spec.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt index 1818ae08..4e91c478 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -369,9 +369,8 @@ pixels on the leftmost column. Addressing the TR-pixel for pixels on the rightmost column is exceptional. The pixels on the rightmost column are predicted by using -the modes \[0..13\] just like pixels not on border, but by using the -leftmost pixel on the same row as the current TR-pixel. The TR-pixel -offset in memory is the same for border and non-border pixels. +the modes \[0..13\] just like pixels not on the border, but the leftmost pixel +on the same row as the current pixel is instead used as the TR-pixel. ### Color Transform