mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 12:11:39 -06:00
15.05
This commit is contained in:
committed by
Kornel Lesiński
parent
0713a3ab80
commit
54490d51d5
@@ -25,29 +25,30 @@ const Byte kBlockSig3 = 0x26;
|
||||
const Byte kBlockSig4 = 0x53;
|
||||
const Byte kBlockSig5 = 0x59;
|
||||
|
||||
const int kNumOrigBits = 24;
|
||||
const unsigned kNumOrigBits = 24;
|
||||
|
||||
const int kNumTablesBits = 3;
|
||||
const int kNumTablesMin = 2;
|
||||
const int kNumTablesMax = 6;
|
||||
const unsigned kNumTablesBits = 3;
|
||||
const unsigned kNumTablesMin = 2;
|
||||
const unsigned kNumTablesMax = 6;
|
||||
|
||||
const int kNumLevelsBits = 5;
|
||||
const unsigned kNumLevelsBits = 5;
|
||||
|
||||
const int kMaxHuffmanLen = 20; // Check it
|
||||
const unsigned kMaxHuffmanLen = 20; // Check it
|
||||
|
||||
const int kMaxAlphaSize = 258;
|
||||
const unsigned kMaxAlphaSize = 258;
|
||||
|
||||
const int kGroupSize = 50;
|
||||
const unsigned kGroupSize = 50;
|
||||
|
||||
const unsigned kBlockSizeMultMin = 1;
|
||||
const unsigned kBlockSizeMultMax = 9;
|
||||
|
||||
const int kBlockSizeMultMin = 1;
|
||||
const int kBlockSizeMultMax = 9;
|
||||
const UInt32 kBlockSizeStep = 100000;
|
||||
const UInt32 kBlockSizeMax = kBlockSizeMultMax * kBlockSizeStep;
|
||||
|
||||
const int kNumSelectorsBits = 15;
|
||||
const unsigned kNumSelectorsBits = 15;
|
||||
const UInt32 kNumSelectorsMax = (2 + (kBlockSizeMax / kGroupSize));
|
||||
|
||||
const int kRleModeRepSize = 4;
|
||||
const unsigned kRleModeRepSize = 4;
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user