nn::cx::UncompContextHuffman Structurestruct UncompContextHuffman
{
u8 * destp;
s32 destCount;
s32 forceDestCount;
u8 * treep;
u32 srcTmp;
u32 destTmp;
s16 treeSize;
u8 srcTmpCnt;
u8 destTmpCnt;
u8 bitSize;
u8 headerSize;
u8 tree[0x200];
};
The context for decompressing Huffman compressed data.
| destp | Write-destination pointer | |
|---|---|---|
| destCount | Remaining write size | |
| forceDestCount | Forcibly sets the size of the decompression target | |
| treep | Huffman encoding table, current pointer | |
| srcTmp | Data being read | |
| destTmp | Data being decoded | |
| treeSize | Size of Huffman encoding table | |
| srcTmpCnt | Size of data being read | |
| destTmpCnt | Number of bits that have been decoded | |
| bitSize | Encoded bit size | |
| headerSize | Size of header being read | |
| tree | Huffman encoding table |
CONFIDENTIAL