Added option '--crp-lzma-fb='. Started tuning lzma compression

levels '-1' and '-2'.
This commit is contained in:
Markus F.X.J. Oberhumer
2006-10-12 14:23:22 +02:00
parent e1379ac5ce
commit b31b8cd7f0
5 changed files with 26 additions and 5 deletions
+1
View File
@@ -195,6 +195,7 @@ bool Packer::compress(upx_bytep in, upx_bytep out,
cconf.conf_lzma.pos_bits = opt->crp.crp_lzma.pos_bits;
cconf.conf_lzma.lit_pos_bits = opt->crp.crp_lzma.lit_pos_bits;
cconf.conf_lzma.lit_context_bits = opt->crp.crp_lzma.lit_context_bits;
cconf.conf_lzma.num_fast_bytes = opt->crp.crp_lzma.num_fast_bytes;
}
if (uip->ui_pass >= 0)
uip->ui_pass++;