X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FBrotliCompress%2Fcommon%2Fdictionary.h;fp=BaseTools%2FSource%2FC%2FBrotliCompress%2Fcommon%2Fdictionary.h;h=d8cfe1c349091bdac2c025e8daad160fe2d6a630;hb=11b7501adcf8af81b3a31702eb4daa799d5f4096;hp=0000000000000000000000000000000000000000;hpb=841b259062d5f71be41c7358217d3945038a37bf;p=mirror_edk2.git diff --git a/BaseTools/Source/C/BrotliCompress/common/dictionary.h b/BaseTools/Source/C/BrotliCompress/common/dictionary.h new file mode 100644 index 0000000000..d8cfe1c349 --- /dev/null +++ b/BaseTools/Source/C/BrotliCompress/common/dictionary.h @@ -0,0 +1,29 @@ +/* Copyright 2013 Google Inc. All Rights Reserved. + + Distributed under MIT license. + See file LICENSE for detail or copy at https://opensource.org/licenses/MIT +*/ + +/* Collection of static dictionary words. */ + +#ifndef BROTLI_COMMON_DICTIONARY_H_ +#define BROTLI_COMMON_DICTIONARY_H_ + +#include "./types.h" + +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" { +#endif + +extern const uint8_t kBrotliDictionary[122784]; +extern const uint32_t kBrotliDictionaryOffsetsByLength[25]; +extern const uint8_t kBrotliDictionarySizeBitsByLength[25]; + +#define kBrotliMinDictionaryWordLength 4 +#define kBrotliMaxDictionaryWordLength 24 + +#if defined(__cplusplus) || defined(c_plusplus) +} /* extern "C" */ +#endif + +#endif /* BROTLI_COMMON_DICTIONARY_H_ */