Alchemy
Loading...
Searching...
No Matches

LzPackWork Struct Reference

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...

#include <lib/lzpack.h>

Data Fields

struct LzPackNode nodes [0x400]
struct LzPackNode * bucket [0x100]
s32 flagMask
s32 bucketBySlot [0x400]
s32 outCnt
u8 outBuf [0x24]
s32 matchOffset
s32 matchLen
s32 pos
u32 inputCursor
s32 outTotal
u32 inputLimit

Detailed Description

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.

Definition at line 24 of file lzpack.h.

Field Documentation

◆ nodes

struct LzPackNode LzPackWork::nodes[0x400]

Definition at line 25 of file lzpack.h.

Referenced by LzPack_InsertSlotNode().

◆ bucket

struct LzPackNode* LzPackWork::bucket[0x100]

Definition at line 26 of file lzpack.h.

Referenced by LzPack_InsertSlotNode().

◆ flagMask

s32 LzPackWork::flagMask

Definition at line 27 of file lzpack.h.

◆ bucketBySlot

s32 LzPackWork::bucketBySlot[0x400]

Definition at line 28 of file lzpack.h.

Referenced by LzPack_ConsumeSlotBytes(), and LzPack_InsertSlotNode().

◆ outCnt

s32 LzPackWork::outCnt

Definition at line 29 of file lzpack.h.

Referenced by LzPack_CopyBufferedBytes().

◆ outBuf

u8 LzPackWork::outBuf[0x24]

Definition at line 30 of file lzpack.h.

Referenced by LzPack_CopyBufferedBytes().

◆ matchOffset

s32 LzPackWork::matchOffset

Definition at line 31 of file lzpack.h.

◆ matchLen

s32 LzPackWork::matchLen

Definition at line 32 of file lzpack.h.

◆ pos

s32 LzPackWork::pos

Definition at line 33 of file lzpack.h.

◆ inputCursor

u32 LzPackWork::inputCursor

Definition at line 34 of file lzpack.h.

Referenced by LzPack_ConsumeSlotBytes().

◆ outTotal

s32 LzPackWork::outTotal

Definition at line 35 of file lzpack.h.

Referenced by LzPack_CopyBufferedBytes().

◆ inputLimit

u32 LzPackWork::inputLimit

Definition at line 36 of file lzpack.h.

Referenced by LzPack_ConsumeSlotBytes().