mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
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
This commit is contained in:
parent
d65ec6786a
commit
e4fc4c1c63
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user