From e4fc4c1c63ecd74acbb4c647ee477dafe4b5110e Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Wed, 5 Dec 2012 00:01:28 -0800 Subject: [PATCH] lossless bitstream: block size bits correction The prediction block size is stored as 3 bits, not 4. Fixed the description. The code snippet is already correct. Change-Id: Iaa66a7e9817b58a2557c9a71c2231cc400b6ae4d --- 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 bd174fd4..59d6a117 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -236,7 +236,7 @@ predicted) is encoded. The _prediction mode_ determines the type of prediction to use. We divide the image into squares and all the pixels in a square use same prediction mode. -The first 4 bits of prediction data define the block width and height in +The first 3 bits of prediction data define the block width and height in number of bits. The number of block columns, `block_xsize`, is used in indexing two-dimensionally.