summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-13 20:53:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-04-13 20:53:32 +0000
commit761f49c3ab1c91b8e911840a4f6f246308b7c242 (patch)
tree27fea7a9e1d4f12413c86416774da16b6bff8357
parent0696e1a7fbf057d0044bbee827f2a3caf6a0b49d (diff)
parent84d04c484539bae10cdf14a4b5a45b021234ad84 (diff)
downloadlibwebp-761f49c3ab1c91b8e911840a4f6f246308b7c242.tar.gz
Merge "webp-lossless-bitstream-spec: add missing bits to ABNF" into main
-rw-r--r--doc/webp-lossless-bitstream-spec.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt
index c1468e08..8815c70e 100644
--- a/doc/webp-lossless-bitstream-spec.txt
+++ b/doc/webp-lossless-bitstream-spec.txt
@@ -1065,10 +1065,13 @@ number of pixels (xsize * ysize).
#### 7.1 Basic Structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-format = RIFF-header image-size image-stream
-RIFF-header = "RIFF" 4OCTET "WEBP" "VP8L" 4OCTET %x2F
-image-size = 14BIT 14BIT ; width - 1, height - 1
-image-stream = optional-transform spatially-coded-image
+format = RIFF-header image-header image-stream
+RIFF-header = "RIFF" 4OCTET "WEBP" "VP8L" 4OCTET %x2F
+image-header = image-size alpha-is-used version
+image-size = 14BIT 14BIT ; width - 1, height - 1
+alpha-is-used = 1BIT
+version = 3BIT ; 0
+image-stream = optional-transform spatially-coded-image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~