Rev 6741 | Rev 6799 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6741 | Rev 6797 | ||
---|---|---|---|
Line 142... | Line 142... | ||
142 | max_lazy_match dd ? ;uInt |
142 | max_lazy_match dd ? ;uInt |
143 | ; Attempt to find a better match only when the current match is strictly |
143 | ; Attempt to find a better match only when the current match is strictly |
144 | ; smaller than this value. This mechanism is used only for compression |
144 | ; smaller than this value. This mechanism is used only for compression |
145 | ; levels >= 4. |
145 | ; levels >= 4. |
Line 146... | Line -... | ||
146 | - | ||
147 | ;# define max_insert_length max_lazy_match |
- | |
148 | ; Insert new strings in the hash table only if the match length is not |
- | |
149 | ; greater than this length. This saves time but degrades compression. |
- | |
150 | ; max_insert_length is used only for compression levels <= 3. |
- | |
151 | 146 | ||
152 | level dw ? ;int ;compression level (1..9) |
147 | level dw ? ;int ;compression level (1..9) |
Line 153... | Line 148... | ||
153 | strategy dw ? ;int ;favor or force Huffman coding |
148 | strategy dw ? ;int ;favor or force Huffman coding |
154 | 149 | ||
Line 230... | Line 225... | ||
230 | ; this are set to zero in order to avoid memory check warnings when |
225 | ; this are set to zero in order to avoid memory check warnings when |
231 | ; longest match routines access bytes past the input. This is then |
226 | ; longest match routines access bytes past the input. This is then |
232 | ; updated to the new high water mark. |
227 | ; updated to the new high water mark. |
233 | ends |
228 | ends |
Line -... | Line 229... | ||
- | 229 | ||
- | 230 | deflate_state.max_insert_length equ deflate_state.max_lazy_match |
|
- | 231 | ; Insert new strings in the hash table only if the match length is not |
|
- | 232 | ; greater than this length. This saves time but degrades compression. |
|
- | 233 | ; max_insert_length is used only for compression levels <= 3. |
|
234 | 234 | ||
235 | ; Output a byte on the stream. |
235 | ; Output a byte on the stream. |
Line 236... | Line 236... | ||
236 | ; IN assertion: there is enough room in pending_buf. |
236 | ; IN assertion: there is enough room in pending_buf. |
237 | 237 |