comparison mupdf-source/thirdparty/brotli/docs/constants.h.3 @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 .TH "constants.h" 3 "August 2021" "Brotli" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 constants.h \- Common constants used in decoder and encoder API\&.
6
7 .SH SYNOPSIS
8 .br
9 .PP
10 .SS "Macros"
11
12 .in +1c
13 .ti -1c
14 .RI "#define \fBBROTLI_LARGE_MAX_DISTANCE_BITS\fP 62U"
15 .br
16 .RI "\fIThe theoretical maximum number of distance bits specified for large window brotli, for 64-bit encoders and decoders\&. \fP"
17 .ti -1c
18 .RI "#define \fBBROTLI_LARGE_MAX_WBITS\fP 30"
19 .br
20 .RI "\fIThe maximum supported large brotli window bits by the encoder and decoder\&. \fP"
21 .ti -1c
22 .RI "#define \fBBROTLI_MAX_NPOSTFIX\fP 3"
23 .br
24 .RI "\fIMaximal number of 'postfix' bits\&. \fP"
25 .in -1c
26 .SH "Detailed Description"
27 .PP
28 Common constants used in decoder and encoder API\&.
29
30
31 .SH "Macro Definition Documentation"
32 .PP
33 .SS "#define BROTLI_LARGE_MAX_DISTANCE_BITS 62U"
34
35 .PP
36 The theoretical maximum number of distance bits specified for large window brotli, for 64-bit encoders and decoders\&. Even when in practice 32-bit encoders and decoders only support up to 30 max distance bits, the value is set to 62 because it affects the large window brotli file format\&. Specifically, it affects the encoding of simple huffman tree for distances, see Specification RFC 7932 chapter 3\&.4\&.
37 .SS "#define BROTLI_LARGE_MAX_WBITS 30"
38
39 .PP
40 The maximum supported large brotli window bits by the encoder and decoder\&. Large window brotli allows up to 62 bits, however the current encoder and decoder, designed for 32-bit integers, only support up to 30 bits maximum\&.
41 .SS "#define BROTLI_MAX_NPOSTFIX 3"
42
43 .PP
44 Maximal number of 'postfix' bits\&. Number of 'postfix' bits is stored as 2 bits in meta-block header\&.
45 .SH "Author"
46 .PP
47 Generated automatically by Doxygen for Brotli from the source code\&.