include/field/lucky_wheels_lzpack.h
The LZ packer's state: hash chains over a 1024-byte window, one chain per byte value, and the output it is building.
Included by lucky_wheels.c.
Structures
| Name | Description | |
|---|---|---|
struct | LZ_PACK_NODE | A position of the LZ packer's window in the chain of the byte value it holds. |
struct | LZ_PACK_STATE | The LZ packer's state: a node per window position, a chain head per byte value, the byte at each position, the best match and the output. |
Macros
| Name | Description | |
|---|---|---|
#define | LzPackStateWork WaitForFlashWriteWork |
Variables
| Name | Description | |
|---|---|---|
extern LZ_PACK_STATE * | WaitForFlashWriteWork | The packer has no metatile of its own for its state pointer: it borrows the one of the SDK's flash library, which IdentifyFlash sets again before the flash code reads it. |
Description
The LZ packer's state: hash chains over a 1024-byte window, one chain per byte value, and the output it is building.
Macros in detail
LzPackStateWork
#define LzPackStateWork WaitForFlashWriteWork
Referenced by fdLZPackCopyBufferedBytes(), fdLZPackFindWindowMatch(), fdLZPackInsertSlotNode(), fdLZPackPackData(), fdLZPackReadInput(), fdLZPackRemoveSlotNode() and fdLZPackResetChains().
Definition at line 50 of file lucky_wheels_lzpack.h.
Variables in detail
WaitForFlashWriteWork
extern LZ_PACK_STATE *WaitForFlashWriteWork
The packer has no metatile of its own for its state pointer: it borrows the one of the SDK's flash library, which IdentifyFlash sets again before the flash code reads it.
Definition at line 49 of file lucky_wheels_lzpack.h.