View Single Post
  #40  
Old Yesterday, 09:04
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 169
Thanks: 511
Thanked 202 Times in 122 Posts
hitman797 is on a distinguished road
Thumbs up Internal compression algorithm

great work i will test this when i have free time.
Code:
===================================
   COMPRESSION ALGORITHM PARAMETERS
   Internal compression algorithm v0.0.4
===================================

ZSTD:
  :l  - Compression Level (1 to 22) [Default: 12]
  :w  - Window Size (24 to 31, log2) [Default: 27]
  :h  - Hash Log (0 to 30) [Default: 0]
  :c  - Chain Log (0 to 29) [Default: 0]
  :s  - Strategy (1 to 9)
  :f  - Long Distance Matching, 0=Off / 1=On [Default: 0]
  :t  - Threads, Default: 1

Oodle:
  :l  - Compression Level (1 to 9) [Default: 6]
  :a  - Compression Algorithm, 8 is Kraken, 9 is Leviathan (8 to 13) [Default: 8]
  :d  - Dictionary Size in MB (1 to 512) [Default: 32mb]
  :v  - Internal Revision
         v0 = Low RAM, each block compressed individually
         v1 = Uses previous block as dictionary (multi-threaded, high RAM)
         [Default: v1]
  :t  - Threads to use [Default: 50% of system cores]

Zlib:
  :l  - Compression Level (1 to 9) [Default: 6]

LZ4:
  :l  - Compression Level (1 to 12) [Default: 6]

ROLZ:

TARZ:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 2000) [Default: 128mb]
  :t   - Threads to use [Default: 50% of system cores]
  :b   - Block Size in MB (2 to 512) [Default: 64mb]

LZMA:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads (1 or 2) [Default: 1]
  :lc  - Literal Context Bits (0 to 8) [Default: 3]
  :lp  - Literal Position Bits (0 to 4) [Default: 0]
  :fb  - Fast Bytes (5 to 273) [Default: 64]
  :pb  - Position Bits (0 to 4) [Default: 2]

LZMA2:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads (Max) [Default: 50p]
  :lc  - Literal Context Bits (0 to 8) [Default: 3]
  :lp  - Literal Position Bits (0 to 4) [Default: 0]
  :fb  - Fast Bytes (5 to 273) [Default: 64]
  :pb  - Position Bits (0 to 4) [Default: 2]

Precomp (Internal Xtool by Razor12911):
  :c   - Codec(s) for precompression, multiple allowed:
         Preflate, Reflate, Zlib, LZ4, ZSTD, Kraken, LZO, PNG, brunsli, Flac, Packjpg,mpz,Packmp3, Wavpack, Bink
         Example: :czlib:creflate:czstd
  :b   - Block Size in MB [Min: 4, Default: 4mb]
  :w   - Window Size in MB [Min: 256, Default: 1024mb]
  :t   - Thread count, e.g. :t50p = 50% of system cores [Default: :t50p]
  :d   - Depth (1 or 2) [Default: 1]
         PNG requires :d2 and Preflate to function properly
  :dd  - Enables block deduplication on the current job
  :db  - Enables internal deduplication database

LZAV:
  No parameters. Always uses high encoding mode (fast and efficient).

VELZ:
  :l   - Compression Level (1 to 3) [Default: 1]

4x4 (Multiblock Framework):
  :b   - Block Size in MB (required)
  :t   - Threads / concurrent jobs (required)
  :m   - Codec and its parameters
         Example: 4x4:b128:t6:mzstd:l22:w27:s9
         Runs 6 concurrent jobs using 128MB blocks with ZSTD params l22, w27, s9

XZ:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads [Default: system dependent]

CRC Stream:
  :b   - Block Size in MB for checksum verification (32 to 512) [Default: 128mb]
  Note: Used as a testing or verification layer. Calculates CRC for each block.

Recovery Stream:
  :b   - Blocks per chain (5 to 100) [Default: 30]
  :x   - Parity blocks per chain (1 to 10) [Default: 2]
  :bs  - Block Size in KB (64 to 4096) [Default: 128kb]
  Description:
    The recovery stream provides data recoverability and corruption protection.
    For every :b data blocks, :x parity blocks are generated.
    Up to :x blocks can fail per chain without data loss.
