Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
encoder_dict.h
Go to the documentation of this file.
1/* Copyright 2017 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#ifndef BROTLI_ENC_ENCODER_DICT_H_
8#define BROTLI_ENC_ENCODER_DICT_H_
9
11#include "../common/platform.h"
12#include <brotli/types.h>
13#include "./static_dict_lut.h"
14
15#if defined(__cplusplus) || defined(c_plusplus)
16extern "C" {
17#endif
18
19/* Dictionary data (words and transforms) for 1 possible context */
23
24 /* cut off for fast encoder */
27
28 /* from dictionary_hash.h, for fast encoder */
29 const uint16_t* hash_table_words;
30 const uint8_t* hash_table_lengths;
31
32 /* from static_dict_lut.h, for slow encoder */
33 const uint16_t* buckets;
36
38
39#if defined(__cplusplus) || defined(c_plusplus)
40} /* extern "C" */
41#endif
42
43#endif /* BROTLI_ENC_ENCODER_DICT_H_ */
BROTLI_INTERNAL void BrotliInitEncoderDictionary(BrotliEncoderDictionary *dict)
Definition encoder_dict.c:18
struct BrotliEncoderDictionary BrotliEncoderDictionary
Definition dictionary.h:19
Definition encoder_dict.h:20
uint64_t cutoffTransforms
Definition encoder_dict.h:26
uint32_t cutoffTransformsCount
Definition encoder_dict.h:25
const DictWord * dict_words
Definition encoder_dict.h:34
const BrotliDictionary * words
Definition encoder_dict.h:21
uint32_t num_transforms
Definition encoder_dict.h:22
const uint16_t * buckets
Definition encoder_dict.h:33
const uint16_t * hash_table_words
Definition encoder_dict.h:29
const uint8_t * hash_table_lengths
Definition encoder_dict.h:30
Definition static_dict_lut.h:18
#define BROTLI_INTERNAL
Definition platform.h:173
const void * dict
Definition zbuff.h:76