Alchemy
Loading...
Searching...
No Matches

lzpack.h File Reference

The LZ packer's work: hash chains over a 1024-byte window, one chain per byte value, and the output it is building. More...

Go to the source code of this file.

Data Structures

struct  LzPackNode
 A position of the LZ packer's window in the chain of the byte value it holds. More...
struct  LzPackWork
 The LZ packer's work: a node per window position, a chain head per byte value, the byte at each position, the best match and the output. More...

Functions

 STATIC_ASSERT (sizeof(struct LzPackNode)==12)
 STATIC_ASSERT (sizeof(struct LzPackWork)==0x4444)
 STATIC_ASSERT (offsetof(struct LzPackWork, bucket)==0x3000)
 STATIC_ASSERT (offsetof(struct LzPackWork, inputCursor)==0x4438)

Detailed Description

The LZ packer's work: hash chains over a 1024-byte window, one chain per byte value, and the output it is building.

It borrows gFlash_Handler3 as its work pointer.

Definition in file lzpack.h.

Function Documentation

◆ STATIC_ASSERT() [1/4]

STATIC_ASSERT ( sizeof(struct LzPackNode) = =12)

◆ STATIC_ASSERT() [2/4]

STATIC_ASSERT ( sizeof(struct LzPackWork) = =0x4444)

◆ STATIC_ASSERT() [3/4]

STATIC_ASSERT ( offsetof(struct LzPackWork, bucket) = =0x3000)

◆ STATIC_ASSERT() [4/4]

STATIC_ASSERT ( offsetof(struct LzPackWork, inputCursor) = =0x4438)