Code:
===================================
   COMPRESSION ALGORITHM PARAMETERS
   Internal compression algorithm v7.6
===================================

ZSTD:
  :l  - Compression Level (1 to 22) [Default: 12]
  :w  - Window Size (24 to 31, log2) [Default: 27]
  :h  - Hash Log (0 to 30) [Default: 0]
  :c  - Chain Log (0 to 29) [Default: 0]
  :s  - Strategy (1 to 9)
  :f  - Long Distance Matching, 0=Off / 1=On [Default: 0]
  :t  - Threads, Default: 1

Oodle:
  :l  - Compression Level (1 to 9) [Default: 6]
  :a  - Compression Algorithm, 8 is Kraken, 9 is Leviathan (8 to 13) [Default: 8]
  :d  - Dictionary Size in MB (1 to 512) [Default: 32mb]
  :v  - Internal Revision
         v0 = Low RAM, each block compressed individually
         v1 = Uses previous block as dictionary (multi-threaded, high RAM)
         [Default: v1]
  :t  - Threads to use [Default: 50% of system cores]

Zlib:
  :l  - Compression Level (1 to 9) [Default: 6]

LZ4:
  :l  - Compression Level (1 to 12) [Default: 6]

Lizard:
  :l  - Compression Level (11 to 49) [Default: 29]

Fast LZMA2:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads to use [Default: 50% of system cores]
  :hc  - High Compression Mode, :hc1 = On / :hc0 = Off [Default: :hc1]

LZMA:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads (1 or 2) [Default: 1]
  :lc  - Literal Context Bits (0 to 8) [Default: 3]
  :lp  - Literal Position Bits (0 to 4) [Default: 0]
  :fb  - Fast Bytes (5 to 273) [Default: 64]
  :pb  - Position Bits (0 to 4) [Default: 2]

LZMA2:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads (Max) [Default: 50p]
  :lc  - Literal Context Bits (0 to 8) [Default: 3]
  :lp  - Literal Position Bits (0 to 4) [Default: 0]
  :fb  - Fast Bytes (5 to 273) [Default: 64]
  :pb  - Position Bits (0 to 4) [Default: 2]

Precomp (Internal Xtool by Razor12911):
  :c   - Codec(s) for precompression, multiple allowed:
         Preflate, Reflate, Zlib, LZ4, ZSTD, Kraken, LZO, PNG, brunsli, Flac, packjpg
         Example: :czlib:creflate:czstd
  :b   - Block Size in MB [Min: 4, Default: 4mb]
  :t   - Thread count, e.g. :t50p = 50% of system cores [Default: :t50p]
  :d   - Depth (1 or 2) [Default: 1]
         PNG requires :d2 and Preflate to function properly
  :dd  - Enables block deduplication on the current job
  :db  - Enables internal deduplication database

LZAV:
  No parameters. Always uses high encoding mode (fast and efficient).

4x4 (Multiblock Framework):
  :b   - Block Size in MB (required)
  :t   - Threads / concurrent jobs (required)
  :m   - Codec and its parameters
         Example: 4x4:b128:t6:mzstd:l22:w27:s9
         Runs 6 concurrent jobs using 128MB blocks with ZSTD params l22, w27, s9

XZ:
  :l   - Compression Level (1 to 9) [Default: 6]
  :d   - Dictionary Size in MB (16 to 512) [Default: 32mb]
  :t   - Threads [Default: system dependent]

CRC Stream:
  :b   - Block Size in MB for checksum verification (32 to 512) [Default: 128mb]
  Note: Used as a testing or verification layer. Calculates CRC for each block.

BWT Stream:
  :b   - Block Size in MB, [Default: 4mb]
  Note: Libsais BWT, USE only with very weak Algorithms.

Bzip3 Stream:
  :b   - Block Size in MB, [Default: 128mb]
  :t   - Threads [Default: system dependent]

Recovery Stream:
  :b   - Blocks per chain (5 to 100) [Default: 30]
  :x   - Parity blocks per chain (1 to 10) [Default: 2]
  :bs  - Block Size in KB (64 to 4096) [Default: 128kb]
  Description:
    The recovery stream provides data recoverability and corruption protection.
    For every :b data blocks, :x parity blocks are generated.
    Up to :x blocks can fail per chain without data loss.

Last edited by hitman797; Yesterday at 09:24.
Reply With Quote