diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2015-06-15 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:54 +0300 |
commit | 54490d51d5c6b0d794dcbad2d634d4c95fc25b6c (patch) | |
tree | c3c413656432c0ef87b2841c80e42b55ad17d4e8 /CPP/7zip/Compress/BZip2Const.h | |
parent | 0713a3ab803e57401f18432148b4139e5fe6e5dd (diff) |
15.0515.05
Diffstat (limited to 'CPP/7zip/Compress/BZip2Const.h')
-rw-r--r-- | CPP/7zip/Compress/BZip2Const.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/CPP/7zip/Compress/BZip2Const.h b/CPP/7zip/Compress/BZip2Const.h index 62427aa6..588f5ae0 100644 --- a/CPP/7zip/Compress/BZip2Const.h +++ b/CPP/7zip/Compress/BZip2Const.h @@ -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; }} |