xref: /aosp_15_r20/external/brotli/c/enc/dictionary_hash.h (revision f4ee7fba7774faf2a30f13154332c0a06550dbc4)
1*f4ee7fbaSAndroid Build Coastguard Worker /* Copyright 2015 Google Inc. All Rights Reserved.
2*f4ee7fbaSAndroid Build Coastguard Worker 
3*f4ee7fbaSAndroid Build Coastguard Worker    Distributed under MIT license.
4*f4ee7fbaSAndroid Build Coastguard Worker    See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5*f4ee7fbaSAndroid Build Coastguard Worker */
6*f4ee7fbaSAndroid Build Coastguard Worker 
7*f4ee7fbaSAndroid Build Coastguard Worker /* Hash table on the 4-byte prefixes of static dictionary words. */
8*f4ee7fbaSAndroid Build Coastguard Worker 
9*f4ee7fbaSAndroid Build Coastguard Worker #ifndef BROTLI_ENC_DICTIONARY_HASH_H_
10*f4ee7fbaSAndroid Build Coastguard Worker #define BROTLI_ENC_DICTIONARY_HASH_H_
11*f4ee7fbaSAndroid Build Coastguard Worker 
12*f4ee7fbaSAndroid Build Coastguard Worker #include <brotli/types.h>
13*f4ee7fbaSAndroid Build Coastguard Worker 
14*f4ee7fbaSAndroid Build Coastguard Worker #if defined(__cplusplus) || defined(c_plusplus)
15*f4ee7fbaSAndroid Build Coastguard Worker extern "C" {
16*f4ee7fbaSAndroid Build Coastguard Worker #endif
17*f4ee7fbaSAndroid Build Coastguard Worker 
18*f4ee7fbaSAndroid Build Coastguard Worker extern const uint16_t kStaticDictionaryHashWords[32768];
19*f4ee7fbaSAndroid Build Coastguard Worker extern const uint8_t kStaticDictionaryHashLengths[32768];
20*f4ee7fbaSAndroid Build Coastguard Worker 
21*f4ee7fbaSAndroid Build Coastguard Worker #if defined(__cplusplus) || defined(c_plusplus)
22*f4ee7fbaSAndroid Build Coastguard Worker }  /* extern "C" */
23*f4ee7fbaSAndroid Build Coastguard Worker #endif
24*f4ee7fbaSAndroid Build Coastguard Worker 
25*f4ee7fbaSAndroid Build Coastguard Worker #endif  /* BROTLI_ENC_DICTIONARY_HASH_H_ */
26