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
destCount Remaining write size
forceDestCount Forcibly sets the size of the decompression target
huffTable9 Huffman encoding table
huffTable12 Huffman encoding table
nodep Node being searched for in the Huffman table
tableSize9 Size of table being read
tableSize12 Size of table being read
tableIdx Table load position index
stream Bitstream for loading
stream_len Number of active bits in stream for loading
length LZ compression load length
offset_bits Offset information bit length
headerSize Size of header being read

Revision History

2010/11/10
Initial version.

CONFIDENTIAL