
Today, 14:32
|
 |
Registered User
|
|
Join Date: Jun 2017
Location: Poland
Posts: 51
Thanks: 254
Thanked 63 Times in 36 Posts
|
|
Changes- 0.18.0 (stream format v18; v17 streams decode)
- new audio models: PlayStation SPU ADPCM (VAG, PS2 SS2 / ADS with interleave, Ubisoft WAC, header-less frames), CD-XA ADPCM sectors (RIFF CDXA and CD images), Nintendo DSP-ADPCM (BCSTM / BFSTM either byte order, BWAV), CRI ADX; Xbox ADPCM WAV through the IMA model; PS2 SS2 PCM with block interleave. Game samples at -l8 against 0.17.2: VAG −12%, SS2 / ADS −10%, WAC −9%, XA −8…−10%, DSP −5…−8%, ADX −5%, SS2 PCM −22%.
- images and other 2D data on the fast levels: a weighted predictor after JPEG XL's – eight sub-predictors (JPEG XL's four with one of its parameter sets, the median, the gradient, two from the word coded before in the pixel) weighted by their recent errors; the words of a pixel coded on their own, as differences or as YCoCg-R; -l3 / -l4 also mix each residual bit from four contexts. 20 BMP photos (55.8 MB): -l1 −18.3%, -l4 −19.2% = 13.42 MB (JPEG XL lossless e7 / e9: 13.28 / 13.09 MB, decoding about 5× slower); per-type sets −1.4%, raw images −14…−18%. -l5 … -l8: the full raw data model takes contexts from the same predictor: BMP photos −3.8% (-l8 12.98 MB, below JPEG XL e9), per-type sets −0.2%, raw images −1.8…−2.8%. The eight sub-predictors run in AVX2 lanes (image decoding −14% of the time at -l1, −9% at -l4).
- fixed model sets for -l1 … -l4, no decoding budget by default (-ds still works): 1–2 fast models, 3 + the literal mixer where it saves ≥ 0.5%, 4 + the mixed texture models; only fast model variants on 1–4. Per-type sets: -l1 −2.8%, -l4 −4.9% against 0.17's default -ds 200; decompression slower where textures and ADPCM keep their models.
- the audio check reads the stream's block rows for block-interleaved PCM.
- header-less textures: sprite atlases with large empty areas and a constant alpha half in most BC3 blocks are no longer taken for BC7 and cut into thousands of pieces (a 16384 × 16384 DXT5 atlas slice: −17% at -l8, 10% below LOLZ).
- a region whose content appears again later is kept only when it also pays for those copies (LZ never copies from a region): Memoriapolis texture / mesh data −4.3%, structure data up to −6%, ADPCM −0.5…−1.5%.
- large textures (over 12 MB) are cut into row bands of about 8 MB that are coded and decoded side by side (on -l6 … -l8 only the ones that pass whole): a 32 MB DXT5 atlas slice decodes 3.3× faster for +0.13–0.18%; the texture classifier codes its candidates and their LZ yardsticks side by side (Memoriapolis texture data: compression −22% of the time); about 30 dead development switches and their code removed (streams unchanged).
- texture variants (-l1 … -l5): a BC2 / BC3 / BC5 texture coded against an earlier one of the same size may take either half of a block (alpha or colour) from the same place in it; references are also found by shared halves (another colour over the same alpha). UFC 3 (PS3) menu textures: -l4 −13%.
- ADPCM without a header: sound banks that keep a table of WAV header stubs and the data elsewhere (KaktoR's 208 MB bank: -l8 131 051 752 B, −8.6% against 0.17.2 and −5.1% against BCM). The stubs give the format, the data is found as runs of valid blocks. Thanks to KaktoR for the sample and the report.
- the printed RAM to decompress now counts the real models per thread (levels 5–8 needed up to 2× more than shown).
- a folder as input or output gives a clear error instead of "access denied".
Code:
PCM audio (WAV / AIFF; uncompressed samples): 67 108 864 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 39 127 417 58.30% - 50.4 s 1.33 1.62 s 42
TARZ (best) 40 183 818 59.88% +2.70% 191.2 s 0.35 2.70 s 25
rofz -l1 30 841 176 45.96% -21.18% 4.5 s 14.91 0.83 s 81
rofz -l2 30 841 153 45.96% -21.18% 4.7 s 14.34 0.81 s 82
rofz -l3 30 841 109 45.96% -21.18% 4.8 s 14.00 0.81 s 83
rofz -l4 30 841 056 45.96% -21.18% 4.8 s 14.00 0.81 s 83
rofz -l5 30 841 056 45.96% -21.18% 4.8 s 13.94 0.78 s 86
rofz -l6 30 839 955 45.96% -21.18% 7.0 s 9.55 0.82 s 82
rofz -l7 30 840 239 45.96% -21.18% 7.1 s 9.43 0.84 s 80
rofz -l8 30 840 254 45.96% -21.18% 7.1 s 9.45 0.80 s 84
ADPCM audio (IMA / MS ADPCM WAV, a sound bank): 40 372 544 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 26 204 819 64.91% - 35.3 s 1.14 1.02 s 40
TARZ (best) 26 118 840 64.69% -0.33% 174.8 s 0.23 1.25 s 32
rofz -l1 23 958 945 59.34% -8.57% 9.2 s 4.37 0.97 s 42
rofz -l2 23 948 182 59.32% -8.61% 9.7 s 4.15 0.88 s 46
rofz -l3 23 931 477 59.28% -8.68% 11.1 s 3.62 0.90 s 45
rofz -l4 23 917 509 59.24% -8.73% 11.9 s 3.40 0.91 s 45
rofz -l5 22 963 036 56.88% -12.37% 11.5 s 3.51 1.94 s 21
rofz -l6 22 911 886 56.75% -12.57% 13.6 s 2.96 1.95 s 21
rofz -l7 22 911 089 56.75% -12.57% 14.3 s 2.82 1.98 s 20
rofz -l8 22 910 458 56.75% -12.57% 15.8 s 2.55 1.96 s 21
console audio and textures (PS1 CD-XA, PS2 VAG / SS2 / ADS / WAC, Nintendo DSP-ADPCM, CRI ADX, Xbox ADPCM, PS3 textures): 104 242 992 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 60 565 348 58.10% - 80.6 s 1.29 2.30 s 45
TARZ (best) 59 907 663 57.47% -1.09% 194.5 s 0.54 3.38 s 31
rofz -l1 59 215 131 56.80% -2.23% 21.8 s 4.77 2.59 s 40
rofz -l2 59 008 629 56.61% -2.57% 25.1 s 4.15 2.57 s 41
rofz -l3 58 734 825 56.34% -3.02% 28.6 s 3.65 2.93 s 36
rofz -l4 58 495 658 56.11% -3.42% 31.7 s 3.29 3.22 s 32
rofz -l5 57 907 304 55.55% -4.39% 33.4 s 3.12 5.17 s 20
rofz -l6 55 364 109 53.11% -8.59% 40.5 s 2.57 5.43 s 19
rofz -l7 55 355 277 53.10% -8.60% 45.0 s 2.32 5.64 s 18
rofz -l8 55 352 746 53.10% -8.61% 53.6 s 1.95 5.70 s 18
textures (DDS / BC1-BC7 / VTF / IWI / XBM): 150 994 944 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 65 330 035 43.27% - 156.3 s 0.97 3.64 s 41
TARZ (best) 65 011 249 43.06% -0.49% 285.7 s 0.53 6.87 s 22
rofz -l1 65 231 996 43.20% -0.15% 35.3 s 4.28 4.93 s 31
rofz -l2 64 817 586 42.93% -0.78% 42.8 s 3.53 4.83 s 31
rofz -l3 64 330 841 42.60% -1.53% 58.5 s 2.58 5.26 s 29
rofz -l4 61 822 494 40.94% -5.37% 60.1 s 2.51 7.24 s 21
rofz -l5 61 531 207 40.75% -5.81% 58.2 s 2.59 8.29 s 18
rofz -l6 61 083 986 40.45% -6.50% 86.0 s 1.76 8.64 s 17
rofz -l7 61 022 788 40.41% -6.59% 104.2 s 1.45 8.88 s 17
rofz -l8 60 996 789 40.40% -6.63% 128.9 s 1.17 8.82 s 17
raw images (BMP / TGA / RAW / TIF): 83 886 080 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 21 323 178 25.42% - 78.9 s 1.06 1.60 s 52
TARZ (best) 20 755 681 24.74% -2.66% 437.9 s 0.19 2.56 s 33
rofz -l1 21 190 058 25.26% -0.62% 16.6 s 5.05 0.88 s 95
rofz -l2 21 159 023 25.22% -0.77% 18.6 s 4.52 0.86 s 97
rofz -l3 20 537 604 24.48% -3.68% 23.4 s 3.59 1.41 s 59
rofz -l4 20 500 695 24.44% -3.86% 26.2 s 3.20 1.44 s 58
rofz -l5 19 944 470 23.78% -6.47% 34.3 s 2.45 3.41 s 25
rofz -l6 19 744 251 23.54% -7.40% 45.8 s 1.83 3.58 s 23
rofz -l7 19 713 816 23.50% -7.55% 62.9 s 1.33 3.56 s 24
rofz -l8 19 682 941 23.46% -7.69% 85.3 s 0.98 3.50 s 24
text, structures, executables, meshes, maps: 266 556 789 B input
compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s
LOLZ ULTRA 95 836 113 35.95% - 267.1 s 1.00 3.27 s 82
TARZ (best) 95 749 915 35.92% -0.09% 1301.8 s 0.20 4.68 s 57
rofz -l1 103 234 022 38.73% +7.72% 43.4 s 6.14 2.28 s 117
rofz -l2 102 172 015 38.33% +6.61% 65.4 s 4.08 2.41 s 110
rofz -l3 99 774 966 37.43% +4.11% 113.3 s 2.35 5.06 s 53
rofz -l4 99 244 592 37.23% +3.56% 146.2 s 1.82 4.96 s 54
rofz -l5 99 190 908 37.21% +3.50% 146.6 s 1.82 5.43 s 49
rofz -l6 93 885 501 35.22% -2.04% 274.1 s 0.97 8.85 s 30
rofz -l7 93 312 314 35.01% -2.63% 399.0 s 0.67 9.08 s 29
rofz -l8 93 085 577 34.92% -2.87% 647.3 s 0.41 9.18 s 29
Last edited by sajmon83; Today at 14:36.
|