]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/BrotliCompress/common/dictionary.h
BaseTools: Copy Brotli algorithm 3rd party source code for tool
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / common / dictionary.h
1 /* Copyright 2013 Google Inc. All Rights Reserved.
2
3 Distributed under MIT license.
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5 */
6
7 /* Collection of static dictionary words. */
8
9 #ifndef BROTLI_COMMON_DICTIONARY_H_
10 #define BROTLI_COMMON_DICTIONARY_H_
11
12 #include "./types.h"
13
14 #if defined(__cplusplus) || defined(c_plusplus)
15 extern "C" {
16 #endif
17
18 extern const uint8_t kBrotliDictionary[122784];
19 extern const uint32_t kBrotliDictionaryOffsetsByLength[25];
20 extern const uint8_t kBrotliDictionarySizeBitsByLength[25];
21
22 #define kBrotliMinDictionaryWordLength 4
23 #define kBrotliMaxDictionaryWordLength 24
24
25 #if defined(__cplusplus) || defined(c_plusplus)
26 } /* extern "C" */
27 #endif
28
29 #endif /* BROTLI_COMMON_DICTIONARY_H_ */