nn::cx::UncompContextLH Structure

Header file: nn/cx.h

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

Revision History

2010/11/10
Initial version.

CONFIDENTIAL