Debian Codegraph @

c/enc/static_dict_lut.h

raw symbols SCIP
1 /* Copyright 2015 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 /* Lookup table for static dictionary and transforms. */
8
9 #ifndef BROTLI_ENC_STATIC_DICT_LUT_H_
10 #define BROTLI_ENC_STATIC_DICT_LUT_H_cxx . . $ `c/enc/static_dict_lut.h:10:9`!
11
12 #include "../common/dictionary.h"cxx . . $ `<file>/c/common/dictionary.h`/
13 #include "../common/platform.h"cxx . . $ `<file>/c/common/platform.h`/
14 #include "../common/static_init.h"cxx . . $ `<file>/c/common/static_init.h`/
15
16 #if defined(__cplusplus) || defined(c_plusplus)
17 extern "C" {
18 #endif
19
20 typedef struct DictWordcxx . . $ DictWord# {
21 /* Highest bit is used to indicate end of bucket. */
22 uint8_tcxx . . $ uint8_t# lencxx . . $ DictWord#len.;
23 uint8_tcxx . . $ uint8_t# transformcxx . . $ DictWord#transform.;
24 uint16_tcxx . . $ uint16_t# idxcxx . . $ DictWord#idx.;
25 } DictWordcxx . . $ DictWord#;
26
27 /* Buckets are Hash15 results. */
28 #define BROTLI_ENC_STATIC_DICT_LUT_NUM_BUCKETScxx . . $ `c/enc/static_dict_lut.h:28:9`! 32768
29 #define BROTLI_ENC_STATIC_DICT_LUT_NUM_ITEMScxx . . $ `c/enc/static_dict_lut.h:29:9`! 31705
30
31 #if (BROTLI_STATIC_INITcxx . . $ `c/common/static_init.h:37:9`! != BROTLI_STATIC_INIT_NONEcxx . . $ `c/common/static_init.h:28:9`!)
32 BROTLI_INTERNAL BROTLI_BOOL BrotliEncoderInitStaticDictionaryLut(
33 const BrotliDictionary* dictionary, uint16_t* buckets, DictWord* words);
34 BROTLI_INTERNAL extern BROTLI_MODEL("small") uint16_t
35 kStaticDictionaryBuckets[BROTLI_ENC_STATIC_DICT_LUT_NUM_BUCKETS];
36 BROTLI_INTERNAL extern BROTLI_MODEL("small") DictWord
37 kStaticDictionaryWords[BROTLI_ENC_STATIC_DICT_LUT_NUM_ITEMS];
38 #else
39 BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! extern const BROTLI_MODELcxx . . $ `c/common/platform.h:674:9`!("small") uint16_tcxx . . $ uint16_t#
40 kStaticDictionaryBucketscxx . . $ kStaticDictionaryBuckets.[BROTLI_ENC_STATIC_DICT_LUT_NUM_BUCKETScxx . . $ `c/enc/static_dict_lut.h:28:9`!];
41 BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! extern const BROTLI_MODELcxx . . $ `c/common/platform.h:674:9`!("small") DictWordcxx . . $ DictWord#
42 kStaticDictionaryWordscxx . . $ kStaticDictionaryWords.[BROTLI_ENC_STATIC_DICT_LUT_NUM_ITEMScxx . . $ `c/enc/static_dict_lut.h:29:9`!];
43 #endif
44
45 #if defined(__cplusplus) || defined(c_plusplus)
46 } /* extern "C" */
47 #endif
48
49 #endif /* BROTLI_ENC_STATIC_DICT_LUT_H_ */