OLD | NEW |
(Empty) | |
| 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 <brotli/port.h> |
| 13 #include <brotli/types.h> |
| 14 |
| 15 #if defined(__cplusplus) || defined(c_plusplus) |
| 16 extern "C" { |
| 17 #endif |
| 18 |
| 19 BROTLI_COMMON_API extern const uint8_t kBrotliDictionary[122784]; |
| 20 BROTLI_COMMON_API extern const uint32_t kBrotliDictionaryOffsetsByLength[25]; |
| 21 BROTLI_COMMON_API extern const uint8_t kBrotliDictionarySizeBitsByLength[25]; |
| 22 |
| 23 #define BROTLI_MIN_DICTIONARY_WORD_LENGTH 4 |
| 24 #define BROTLI_MAX_DICTIONARY_WORD_LENGTH 24 |
| 25 |
| 26 #if defined(__cplusplus) || defined(c_plusplus) |
| 27 } /* extern "C" */ |
| 28 #endif |
| 29 |
| 30 #endif /* BROTLI_COMMON_DICTIONARY_H_ */ |
OLD | NEW |