nn::cx::UncompContextHuffman Structure

Header file: nn/cx.h

Syntax

struct 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];
};

Description

The context for decompressing 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
treep u8 * Huffman encoding table, current pointer
srcTmp u32 Data being read
destTmp u32 Data being decoded
treeSize s16 Size of Huffman encoding table
srcTmpCnt u8 Size of data being read
destTmpCnt u8 Number of bits that have been decoded
bitSize u8 Encoded bit size
headerSize u8 Size of header being read
tree u8 Huffman encoding table

Revision History

2010/11/10
Initial version.

CONFIDENTIAL