Changeset View
Changeset View
Standalone View
Standalone View
contrib/zlib/trees.h
#ifndef TREES_H | |||||
#define TREES_H | |||||
delphij: (similar to crc32.h -- I think we can upstream this but are these changes really needed?) | |||||
/* header created automatically with -DGEN_TREES_H */ | /* header created automatically with -DGEN_TREES_H */ | ||||
local const ct_data static_ltree[L_CODES+2] = { | local const ct_data static_ltree[L_CODES+2] = { | ||||
{{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}}, | {{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}}, | ||||
{{172},{ 8}}, {{108},{ 8}}, {{236},{ 8}}, {{ 28},{ 8}}, {{156},{ 8}}, | {{172},{ 8}}, {{108},{ 8}}, {{236},{ 8}}, {{ 28},{ 8}}, {{156},{ 8}}, | ||||
{{ 92},{ 8}}, {{220},{ 8}}, {{ 60},{ 8}}, {{188},{ 8}}, {{124},{ 8}}, | {{ 92},{ 8}}, {{220},{ 8}}, {{ 60},{ 8}}, {{188},{ 8}}, {{124},{ 8}}, | ||||
{{252},{ 8}}, {{ 2},{ 8}}, {{130},{ 8}}, {{ 66},{ 8}}, {{194},{ 8}}, | {{252},{ 8}}, {{ 2},{ 8}}, {{130},{ 8}}, {{ 66},{ 8}}, {{194},{ 8}}, | ||||
{{ 34},{ 8}}, {{162},{ 8}}, {{ 98},{ 8}}, {{226},{ 8}}, {{ 18},{ 8}}, | {{ 34},{ 8}}, {{162},{ 8}}, {{ 98},{ 8}}, {{226},{ 8}}, {{ 18},{ 8}}, | ||||
▲ Show 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
local const int base_dist[D_CODES] = { | local const int base_dist[D_CODES] = { | ||||
0, 1, 2, 3, 4, 6, 8, 12, 16, 24, | 0, 1, 2, 3, 4, 6, 8, 12, 16, 24, | ||||
32, 48, 64, 96, 128, 192, 256, 384, 512, 768, | 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, | ||||
1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576 | 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576 | ||||
}; | }; | ||||
#endif |
(similar to crc32.h -- I think we can upstream this but are these changes really needed?)