• Home
  • Raw
  • Download

Lines Matching +full:to +full:- +full:fast +full:- +full:properties

1 /* LzmaLib.h -- LZMA library interface
2 2023-04-02 : Igor Pavlov : Public domain */
22 LZMA properties (5 bytes) format
30 ------------
32 outPropsSize -
33 In: the pointer to the size of outProps buffer; *outPropsSize = LZMA_PROPS_SIZE = 5.
34 …Out: the pointer to the size of written properties in outProps buffer; *outPropsSize = LZMA_PROPS_…
37 -1 for any from: level, loc, lp, pb, fb, numThreads
40 level - compression level: 0 <= level <= 9;
56 algo = 0 means fast method
59 dictSize - The dictionary size in bytes. The maximum value is
60 128 MB = (1 << 27) bytes for 32-bit version
61 1 GB = (1 << 30) bytes for 64-bit version
63 It's recommended to use the dictionary that is larger than 4 KB and
66 lc - The number of literal context bits (high bits of previous literal).
67 It can be in the range from 0 to 8. The default value is 3.
70 lp - The number of literal pos bits (low bits of current position for literals).
71 It can be in the range from 0 to 4. The default value is 0.
72 The lp switch is intended for periodical data when the period is equal to 2^lp.
73 For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's
74 better to set lc=0, if you change lp switch.
76 pb - The number of pos bits (low bits of current position).
77 It can be in the range from 0 to 4. The default value is 2.
80 fb - Word size (the number of fast bytes).
81 It can be in the range from 5 to 273. The default value is 32.
85 numThreads - The number of thereads. 1 or 2. The default value is 2.
86 Fast mode (algo = 0) can use only 1 thread.
89 dest - output data buffer
90 destLen - output data buffer size
91 src - input data
92 srcLen - input data size
94 destLen - processed output size
96 SZ_OK - OK
97 SZ_ERROR_MEM - Memory allocation error
98 SZ_ERROR_PARAM - Incorrect paramater
99 SZ_ERROR_OUTPUT_EOF - output buffer overflow
100 SZ_ERROR_THREAD - errors in multithreading functions (only for Mt version)
116 --------------
118 dest - output data buffer
119 destLen - output data buffer size
120 src - input data
121 srcLen - input data size
123 destLen - processed output size
124 srcLen - processed input size
126 SZ_OK - OK
127 SZ_ERROR_DATA - Data error
128 SZ_ERROR_MEM - Memory allocation arror
129 SZ_ERROR_UNSUPPORTED - Unsupported properties
130 SZ_ERROR_INPUT_EOF - it needs more bytes in input buffer (src)