MCPcopy Create free account
hub / github.com/ChevyRay/crunch / encodeLZ77

Function encodeLZ77

crunch/lodepng.cpp:1474–1649  ·  view source on GitHub ↗

LZ77-encode the data. Return value is error code. The input are raw bytes, the output is in the form of unsigned integers with codes representing for example literal bytes, or length/distance pairs. It uses a hash table technique to let it encode faster. When doing LZ77 encoding, a sliding window (of windowsize) is used, and all past bytes in that window can be used as the "dictionary". A brute fo

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

deflateDynamicFunction · 0.85
deflateFixedFunction · 0.85

Calls 5

getHashFunction · 0.85
countZerosFunction · 0.85
updateHashChainFunction · 0.85
uivector_push_backFunction · 0.85
addLengthDistanceFunction · 0.85

Tested by

no test coverage detected