nn::cx::UncompContextLH Structure

Syntax

struct UncompContextLH
{
   u8 * destp;
   s32 destCount;
   s32 forceDestCount;
   u16 huffTable9[1<< (9+1)];
   u16 huffTable12[1<< (5+1)];
   u16 * nodep;
   s32 tableSize9;
   s32 tableSize12;
   u32 tableIdx;
   u32 stream;
   u32 stream_len;
   u16 length;
   s8 offset_bits;
   u8 headerSize;
};

Description

The context for decompressing LZ-Huffman compressed data.

Member Variables

destp Write-destination pointer (4 bytes)
destCount Remaining size to write (4 byes)
forceDestCount Forcibly setting the size of the decompression target (4 bytes)
huffTable9 Huffman encoding table (2048 bytes)
huffTable12 Huffman encoding table (128 bytes)
nodep Node being searched for in the Huffman table (4 bytes)
tableSize9 Size of table being read (4 bytes)
tableSize12 Size of table being read (4 bytes)
tableIdx Table load position index (4 bytes)
stream Bitstream to read (4 bytes)
stream_len Number of active bits in stream to read (4 bytes)
length LZ compression read length (2 bytes)
offset_bits Offset information bit length (1 bytes)
headerSize Size of header being read (1 byte)

CONFIDENTIAL