dictionary.h 749 B

1234567891011121314151617181920212223242526272829
  1. /* Copyright 2013 Google Inc. All Rights Reserved.
  2. Distributed under MIT license.
  3. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
  4. */
  5. /* Collection of static dictionary words. */
  6. #ifndef BROTLI_COMMON_DICTIONARY_H_
  7. #define BROTLI_COMMON_DICTIONARY_H_
  8. #include "./types.h"
  9. #if defined(__cplusplus) || defined(c_plusplus)
  10. extern "C" {
  11. #endif
  12. extern const uint8_t kBrotliDictionary[122784];
  13. extern const uint32_t kBrotliDictionaryOffsetsByLength[25];
  14. extern const uint8_t kBrotliDictionarySizeBitsByLength[25];
  15. #define kBrotliMinDictionaryWordLength 4
  16. #define kBrotliMaxDictionaryWordLength 24
  17. #if defined(__cplusplus) || defined(c_plusplus)
  18. } /* extern "C" */
  19. #endif
  20. #endif /* BROTLI_COMMON_DICTIONARY_H_ */