From e2ecd5e9379a34d1d08c3df5d1d77594c13692d5 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 5 Jun 2023 16:56:49 -0700 Subject: [PATCH] webp-lossless-bitstream-spec: clarify ABNF syntax Give some examples of repetition and binary value notation to limit the need to follow the ABNF reference. Bug: webp:611 Change-Id: I5b5a7632f011e1523b4a528653fe3630afba3e3e --- doc/webp-lossless-bitstream-spec.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt index 4ba460d2..9ccfa9ee 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -1060,6 +1060,8 @@ Below is a view into the format in Augmented Backus-Naur Form ([ABNF]). It does not cover all details. The end-of-image (EOI) is only implicitly coded into the number of pixels (xsize * ysize). +Note that `*element` means `element` can be repeated 0 or more times. `5element` +means `element` is repeated exactly 5 times. `%b` represents a binary value. #### 7.1 Basic Structure